瀏覽代碼

PDF转换 后 测试推送

tags/24080901
PoffyZhang 1 年之前
父節點
當前提交
c891eff615
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. +6
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/gov/convert/ProjectConvert.java

+ 6
- 0
pmapi/src/main/java/com/ningdatech/pmapi/gov/convert/ProjectConvert.java 查看文件

@@ -125,6 +125,9 @@ public class ProjectConvert {

private static ProjectMimplementReq convertMimplementVoWithConvertPdf(GovBizProjectMimplementVO mimplement) {
ProjectMimplementReq req = BeanUtil.copyProperties(mimplement,ProjectMimplementReq.class);
if(Objects.isNull(req)){
return req;
}
req.setBaseUserConsFile(StringUtils.isNotBlank(mimplement.getBaseUserConsFilePdf()) ? mimplement.getBaseUserConsFilePdf() :
mimplement.getBaseUserConsFile());
req.setBaseChanFile(StringUtils.isNotBlank(mimplement.getBaseChanFilePdf()) ? mimplement.getBaseChanFilePdf() :
@@ -160,6 +163,9 @@ public class ProjectConvert {

public static ProjectCimplementReq convertCimplementVoWithConvertPdf(GovBizProjectCimplementVO cimplement) {
ProjectCimplementReq req = BeanUtil.copyProperties(cimplement,ProjectCimplementReq.class);
if(Objects.isNull(req)){
return req;
}
req.setBaseChangeFormFile(StringUtils.isNotBlank(cimplement.getBaseChangeFormFilePdf()) ? cimplement.getBaseChangeFormFilePdf() :
cimplement.getBaseChangeFormFile());
req.setBaseUserConsFile(StringUtils.isNotBlank(cimplement.getBaseUserConsFilePdf()) ? cimplement.getBaseUserConsFilePdf() :


Loading…
取消
儲存