diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgApplyAmountInfoServiceImpl.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgApplyAmountInfoServiceImpl.java index aa89198f..2470a901 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgApplyAmountInfoServiceImpl.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgApplyAmountInfoServiceImpl.java @@ -204,20 +204,7 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpllist = new ArrayList<>(); + System.out.println(dgEnclosureInfo.getAccountingFirm()); list.add(dgEnclosureInfo.getAccountingFirm()); list.add(dgEnclosureInfo.getAssessmentReport()); list.add(dgEnclosureInfo.getBusinessLicense()); @@ -332,20 +353,36 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl) arr1List2.get(0)); - dgEnclosureInfo.setAssessmentReportList((List) arr1List2.get(1)); - dgEnclosureInfo.setBusinessLicenseList((List) arr1List2.get(2)); - dgEnclosureInfo.setCertificateAuthorizationList((List) arr1List2.get(3)); - dgEnclosureInfo.setCompanyConstitutionList((List) arr1List2.get(4)); - dgEnclosureInfo.setCompanyCreditList((List) arr1List2.get(5)); - dgEnclosureInfo.setConversationSummaryList((List) arr1List2.get(6)); - dgEnclosureInfo.setCreditReportList((List) arr1List2.get(7)); - dgEnclosureInfo.setInspectionPhotosList((List) arr1List2.get(8)); - dgEnclosureInfo.setLegalCardCopyList((List) arr1List2.get(9)); - dgEnclosureInfo.setLegalCopyList((List) arr1List2.get(10)); - dgEnclosureInfo.setTaxCertificateList((List) arr1List2.get(11)); - dgEnclosureInfo.setMeetingMinutesList((List) arr1List2.get(12)); - dgEnclosureInfo.setMarriageCopyList((List) arr1List2.get(13)); + if(arr1List2.size()>0){ + if(!arr1List2.get(0).toString().equals("[]")) + dgEnclosureInfo.setAccountingFirmList((List) arr1List2.get(0)); + if(!arr1List2.get(1).toString().equals("[]")) + dgEnclosureInfo.setAssessmentReportList((List) arr1List2.get(1)); + if(!arr1List2.get(2).toString().equals("[]")) + dgEnclosureInfo.setBusinessLicenseList((List) arr1List2.get(2)); + if(!arr1List2.get(3).toString().equals("[]")) + dgEnclosureInfo.setCertificateAuthorizationList((List) arr1List2.get(3)); + if(!arr1List2.get(4).toString().equals("[]")) + dgEnclosureInfo.setCompanyConstitutionList((List) arr1List2.get(4)); + if(!arr1List2.get(5).toString().equals("[]")) + dgEnclosureInfo.setCompanyCreditList((List) arr1List2.get(5)); + if(!arr1List2.get(6).toString().equals("[]")) + dgEnclosureInfo.setConversationSummaryList((List) arr1List2.get(6)); + if(!arr1List2.get(7).toString().equals("[]")) + dgEnclosureInfo.setCreditReportList((List) arr1List2.get(7)); + if(!arr1List2.get(8).toString().equals("[]")) + dgEnclosureInfo.setInspectionPhotosList((List) arr1List2.get(8)); + if(!arr1List2.get(9).toString().equals("[]")) + dgEnclosureInfo.setLegalCardCopyList((List) arr1List2.get(9)); + if(!arr1List2.get(10).toString().equals("[]")) + dgEnclosureInfo.setLegalCopyList((List) arr1List2.get(10)); + if(!arr1List2.get(11).toString().equals("[]")) + dgEnclosureInfo.setTaxCertificateList((List) arr1List2.get(11)); + if(!arr1List2.get(12).toString().equals("[]")) + dgEnclosureInfo.setMeetingMinutesList((List) arr1List2.get(12)); + if(!arr1List2.get(13).toString().equals("[]")) + dgEnclosureInfo.setMarriageCopyList((List) arr1List2.get(13)); + } BusinessApplicationDetailResponse businessApplicationDetail= new BusinessApplicationDetailResponse(); businessApplicationDetail.setDgApplyAmountInfo(dgApplyAmountInfo); @@ -433,20 +470,7 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl().eq("business_id", businessApplication.getBusinessId())); diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgGuaranteeAssignUserServiceImpl.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgGuaranteeAssignUserServiceImpl.java index ad0b310e..83733c3d 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgGuaranteeAssignUserServiceImpl.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgGuaranteeAssignUserServiceImpl.java @@ -164,20 +164,36 @@ public class DgGuaranteeAssignUserServiceImpl extends ServiceImpl) arr1List2.get(0)); - dgEnclosureInfo.setAssessmentReportList((List) arr1List2.get(1)); - dgEnclosureInfo.setBusinessLicenseList((List) arr1List2.get(2)); - dgEnclosureInfo.setCertificateAuthorizationList((List) arr1List2.get(3)); - dgEnclosureInfo.setCompanyConstitutionList((List) arr1List2.get(4)); - dgEnclosureInfo.setCompanyCreditList((List) arr1List2.get(5)); - dgEnclosureInfo.setConversationSummaryList((List) arr1List2.get(6)); - dgEnclosureInfo.setCreditReportList((List) arr1List2.get(7)); - dgEnclosureInfo.setInspectionPhotosList((List) arr1List2.get(8)); - dgEnclosureInfo.setLegalCardCopyList((List) arr1List2.get(9)); - dgEnclosureInfo.setLegalCopyList((List) arr1List2.get(10)); - dgEnclosureInfo.setTaxCertificateList((List) arr1List2.get(11)); - dgEnclosureInfo.setMeetingMinutesList((List) arr1List2.get(12)); - dgEnclosureInfo.setMarriageCopyList((List) arr1List2.get(13)); + if(arr1List2.size()>0){ + if(!arr1List2.get(0).toString().equals("[]")) + dgEnclosureInfo.setAccountingFirmList((List) arr1List2.get(0)); + if(!arr1List2.get(1).toString().equals("[]")) + dgEnclosureInfo.setAssessmentReportList((List) arr1List2.get(1)); + if(!arr1List2.get(2).toString().equals("[]")) + dgEnclosureInfo.setBusinessLicenseList((List) arr1List2.get(2)); + if(!arr1List2.get(3).toString().equals("[]")) + dgEnclosureInfo.setCertificateAuthorizationList((List) arr1List2.get(3)); + if(!arr1List2.get(4).toString().equals("[]")) + dgEnclosureInfo.setCompanyConstitutionList((List) arr1List2.get(4)); + if(!arr1List2.get(5).toString().equals("[]")) + dgEnclosureInfo.setCompanyCreditList((List) arr1List2.get(5)); + if(!arr1List2.get(6).toString().equals("[]")) + dgEnclosureInfo.setConversationSummaryList((List) arr1List2.get(6)); + if(!arr1List2.get(7).toString().equals("[]")) + dgEnclosureInfo.setCreditReportList((List) arr1List2.get(7)); + if(!arr1List2.get(8).toString().equals("[]")) + dgEnclosureInfo.setInspectionPhotosList((List) arr1List2.get(8)); + if(!arr1List2.get(9).toString().equals("[]")) + dgEnclosureInfo.setLegalCardCopyList((List) arr1List2.get(9)); + if(!arr1List2.get(10).toString().equals("[]")) + dgEnclosureInfo.setLegalCopyList((List) arr1List2.get(10)); + if(!arr1List2.get(11).toString().equals("[]")) + dgEnclosureInfo.setTaxCertificateList((List) arr1List2.get(11)); + if(!arr1List2.get(12).toString().equals("[]")) + dgEnclosureInfo.setMeetingMinutesList((List) arr1List2.get(12)); + if(!arr1List2.get(13).toString().equals("[]")) + dgEnclosureInfo.setMarriageCopyList((List) arr1List2.get(13)); + } //查询担保部经理审核的金额和期限 diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgMessageInvestigationServiceImpl.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgMessageInvestigationServiceImpl.java index 14f5e6d6..5418176b 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgMessageInvestigationServiceImpl.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgMessageInvestigationServiceImpl.java @@ -238,20 +238,36 @@ public class DgMessageInvestigationServiceImpl extends ServiceImpl) arr1List2.get(0)); - dgEnclosureInfo.setAssessmentReportList((List) arr1List2.get(1)); - dgEnclosureInfo.setBusinessLicenseList((List) arr1List2.get(2)); - dgEnclosureInfo.setCertificateAuthorizationList((List) arr1List2.get(3)); - dgEnclosureInfo.setCompanyConstitutionList((List) arr1List2.get(4)); - dgEnclosureInfo.setCompanyCreditList((List) arr1List2.get(5)); - dgEnclosureInfo.setConversationSummaryList((List) arr1List2.get(6)); - dgEnclosureInfo.setCreditReportList((List) arr1List2.get(7)); - dgEnclosureInfo.setInspectionPhotosList((List) arr1List2.get(8)); - dgEnclosureInfo.setLegalCardCopyList((List) arr1List2.get(9)); - dgEnclosureInfo.setLegalCopyList((List) arr1List2.get(10)); - dgEnclosureInfo.setTaxCertificateList((List) arr1List2.get(11)); - dgEnclosureInfo.setMeetingMinutesList((List) arr1List2.get(12)); - dgEnclosureInfo.setMarriageCopyList((List) arr1List2.get(13)); + if(arr1List2.size()>0){ + if(!arr1List2.get(0).toString().equals("[]")) + dgEnclosureInfo.setAccountingFirmList((List) arr1List2.get(0)); + if(!arr1List2.get(1).toString().equals("[]")) + dgEnclosureInfo.setAssessmentReportList((List) arr1List2.get(1)); + if(!arr1List2.get(2).toString().equals("[]")) + dgEnclosureInfo.setBusinessLicenseList((List) arr1List2.get(2)); + if(!arr1List2.get(3).toString().equals("[]")) + dgEnclosureInfo.setCertificateAuthorizationList((List) arr1List2.get(3)); + if(!arr1List2.get(4).toString().equals("[]")) + dgEnclosureInfo.setCompanyConstitutionList((List) arr1List2.get(4)); + if(!arr1List2.get(5).toString().equals("[]")) + dgEnclosureInfo.setCompanyCreditList((List) arr1List2.get(5)); + if(!arr1List2.get(6).toString().equals("[]")) + dgEnclosureInfo.setConversationSummaryList((List) arr1List2.get(6)); + if(!arr1List2.get(7).toString().equals("[]")) + dgEnclosureInfo.setCreditReportList((List) arr1List2.get(7)); + if(!arr1List2.get(8).toString().equals("[]")) + dgEnclosureInfo.setInspectionPhotosList((List) arr1List2.get(8)); + if(!arr1List2.get(9).toString().equals("[]")) + dgEnclosureInfo.setLegalCardCopyList((List) arr1List2.get(9)); + if(!arr1List2.get(10).toString().equals("[]")) + dgEnclosureInfo.setLegalCopyList((List) arr1List2.get(10)); + if(!arr1List2.get(11).toString().equals("[]")) + dgEnclosureInfo.setTaxCertificateList((List) arr1List2.get(11)); + if(!arr1List2.get(12).toString().equals("[]")) + dgEnclosureInfo.setMeetingMinutesList((List) arr1List2.get(12)); + if(!arr1List2.get(13).toString().equals("[]")) + dgEnclosureInfo.setMarriageCopyList((List) arr1List2.get(13)); + } //查询该业务id下对应的C角 DgMessageInvestigation messageInvestigate = this.baseMapper.selectOne(new QueryWrapper()