From 7686736a02be82a7185fa8c5f1cf707b8deb32de Mon Sep 17 00:00:00 2001 From: shijie <648688341@qq.com> Date: Thu, 1 Apr 2021 16:08:39 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=84=E4=BB=B6=E8=BF=94=E5=9B=9E=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/DgApplyAmountInfoServiceImpl.java | 108 +++++++++++------- .../DgGuaranteeAssignUserServiceImpl.java | 44 ++++--- .../DgMessageInvestigationServiceImpl.java | 44 ++++--- 3 files changed, 126 insertions(+), 70 deletions(-) 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()