|
|
@@ -493,11 +493,9 @@ public class TodoCenterManage { |
|
|
|
signReq.setSignType(signType); |
|
|
|
// 调用盖章接口,获取盖章后返回的pdf文件字符数组 |
|
|
|
byte[] signPdf = new byte[0]; |
|
|
|
try { |
|
|
|
signPdf = IRSAPIRequest.createSignPdf(signReq); |
|
|
|
} catch (Exception e) { |
|
|
|
throw new BizException("调用IRS盖章接口失败,印章编号为:" + sealSn); |
|
|
|
} |
|
|
|
|
|
|
|
signPdf = IRSAPIRequest.createSignPdf(signReq); |
|
|
|
|
|
|
|
// 转换成MultipartFile |
|
|
|
MultipartFile multipartFile = new MockMultipartFile("file", originalFileName, "application/pdf", signPdf); |
|
|
|
// 上传OSS |
|
|
@@ -1156,7 +1154,16 @@ public class TodoCenterManage { |
|
|
|
paramsMap.put("cloudType", null); |
|
|
|
}else { |
|
|
|
String cloudType = project.getCloudType(); |
|
|
|
String cloudTypeName = CloudTypeEnum.getDescByCode(Integer.valueOf(cloudType)); |
|
|
|
String cloudTypeName; |
|
|
|
// 云类型为多选 |
|
|
|
if (cloudType.contains(StrPool.COMMA)){ |
|
|
|
cloudTypeName = Arrays.stream(cloudType.split(StrPool.COMMA)) |
|
|
|
.map(s -> CloudTypeEnum.getDescByCode(Integer.valueOf(s))) |
|
|
|
.collect(Collectors.joining(StrPool.COMMA)); |
|
|
|
|
|
|
|
}else { |
|
|
|
cloudTypeName = CloudTypeEnum.getDescByCode(Integer.valueOf(cloudType)); |
|
|
|
} |
|
|
|
paramsMap.put("cloudType",cloudTypeName); |
|
|
|
} |
|
|
|
// 获取本年计划投资金额 |
|
|
|