Commit 7bf12e23 by Water Wang

optimize

parent 1cb5c051
......@@ -156,7 +156,7 @@ public class PractitionerBasicInfoServiceImpl implements PractitionerBasicInfoSe
if(!Strings.isNullOrEmpty(filePath)){
String[] str = filePath.split("salaryCalculation/");
if(str.length == 2){
filePath = "/home/egolden/shareSalaryCalculation"+str[1];
filePath = "/home/egolden/shareSalaryCalculation/"+str[1];
getPayScalePdf(filePath,response);
return "下载成功!";
}
......
......@@ -144,6 +144,7 @@ public class AclPractitionerDALServiceImpl implements AclPractitionerDALService
}
@Override
@TargetDataSource(dataSourceKey = DataSourceKey.DB_EGOLDEN)
public String findFilePathByMonShId(Integer monShId) {
return aclPractitionerMapper.findFilePathByMonShId(monShId);
}
......
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