|
|
|
@ -331,7 +331,12 @@ public class SupCertController {
|
|
|
|
|
supData.put("status", obj.getStatus() == 0 ? "有效" : "失效");
|
|
|
|
|
supData.put("auditStatus", getAuditStatus(obj.getAuditStatus()));
|
|
|
|
|
supData.put("remark", obj.getRemark() == null ? ' ' : obj.getRemark());
|
|
|
|
|
supData.put("filePath", "d:/udi/udiwms/udiwmsfile/register/file/image2/" + obj.getFilePath());
|
|
|
|
|
List<String> urlList=Arrays.asList(obj.getFilePath().split(","));
|
|
|
|
|
List<String> imglist = new ArrayList<>();
|
|
|
|
|
for (String url:urlList){
|
|
|
|
|
imglist.add("d:/udi/udiwms/udiwmsfile/register/file/image2/" + url);
|
|
|
|
|
}
|
|
|
|
|
supData.put("filePath", imglist);
|
|
|
|
|
list.add(supData);
|
|
|
|
|
i++;
|
|
|
|
|
}
|
|
|
|
@ -443,7 +448,12 @@ public class SupCertController {
|
|
|
|
|
supData.put("status", obj.getStatus() == 0 ? "有效" : "失效");
|
|
|
|
|
supData.put("auditStatus", getAuditStatus(obj.getAuditStatus()));
|
|
|
|
|
supData.put("remark2", obj.getRemark() == null ? ' ' : obj.getRemark());
|
|
|
|
|
supData.put("filePath", "d:/udi/udiwms/udiwmsfile/register/file/image2/" + obj.getFilePath());
|
|
|
|
|
List<String> urlList=Arrays.asList(obj.getFilePath().split(","));
|
|
|
|
|
List<String> imglist = new ArrayList<>();
|
|
|
|
|
for (String url:urlList){
|
|
|
|
|
imglist.add("d:/udi/udiwms/udiwmsfile/register/file/image2/" + url);
|
|
|
|
|
}
|
|
|
|
|
supData.put("filePath", imglist);
|
|
|
|
|
list.add(supData);
|
|
|
|
|
i++;
|
|
|
|
|
}
|
|
|
|
@ -505,7 +515,12 @@ public class SupCertController {
|
|
|
|
|
supData.put("status", obj.getStatus() == 0 ? "有效" : "失效");
|
|
|
|
|
supData.put("auditStatus", getAuditStatus(obj.getAuditStatus()));
|
|
|
|
|
supData.put("remark2", obj.getRemark() == null ? ' ' : obj.getRemark());
|
|
|
|
|
supData.put("filePath", "d:/udi/udiwms/udiwmsfile/register/file/image2/" + obj.getFilePath());
|
|
|
|
|
List<String> urlList=Arrays.asList(obj.getFilePath().split(","));
|
|
|
|
|
List<String> imglist = new ArrayList<>();
|
|
|
|
|
for (String url:urlList){
|
|
|
|
|
imglist.add("d:/udi/udiwms/udiwmsfile/register/file/image2/" + url);
|
|
|
|
|
}
|
|
|
|
|
supData.put("filePath", imglist);
|
|
|
|
|
list.add(supData);
|
|
|
|
|
i++;
|
|
|
|
|
}
|
|
|
|
@ -518,10 +533,14 @@ public class SupCertController {
|
|
|
|
|
//首营预览文件
|
|
|
|
|
@PostMapping("/udiwms/image/register/file")
|
|
|
|
|
public BaseResponse uploadRegisterFile(@RequestBody FilterImageRequest filterImageRequest) {
|
|
|
|
|
|
|
|
|
|
List<String> urlList=Arrays.asList(filterImageRequest.getImageUrl().split(","));
|
|
|
|
|
List<String> list = new ArrayList<>();
|
|
|
|
|
String url = filterImageRequest.getCertFileUrl() + filterImageRequest.getImageUrl();
|
|
|
|
|
list.add(url);
|
|
|
|
|
return ResultVOUtils.success(url);
|
|
|
|
|
for (String obj:urlList){
|
|
|
|
|
String url = filterImageRequest.getCertFileUrl() + obj;
|
|
|
|
|
list.add(url);
|
|
|
|
|
}
|
|
|
|
|
return ResultVOUtils.success(list);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|