|
|
@ -204,20 +204,7 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl<DgApplyAmountInfoM |
|
|
|
DgEnclosureInfo dgEnclosureInfo = new DgEnclosureInfo(); |
|
|
|
DgEnclosureInfo dgEnclosureInfo = new DgEnclosureInfo(); |
|
|
|
dgEnclosureInfo.setBusinessId(dgApplyAmountInfo.getId());//业务id
|
|
|
|
dgEnclosureInfo.setBusinessId(dgApplyAmountInfo.getId());//业务id
|
|
|
|
dgEnclosureInfo.setCompanyId(businessApplication.getCompanyId());//企业Id
|
|
|
|
dgEnclosureInfo.setCompanyId(businessApplication.getCompanyId());//企业Id
|
|
|
|
dgEnclosureInfo.setBusinessLicense(ArraysUtil.toString(businessApplication.getBusinessLicense()));//营业执照复印件
|
|
|
|
getEnclosure(businessApplication,dgEnclosureInfo); |
|
|
|
dgEnclosureInfo.setLegalCardCopy(ArraysUtil.toString(businessApplication.getLegalCardCopy()));//上传法定代表人夫妻及企业实际经营者身份证复印件
|
|
|
|
|
|
|
|
dgEnclosureInfo.setMarriageCopy(ArraysUtil.toString(businessApplication.getMarriageCopy()));//法定代表人夫妻户口本,结婚证(离婚证)复印件
|
|
|
|
|
|
|
|
dgEnclosureInfo.setLegalCopy(ArraysUtil.toString(businessApplication.getLegalCopy()));//法定代表人身份证明
|
|
|
|
|
|
|
|
dgEnclosureInfo.setCompanyConstitution(ArraysUtil.toString(businessApplication.getCompanyConstitution()));//公司章程
|
|
|
|
|
|
|
|
dgEnclosureInfo.setAccountingFirm(ArraysUtil.toString(businessApplication.getAccountingFirm()));//会计师事务所审计的上一年度及本年度审计报告
|
|
|
|
|
|
|
|
dgEnclosureInfo.setCompanyCredit(ArraysUtil.toString(businessApplication.getCompanyCredit()));//企业信用报告
|
|
|
|
|
|
|
|
dgEnclosureInfo.setCreditReport(ArraysUtil.toString(businessApplication.getCreditReport()));//企业法人夫妇信用报告,实际经营者信用报告
|
|
|
|
|
|
|
|
dgEnclosureInfo.setCertificateAuthorization(ArraysUtil.toString(businessApplication.getCertificateAuthorization()));//征信业务授权书,承诺书
|
|
|
|
|
|
|
|
dgEnclosureInfo.setTaxCertificate(ArraysUtil.toString(businessApplication.getTaxCertificate()));//增值税纳税申报表首表复印件/完税证明
|
|
|
|
|
|
|
|
dgEnclosureInfo.setMeetingMinutes(ArraysUtil.toString(businessApplication.getMeetingMinutes()));//股东会会议纪要
|
|
|
|
|
|
|
|
dgEnclosureInfo.setAssessmentReport(ArraysUtil.toString(businessApplication.getAssessmentReport()));//反担保资料和评估报告
|
|
|
|
|
|
|
|
dgEnclosureInfo.setConversationSummary(ArraysUtil.toString(businessApplication.getConversationSummary())); |
|
|
|
|
|
|
|
dgEnclosureInfo.setInspectionPhotos(ArraysUtil.toString(businessApplication.getInspectionPhotos())); |
|
|
|
|
|
|
|
dgEnclosureInfoMapper.insert(dgEnclosureInfo); |
|
|
|
dgEnclosureInfoMapper.insert(dgEnclosureInfo); |
|
|
|
|
|
|
|
|
|
|
|
//根据企业id查询企业详情
|
|
|
|
//根据企业id查询企业详情
|
|
|
@ -264,6 +251,39 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl<DgApplyAmountInfoM |
|
|
|
return 1; |
|
|
|
return 1; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void getEnclosure(BusinessApplicationRequest businessApplication,DgEnclosureInfo dgEnclosureInfo){ |
|
|
|
|
|
|
|
//上传附件信息
|
|
|
|
|
|
|
|
if(businessApplication.getBusinessLicense()!=null) |
|
|
|
|
|
|
|
dgEnclosureInfo.setBusinessLicense(ArraysUtil.toString(businessApplication.getBusinessLicense()));//营业执照复印件
|
|
|
|
|
|
|
|
if(businessApplication.getLegalCardCopy()!=null) |
|
|
|
|
|
|
|
dgEnclosureInfo.setLegalCardCopy(ArraysUtil.toString(businessApplication.getLegalCardCopy()));//上传法定代表人夫妻及企业实际经营者身份证复印件
|
|
|
|
|
|
|
|
if(businessApplication.getMarriageCopy()!=null) |
|
|
|
|
|
|
|
dgEnclosureInfo.setMarriageCopy(ArraysUtil.toString(businessApplication.getMarriageCopy()));//法定代表人夫妻户口本,结婚证(离婚证)复印件
|
|
|
|
|
|
|
|
if(businessApplication.getLegalCopy()!=null) |
|
|
|
|
|
|
|
dgEnclosureInfo.setLegalCopy(ArraysUtil.toString(businessApplication.getLegalCopy()));//法定代表人身份证明
|
|
|
|
|
|
|
|
if(businessApplication.getCompanyConstitution()!=null) |
|
|
|
|
|
|
|
dgEnclosureInfo.setCompanyConstitution(ArraysUtil.toString(businessApplication.getCompanyConstitution()));//公司章程
|
|
|
|
|
|
|
|
if(businessApplication.getAccountingFirm()!=null) |
|
|
|
|
|
|
|
dgEnclosureInfo.setAccountingFirm(ArraysUtil.toString(businessApplication.getAccountingFirm()));//会计师事务所审计的上一年度及本年度审计报告
|
|
|
|
|
|
|
|
if(businessApplication.getCompanyCredit()!=null) |
|
|
|
|
|
|
|
dgEnclosureInfo.setCompanyCredit(ArraysUtil.toString(businessApplication.getCompanyCredit()));//企业信用报告
|
|
|
|
|
|
|
|
if(businessApplication.getCreditReport()!=null) |
|
|
|
|
|
|
|
dgEnclosureInfo.setCreditReport(ArraysUtil.toString(businessApplication.getCreditReport()));//企业法人夫妇信用报告,实际经营者信用报告
|
|
|
|
|
|
|
|
if(businessApplication.getCertificateAuthorization()!=null) |
|
|
|
|
|
|
|
dgEnclosureInfo.setCertificateAuthorization(ArraysUtil.toString(businessApplication.getCertificateAuthorization()));//征信业务授权书,承诺书
|
|
|
|
|
|
|
|
if(businessApplication.getTaxCertificate()!=null) |
|
|
|
|
|
|
|
dgEnclosureInfo.setTaxCertificate(ArraysUtil.toString(businessApplication.getTaxCertificate()));//增值税纳税申报表首表复印件/完税证明
|
|
|
|
|
|
|
|
if(businessApplication.getMeetingMinutes()!=null) |
|
|
|
|
|
|
|
dgEnclosureInfo.setMeetingMinutes(ArraysUtil.toString(businessApplication.getMeetingMinutes()));//股东会会议纪要
|
|
|
|
|
|
|
|
if(businessApplication.getAssessmentReport()!=null) |
|
|
|
|
|
|
|
dgEnclosureInfo.setAssessmentReport(ArraysUtil.toString(businessApplication.getAssessmentReport()));//反担保资料和评估报告
|
|
|
|
|
|
|
|
if(businessApplication.getConversationSummary()!=null) |
|
|
|
|
|
|
|
dgEnclosureInfo.setConversationSummary(ArraysUtil.toString(businessApplication.getConversationSummary())); |
|
|
|
|
|
|
|
if(businessApplication.getInspectionPhotos()!=null) |
|
|
|
|
|
|
|
dgEnclosureInfo.setInspectionPhotos(ArraysUtil.toString(businessApplication.getInspectionPhotos())); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public PageUtils queryPage(Integer page, Integer size, String CustomerNumberOrName) { |
|
|
|
public PageUtils queryPage(Integer page, Integer size, String CustomerNumberOrName) { |
|
|
|
//分页参数
|
|
|
|
//分页参数
|
|
|
@ -304,6 +324,7 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl<DgApplyAmountInfoM |
|
|
|
DgEnclosureInfoResponse dgEnclosureInfo = dgEnclosureInfoMapper.selectByCompanyId(dgApplyAmountList.getBusinessId()); |
|
|
|
DgEnclosureInfoResponse dgEnclosureInfo = dgEnclosureInfoMapper.selectByCompanyId(dgApplyAmountList.getBusinessId()); |
|
|
|
|
|
|
|
|
|
|
|
List<String>list = new ArrayList<>(); |
|
|
|
List<String>list = new ArrayList<>(); |
|
|
|
|
|
|
|
System.out.println(dgEnclosureInfo.getAccountingFirm()); |
|
|
|
list.add(dgEnclosureInfo.getAccountingFirm()); |
|
|
|
list.add(dgEnclosureInfo.getAccountingFirm()); |
|
|
|
list.add(dgEnclosureInfo.getAssessmentReport()); |
|
|
|
list.add(dgEnclosureInfo.getAssessmentReport()); |
|
|
|
list.add(dgEnclosureInfo.getBusinessLicense()); |
|
|
|
list.add(dgEnclosureInfo.getBusinessLicense()); |
|
|
@ -332,20 +353,36 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl<DgApplyAmountInfoM |
|
|
|
arr1List2.add(i,null); |
|
|
|
arr1List2.add(i,null); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(arr1List2.size()>0){ |
|
|
|
|
|
|
|
if(!arr1List2.get(0).toString().equals("[]")) |
|
|
|
dgEnclosureInfo.setAccountingFirmList((List<String>) arr1List2.get(0)); |
|
|
|
dgEnclosureInfo.setAccountingFirmList((List<String>) arr1List2.get(0)); |
|
|
|
|
|
|
|
if(!arr1List2.get(1).toString().equals("[]")) |
|
|
|
dgEnclosureInfo.setAssessmentReportList((List<String>) arr1List2.get(1)); |
|
|
|
dgEnclosureInfo.setAssessmentReportList((List<String>) arr1List2.get(1)); |
|
|
|
|
|
|
|
if(!arr1List2.get(2).toString().equals("[]")) |
|
|
|
dgEnclosureInfo.setBusinessLicenseList((List<String>) arr1List2.get(2)); |
|
|
|
dgEnclosureInfo.setBusinessLicenseList((List<String>) arr1List2.get(2)); |
|
|
|
|
|
|
|
if(!arr1List2.get(3).toString().equals("[]")) |
|
|
|
dgEnclosureInfo.setCertificateAuthorizationList((List<String>) arr1List2.get(3)); |
|
|
|
dgEnclosureInfo.setCertificateAuthorizationList((List<String>) arr1List2.get(3)); |
|
|
|
|
|
|
|
if(!arr1List2.get(4).toString().equals("[]")) |
|
|
|
dgEnclosureInfo.setCompanyConstitutionList((List<String>) arr1List2.get(4)); |
|
|
|
dgEnclosureInfo.setCompanyConstitutionList((List<String>) arr1List2.get(4)); |
|
|
|
|
|
|
|
if(!arr1List2.get(5).toString().equals("[]")) |
|
|
|
dgEnclosureInfo.setCompanyCreditList((List<String>) arr1List2.get(5)); |
|
|
|
dgEnclosureInfo.setCompanyCreditList((List<String>) arr1List2.get(5)); |
|
|
|
|
|
|
|
if(!arr1List2.get(6).toString().equals("[]")) |
|
|
|
dgEnclosureInfo.setConversationSummaryList((List<String>) arr1List2.get(6)); |
|
|
|
dgEnclosureInfo.setConversationSummaryList((List<String>) arr1List2.get(6)); |
|
|
|
|
|
|
|
if(!arr1List2.get(7).toString().equals("[]")) |
|
|
|
dgEnclosureInfo.setCreditReportList((List<String>) arr1List2.get(7)); |
|
|
|
dgEnclosureInfo.setCreditReportList((List<String>) arr1List2.get(7)); |
|
|
|
|
|
|
|
if(!arr1List2.get(8).toString().equals("[]")) |
|
|
|
dgEnclosureInfo.setInspectionPhotosList((List<String>) arr1List2.get(8)); |
|
|
|
dgEnclosureInfo.setInspectionPhotosList((List<String>) arr1List2.get(8)); |
|
|
|
|
|
|
|
if(!arr1List2.get(9).toString().equals("[]")) |
|
|
|
dgEnclosureInfo.setLegalCardCopyList((List<String>) arr1List2.get(9)); |
|
|
|
dgEnclosureInfo.setLegalCardCopyList((List<String>) arr1List2.get(9)); |
|
|
|
|
|
|
|
if(!arr1List2.get(10).toString().equals("[]")) |
|
|
|
dgEnclosureInfo.setLegalCopyList((List<String>) arr1List2.get(10)); |
|
|
|
dgEnclosureInfo.setLegalCopyList((List<String>) arr1List2.get(10)); |
|
|
|
|
|
|
|
if(!arr1List2.get(11).toString().equals("[]")) |
|
|
|
dgEnclosureInfo.setTaxCertificateList((List<String>) arr1List2.get(11)); |
|
|
|
dgEnclosureInfo.setTaxCertificateList((List<String>) arr1List2.get(11)); |
|
|
|
|
|
|
|
if(!arr1List2.get(12).toString().equals("[]")) |
|
|
|
dgEnclosureInfo.setMeetingMinutesList((List<String>) arr1List2.get(12)); |
|
|
|
dgEnclosureInfo.setMeetingMinutesList((List<String>) arr1List2.get(12)); |
|
|
|
|
|
|
|
if(!arr1List2.get(13).toString().equals("[]")) |
|
|
|
dgEnclosureInfo.setMarriageCopyList((List<String>) arr1List2.get(13)); |
|
|
|
dgEnclosureInfo.setMarriageCopyList((List<String>) arr1List2.get(13)); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
BusinessApplicationDetailResponse businessApplicationDetail= new BusinessApplicationDetailResponse(); |
|
|
|
BusinessApplicationDetailResponse businessApplicationDetail= new BusinessApplicationDetailResponse(); |
|
|
|
businessApplicationDetail.setDgApplyAmountInfo(dgApplyAmountInfo); |
|
|
|
businessApplicationDetail.setDgApplyAmountInfo(dgApplyAmountInfo); |
|
|
@ -433,20 +470,7 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl<DgApplyAmountInfoM |
|
|
|
DgEnclosureInfo dgEnclosureInfo = new DgEnclosureInfo(); |
|
|
|
DgEnclosureInfo dgEnclosureInfo = new DgEnclosureInfo(); |
|
|
|
dgEnclosureInfo.setBusinessId(businessApplication.getBusinessId());//业务id
|
|
|
|
dgEnclosureInfo.setBusinessId(businessApplication.getBusinessId());//业务id
|
|
|
|
dgEnclosureInfo.setCompanyId(businessApplication.getCompanyId());//企业Id
|
|
|
|
dgEnclosureInfo.setCompanyId(businessApplication.getCompanyId());//企业Id
|
|
|
|
dgEnclosureInfo.setBusinessLicense(ArraysUtil.toString(businessApplication.getBusinessLicense()));//营业执照复印件
|
|
|
|
getEnclosure(businessApplication,dgEnclosureInfo); |
|
|
|
dgEnclosureInfo.setLegalCardCopy(ArraysUtil.toString(businessApplication.getLegalCardCopy()));//上传法定代表人夫妻及企业实际经营者身份证复印件
|
|
|
|
|
|
|
|
dgEnclosureInfo.setMarriageCopy(ArraysUtil.toString(businessApplication.getMarriageCopy()));//法定代表人夫妻户口本,结婚证(离婚证)复印件
|
|
|
|
|
|
|
|
dgEnclosureInfo.setLegalCopy(ArraysUtil.toString(businessApplication.getLegalCopy()));//法定代表人身份证明
|
|
|
|
|
|
|
|
dgEnclosureInfo.setCompanyConstitution(ArraysUtil.toString(businessApplication.getCompanyConstitution()));//公司章程
|
|
|
|
|
|
|
|
dgEnclosureInfo.setAccountingFirm(ArraysUtil.toString(businessApplication.getAccountingFirm()));//会计师事务所审计的上一年度及本年度审计报告
|
|
|
|
|
|
|
|
dgEnclosureInfo.setCompanyCredit(ArraysUtil.toString(businessApplication.getCompanyCredit()));//企业信用报告
|
|
|
|
|
|
|
|
dgEnclosureInfo.setCreditReport(ArraysUtil.toString(businessApplication.getCreditReport()));//企业法人夫妇信用报告,实际经营者信用报告
|
|
|
|
|
|
|
|
dgEnclosureInfo.setCertificateAuthorization(ArraysUtil.toString(businessApplication.getCertificateAuthorization()));//征信业务授权书,承诺书
|
|
|
|
|
|
|
|
dgEnclosureInfo.setTaxCertificate(ArraysUtil.toString(businessApplication.getTaxCertificate()));//增值税纳税申报表首表复印件/完税证明
|
|
|
|
|
|
|
|
dgEnclosureInfo.setMeetingMinutes(ArraysUtil.toString(businessApplication.getMeetingMinutes()));//股东会会议纪要
|
|
|
|
|
|
|
|
dgEnclosureInfo.setAssessmentReport(ArraysUtil.toString(businessApplication.getAssessmentReport()));//反担保资料和评估报告
|
|
|
|
|
|
|
|
dgEnclosureInfo.setConversationSummary(ArraysUtil.toString(businessApplication.getConversationSummary())); |
|
|
|
|
|
|
|
dgEnclosureInfo.setInspectionPhotos(ArraysUtil.toString(businessApplication.getInspectionPhotos())); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//根据业务id查询对应的附件信息
|
|
|
|
//根据业务id查询对应的附件信息
|
|
|
|
DgEnclosureInfo dgEnclosureInfo1 = dgEnclosureInfoMapper.selectOne(new QueryWrapper<DgEnclosureInfo>().eq("business_id", businessApplication.getBusinessId())); |
|
|
|
DgEnclosureInfo dgEnclosureInfo1 = dgEnclosureInfoMapper.selectOne(new QueryWrapper<DgEnclosureInfo>().eq("business_id", businessApplication.getBusinessId())); |
|
|
|