|
@@ -849,11 +849,68 @@ public class GovProjectCollectionManage { |
|
|
approveService.updateById(saveApprove); |
|
|
approveService.updateById(saveApprove); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private void uploadFileToProvincialOssCimplement(GovBizProjectCimplementDTO cimplement, GovBizProjectCimplement oldCimplement, GovBizProjectCimplement saveCimplement) { |
|
|
|
|
|
|
|
|
private void uploadFileToProvincialOssCimplement(GovBizProjectCimplementDTO cimplement, |
|
|
|
|
|
GovBizProjectCimplement oldCimplement, GovBizProjectCimplement saveCimplement) { |
|
|
if(checkFieldHas(cimplement.getBaseChanFile(),oldCimplement,"baseChanFile")){ |
|
|
if(checkFieldHas(cimplement.getBaseChanFile(),oldCimplement,"baseChanFile")){ |
|
|
StringJoiner sj = convertAndUpload(cimplement.getBaseChanFile()); |
|
|
StringJoiner sj = convertAndUpload(cimplement.getBaseChanFile()); |
|
|
saveCimplement.setBaseChanFilePdf(sj.toString()); |
|
|
saveCimplement.setBaseChanFilePdf(sj.toString()); |
|
|
} |
|
|
} |
|
|
|
|
|
if(checkFieldHas(cimplement.getBaseCheckFile(),oldCimplement,"baseCheckFile")){ |
|
|
|
|
|
StringJoiner sj = convertAndUpload(cimplement.getBaseCheckFile()); |
|
|
|
|
|
saveCimplement.setBaseCheckFilePdf(sj.toString()); |
|
|
|
|
|
} |
|
|
|
|
|
if(checkFieldHas(cimplement.getBaseInforLevelFile(),oldCimplement,"baseInforLevelFile")){ |
|
|
|
|
|
StringJoiner sj = convertAndUpload(cimplement.getBaseInforLevelFile()); |
|
|
|
|
|
saveCimplement.setBaseInforLevelFilePdf(sj.toString()); |
|
|
|
|
|
} |
|
|
|
|
|
if(checkFieldHas(cimplement.getBaseChangeFormFile(),oldCimplement,"baseChangeFormFile")){ |
|
|
|
|
|
StringJoiner sj = convertAndUpload(cimplement.getBaseChangeFormFile()); |
|
|
|
|
|
saveCimplement.setBaseChangeFormFilePdf(sj.toString()); |
|
|
|
|
|
} |
|
|
|
|
|
if(checkFieldHas(cimplement.getBaseEstaSummFile(),oldCimplement,"baseEstaSummFile")){ |
|
|
|
|
|
StringJoiner sj = convertAndUpload(cimplement.getBaseEstaSummFile()); |
|
|
|
|
|
saveCimplement.setBaseEstaSummFilePdf(sj.toString()); |
|
|
|
|
|
} |
|
|
|
|
|
if(checkFieldHas(cimplement.getBaseEngineerPostpoFile(),oldCimplement,"baseEngineerPostpoFile")){ |
|
|
|
|
|
StringJoiner sj = convertAndUpload(cimplement.getBaseEngineerPostpoFile()); |
|
|
|
|
|
saveCimplement.setBaseEngineerPostpoFilePdf(sj.toString()); |
|
|
|
|
|
} |
|
|
|
|
|
if(checkFieldHas(cimplement.getBaseFinalExpertOpinionFile(),oldCimplement,"baseFinalExpertOpinionFile")){ |
|
|
|
|
|
StringJoiner sj = convertAndUpload(cimplement.getBaseFinalExpertOpinionFile()); |
|
|
|
|
|
saveCimplement.setBaseFinalExpertOpinionFilePdf(sj.toString()); |
|
|
|
|
|
} |
|
|
|
|
|
if(checkFieldHas(cimplement.getBaseThirdAcceptFile(),oldCimplement,"baseThirdAcceptFile")){ |
|
|
|
|
|
StringJoiner sj = convertAndUpload(cimplement.getBaseThirdAcceptFile()); |
|
|
|
|
|
saveCimplement.setBaseThirdAcceptFilePdf(sj.toString()); |
|
|
|
|
|
} |
|
|
|
|
|
if(checkFieldHas(cimplement.getBaseUserConsFile(),oldCimplement,"baseUserConsFile")){ |
|
|
|
|
|
StringJoiner sj = convertAndUpload(cimplement.getBaseUserConsFile()); |
|
|
|
|
|
saveCimplement.setBaseUserConsFilePdf(sj.toString()); |
|
|
|
|
|
} |
|
|
|
|
|
if(checkFieldHas(cimplement.getBaseFinanlAuditFile(),oldCimplement,"baseFinanlAuditFile")){ |
|
|
|
|
|
StringJoiner sj = convertAndUpload(cimplement.getBaseFinanlAuditFile()); |
|
|
|
|
|
saveCimplement.setBaseFinanlAuditFilePdf(sj.toString()); |
|
|
|
|
|
} |
|
|
|
|
|
if(checkFieldHas(cimplement.getBaseEngineerPostpoFile(),oldCimplement,"baseEngineerPostpoFile")){ |
|
|
|
|
|
StringJoiner sj = convertAndUpload(cimplement.getBaseEngineerPostpoFile()); |
|
|
|
|
|
saveCimplement.setBaseEngineerPostpoFilePdf(sj.toString()); |
|
|
|
|
|
} |
|
|
|
|
|
if(checkFieldHas(cimplement.getBaseInitialOpinionFile(),oldCimplement,"baseInitialOpinionFile")){ |
|
|
|
|
|
StringJoiner sj = convertAndUpload(cimplement.getBaseInitialOpinionFile()); |
|
|
|
|
|
saveCimplement.setBaseInitialOpinionFilePdf(sj.toString()); |
|
|
|
|
|
} |
|
|
|
|
|
if(checkFieldHas(cimplement.getBasePasswAssessFile(),oldCimplement,"basePasswAssessFile")){ |
|
|
|
|
|
StringJoiner sj = convertAndUpload(cimplement.getBasePasswAssessFile()); |
|
|
|
|
|
saveCimplement.setBasePasswAssessFilePdf(sj.toString()); |
|
|
|
|
|
} |
|
|
|
|
|
if(checkFieldHas(cimplement.getBaseSummReportFile(),oldCimplement,"baseSummReportFile")){ |
|
|
|
|
|
StringJoiner sj = convertAndUpload(cimplement.getBaseSummReportFile()); |
|
|
|
|
|
saveCimplement.setBaseSummReportFilePdf(sj.toString()); |
|
|
|
|
|
} |
|
|
|
|
|
if(checkFieldHas(cimplement.getBaseIrsTestRunFile(),oldCimplement,"baseIrsTestRunFile")){ |
|
|
|
|
|
StringJoiner sj = convertAndUpload(cimplement.getBaseIrsTestRunFile()); |
|
|
|
|
|
saveCimplement.setBaseIrsTestRunFilePdf(sj.toString()); |
|
|
|
|
|
} |
|
|
cimplementService.updateById(saveCimplement); |
|
|
cimplementService.updateById(saveCimplement); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|