|
|
|
@ -204,20 +204,7 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl<DgApplyAmountInfoM |
|
|
|
|
DgEnclosureInfo dgEnclosureInfo = new DgEnclosureInfo(); |
|
|
|
|
dgEnclosureInfo.setBusinessId(dgApplyAmountInfo.getId());//业务id
|
|
|
|
|
dgEnclosureInfo.setCompanyId(businessApplication.getCompanyId());//企业Id
|
|
|
|
|
dgEnclosureInfo.setBusinessLicense(ArraysUtil.toString(businessApplication.getBusinessLicense()));//营业执照复印件
|
|
|
|
|
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())); |
|
|
|
|
getEnclosure(businessApplication,dgEnclosureInfo); |
|
|
|
|
dgEnclosureInfoMapper.insert(dgEnclosureInfo); |
|
|
|
|
|
|
|
|
|
//根据企业id查询企业详情
|
|
|
|
@ -264,6 +251,39 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl<DgApplyAmountInfoM |
|
|
|
|
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 |
|
|
|
|
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()); |
|
|
|
|
|
|
|
|
|
List<String>list = new ArrayList<>(); |
|
|
|
|
System.out.println(dgEnclosureInfo.getAccountingFirm()); |
|
|
|
|
list.add(dgEnclosureInfo.getAccountingFirm()); |
|
|
|
|
list.add(dgEnclosureInfo.getAssessmentReport()); |
|
|
|
|
list.add(dgEnclosureInfo.getBusinessLicense()); |
|
|
|
@ -332,6 +353,8 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl<DgApplyAmountInfoM |
|
|
|
|
arr1List2.add(i,null); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
/* if(arr1List2.size()>0){ |
|
|
|
|
if(!arr1List2.get(0).toString().equals("[]"))*/ |
|
|
|
|
dgEnclosureInfo.setAccountingFirmList((List<String>) arr1List2.get(0)); |
|
|
|
|
dgEnclosureInfo.setAssessmentReportList((List<String>) arr1List2.get(1)); |
|
|
|
|
dgEnclosureInfo.setBusinessLicenseList((List<String>) arr1List2.get(2)); |
|
|
|
@ -346,6 +369,7 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl<DgApplyAmountInfoM |
|
|
|
|
dgEnclosureInfo.setTaxCertificateList((List<String>) arr1List2.get(11)); |
|
|
|
|
dgEnclosureInfo.setMeetingMinutesList((List<String>) arr1List2.get(12)); |
|
|
|
|
dgEnclosureInfo.setMarriageCopyList((List<String>) arr1List2.get(13)); |
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
BusinessApplicationDetailResponse businessApplicationDetail= new BusinessApplicationDetailResponse(); |
|
|
|
|
businessApplicationDetail.setDgApplyAmountInfo(dgApplyAmountInfo); |
|
|
|
@ -433,20 +457,7 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl<DgApplyAmountInfoM |
|
|
|
|
DgEnclosureInfo dgEnclosureInfo = new DgEnclosureInfo(); |
|
|
|
|
dgEnclosureInfo.setBusinessId(businessApplication.getBusinessId());//业务id
|
|
|
|
|
dgEnclosureInfo.setCompanyId(businessApplication.getCompanyId());//企业Id
|
|
|
|
|
dgEnclosureInfo.setBusinessLicense(ArraysUtil.toString(businessApplication.getBusinessLicense()));//营业执照复印件
|
|
|
|
|
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())); |
|
|
|
|
getEnclosure(businessApplication,dgEnclosureInfo); |
|
|
|
|
|
|
|
|
|
//根据业务id查询对应的附件信息
|
|
|
|
|
DgEnclosureInfo dgEnclosureInfo1 = dgEnclosureInfoMapper.selectOne(new QueryWrapper<DgEnclosureInfo>().eq("business_id", businessApplication.getBusinessId())); |
|
|
|
|