|
|
@@ -1114,8 +1114,25 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|
1114
|
1114
|
}
|
|
1115
|
1115
|
caseApplication.setAnnexType(8);
|
|
1116
|
1116
|
// 查询缴费凭证
|
|
1117
|
|
- List<CaseAttach> payOrderList = caseAttachMapper.queryCaseAttachList(caseApplication);
|
|
1118
|
|
- caseApplicationselect.setPayOrderList(payOrderList);
|
|
|
1117
|
+ List<CaseAttach> caseAttachList = caseAttachMapper.queryCaseAttachList(caseApplication);
|
|
|
1118
|
+ if (caseAttachList != null && caseAttachList.size() > 0) {
|
|
|
1119
|
+ for (CaseAttach caseAttach : caseAttachList) {
|
|
|
1120
|
+ String annexName = caseAttach.getAnnexName();
|
|
|
1121
|
+ String prefix = "/profile";
|
|
|
1122
|
+ int startIndex = annexName.indexOf(prefix);
|
|
|
1123
|
+ startIndex += prefix.length();
|
|
|
1124
|
+ String annexPath = "/uploadPath" + annexName.substring(startIndex);
|
|
|
1125
|
+ caseAttach.setAnnexPath(annexPath);
|
|
|
1126
|
+ int startIndexnew = annexName.lastIndexOf("/");
|
|
|
1127
|
+ if(startIndexnew!=-1){
|
|
|
1128
|
+ String annexNamenew = annexName.substring(startIndexnew+1);
|
|
|
1129
|
+ caseAttach.setAnnexName(annexNamenew);
|
|
|
1130
|
+ }
|
|
|
1131
|
+
|
|
|
1132
|
+
|
|
|
1133
|
+ }
|
|
|
1134
|
+ }
|
|
|
1135
|
+ caseApplicationselect.setPayOrderList(caseAttachList);
|
|
1119
|
1136
|
|
|
1120
|
1137
|
return caseApplicationselect;
|
|
1121
|
1138
|
}
|