Commit 0e59d6cf by Water Wang

optimize

parent 86a4ed13
......@@ -220,7 +220,8 @@ public class PractitionerBasicInfoServiceImpl implements PractitionerBasicInfoSe
String url = null;
String[] filePathStr = filePath.split("salaryCalculation/");
if(filePathStr.length == 2) {
filePath = "/home/egolden/shareSalaryCalculation/" + filePathStr[1];
String catalogPath = systemConfigService.getSingleConfigValue("payScalePath");
filePath = catalogPath + filePathStr[1];//"/home/egolden/shareSalaryCalculation/"
// filePath = "/users/water/Salary_201908_YDSH00032.pdf";
File file = new File(filePath);
if (file.exists()) {// 如果文件名存在,则进行下载
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment