|
|
@ -92,8 +92,8 @@ public class LoanFinOtherPolicyRecordApplyService extends MybatisBaseService<Loa |
|
|
|
if (!dto.getAnnexPaths().isEmpty()) { |
|
|
|
String urlPrefix = fileUploadComponent.getUrlPrefix(); |
|
|
|
for (String filePath : dto.getAnnexPaths()) { |
|
|
|
String path = filePath.substring(urlPrefix.length()); |
|
|
|
sb.append(path).append(","); |
|
|
|
String replace = filePath.replace(urlPrefix, ""); |
|
|
|
sb.append(replace).append(","); |
|
|
|
} |
|
|
|
sb.delete(sb.length() - 1, sb.length()); |
|
|
|
entity.setAnnexPath(sb.toString()); |
|
|
@ -131,8 +131,8 @@ public class LoanFinOtherPolicyRecordApplyService extends MybatisBaseService<Loa |
|
|
|
if (!dto.getAnnexPaths().isEmpty()) { |
|
|
|
String urlPrefix = fileUploadComponent.getUrlPrefix(); |
|
|
|
for (String filePath : dto.getAnnexPaths()) { |
|
|
|
String path = filePath.substring(urlPrefix.length()); |
|
|
|
sb.append(path).append(","); |
|
|
|
String replace = filePath.replace(urlPrefix, ""); |
|
|
|
sb.append(replace).append(","); |
|
|
|
} |
|
|
|
sb.delete(sb.length() - 1, sb.length()); |
|
|
|
entity.setAnnexPath(sb.toString()); |
|
|
|