|
|
@ -10,6 +10,8 @@ import com.daqing.financial.guarantee.mapper.DgEnclosureInfoMapper; |
|
|
|
import com.daqing.financial.guarantee.model.request.BusinessApplicationRequest; |
|
|
|
import com.daqing.financial.guarantee.model.request.BusinessApplicationRequest; |
|
|
|
import com.daqing.financial.guarantee.model.response.BusinessApplicationDetailResponse; |
|
|
|
import com.daqing.financial.guarantee.model.response.BusinessApplicationDetailResponse; |
|
|
|
import com.daqing.financial.guarantee.model.response.BusinessApplicationListResponse; |
|
|
|
import com.daqing.financial.guarantee.model.response.BusinessApplicationListResponse; |
|
|
|
|
|
|
|
import com.daqing.financial.guarantee.model.response.DgApplyAmountInfoResponse; |
|
|
|
|
|
|
|
import com.daqing.financial.guarantee.model.response.DgEnclosureInfoResponse; |
|
|
|
import com.daqing.financial.guarantee.service.IDgApplyAmountInfoService; |
|
|
|
import com.daqing.financial.guarantee.service.IDgApplyAmountInfoService; |
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
|
|
import com.daqing.framework.domain.crms.CrmsCustomerRelated; |
|
|
|
import com.daqing.framework.domain.crms.CrmsCustomerRelated; |
|
|
@ -23,6 +25,7 @@ import com.daqing.framework.domain.hrms.DeptEntity; |
|
|
|
import com.daqing.framework.domain.hrms.ext.EmployeeListVO; |
|
|
|
import com.daqing.framework.domain.hrms.ext.EmployeeListVO; |
|
|
|
import com.daqing.framework.exception.ExceptionCast; |
|
|
|
import com.daqing.framework.exception.ExceptionCast; |
|
|
|
import com.daqing.framework.model.response.ResponseResult; |
|
|
|
import com.daqing.framework.model.response.ResponseResult; |
|
|
|
|
|
|
|
import com.daqing.framework.util.RandomUtil; |
|
|
|
import com.daqing.framework.util.RedisUtil; |
|
|
|
import com.daqing.framework.util.RedisUtil; |
|
|
|
import com.daqing.framework.utils.PageUtils; |
|
|
|
import com.daqing.framework.utils.PageUtils; |
|
|
|
import com.daqing.framework.utils.excel.ExcelUtil; |
|
|
|
import com.daqing.framework.utils.excel.ExcelUtil; |
|
|
@ -39,9 +42,7 @@ import org.springframework.web.context.request.ServletRequestAttributes; |
|
|
|
import javax.annotation.Resource; |
|
|
|
import javax.annotation.Resource; |
|
|
|
import javax.servlet.http.HttpServletRequest; |
|
|
|
import javax.servlet.http.HttpServletRequest; |
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
import java.util.Date; |
|
|
|
import java.util.*; |
|
|
|
import java.util.LinkedHashMap; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* <p> |
|
|
|
* <p> |
|
|
@ -85,18 +86,20 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl<DgApplyAmountInfoM |
|
|
|
log.error("LogAspect 操作失败:" + e.getMessage()); |
|
|
|
log.error("LogAspect 操作失败:" + e.getMessage()); |
|
|
|
e.printStackTrace(); |
|
|
|
e.printStackTrace(); |
|
|
|
} |
|
|
|
} |
|
|
|
System.out.println("反担保措施======"+ArrayUtils.toString(businessApplication.getEnGuaranteeMeasures(),",")); |
|
|
|
System.out.println("反担保措施======"+ Arrays.toString(businessApplication.getEnGuaranteeMeasures())); |
|
|
|
//申请贷款相关信息
|
|
|
|
//申请贷款相关信息
|
|
|
|
DgApplyAmountInfo dgApplyAmountInfo = new DgApplyAmountInfo(); |
|
|
|
DgApplyAmountInfo dgApplyAmountInfo = new DgApplyAmountInfo(); |
|
|
|
dgApplyAmountInfo.setCompanyId(dgApplyAmountInfo.getCompanyId()); |
|
|
|
dgApplyAmountInfo.setCompanyId(businessApplication.getCompanyId()); |
|
|
|
dgApplyAmountInfo.setPresenterId(5);//Integer.parseInt(userId)
|
|
|
|
dgApplyAmountInfo.setPresenterId(5);//Integer.parseInt(userId)
|
|
|
|
dgApplyAmountInfo.setApplyAmount(businessApplication.getApplyAmount());//申请额度
|
|
|
|
dgApplyAmountInfo.setApplyAmount(businessApplication.getApplyAmount());//申请额度
|
|
|
|
dgApplyAmountInfo.setApplyTime(businessApplication.getApplyTime());//申请期限
|
|
|
|
dgApplyAmountInfo.setApplyTime(businessApplication.getApplyTime());//申请期限
|
|
|
|
dgApplyAmountInfo.setBank(businessApplication.getBank());//贷款银行
|
|
|
|
dgApplyAmountInfo.setBank(businessApplication.getBank());//贷款银行
|
|
|
|
dgApplyAmountInfo.setAmountWide(businessApplication.getAmountWide());//贷款用途
|
|
|
|
dgApplyAmountInfo.setAmountWide(businessApplication.getAmountWide());//贷款用途
|
|
|
|
dgApplyAmountInfo.setEnGuaranteeMeasures(ArrayUtils.toString(businessApplication.getEnGuaranteeMeasures(),","));//反担保措施
|
|
|
|
dgApplyAmountInfo.setOtherAmountWide(businessApplication.getOtherAmountWide());//其他贷款用途
|
|
|
|
|
|
|
|
dgApplyAmountInfo.setEnGuaranteeMeasures(Arrays.toString(businessApplication.getEnGuaranteeMeasures()));//反担保措施
|
|
|
|
dgApplyAmountInfo.setDescription(businessApplication.getDescription());//反担保措施描述
|
|
|
|
dgApplyAmountInfo.setDescription(businessApplication.getDescription());//反担保措施描述
|
|
|
|
dgApplyAmountInfo.setBusinessType(businessApplication.getBusinessType());//业务类型
|
|
|
|
dgApplyAmountInfo.setBusinessType(businessApplication.getBusinessType());//业务类型
|
|
|
|
|
|
|
|
dgApplyAmountInfo.setBusinessCode(RandomUtil.getRandomNum(12)); |
|
|
|
dgApplyAmountInfo.setCreateTime(new Date()); |
|
|
|
dgApplyAmountInfo.setCreateTime(new Date()); |
|
|
|
dgApplyAmountInfo.setUpdateTime(new Date()); |
|
|
|
dgApplyAmountInfo.setUpdateTime(new Date()); |
|
|
|
if(businessApplication.isSaveOrCommit()==true){ |
|
|
|
if(businessApplication.isSaveOrCommit()==true){ |
|
|
@ -123,19 +126,20 @@ 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(ArrayUtils.toString(businessApplication.getBusinessLicense(),","));//营业执照复印件
|
|
|
|
dgEnclosureInfo.setBusinessLicense(Arrays.toString(businessApplication.getBusinessLicense()));//营业执照复印件
|
|
|
|
dgEnclosureInfo.setLegalCardCopy(ArrayUtils.toString(businessApplication.getLegalCardCopy(),","));//上传法定代表人夫妻及企业实际经营者身份证复印件
|
|
|
|
dgEnclosureInfo.setLegalCardCopy(Arrays.toString(businessApplication.getLegalCardCopy()));//上传法定代表人夫妻及企业实际经营者身份证复印件
|
|
|
|
dgEnclosureInfo.setMarriageCopy(ArrayUtils.toString(businessApplication.getMarriageCopy(),","));//法定代表人夫妻户口本,结婚证(离婚证)复印件
|
|
|
|
dgEnclosureInfo.setMarriageCopy(Arrays.toString(businessApplication.getMarriageCopy()));//法定代表人夫妻户口本,结婚证(离婚证)复印件
|
|
|
|
dgEnclosureInfo.setLegalCopy(ArrayUtils.toString(businessApplication.getLegalCopy(),","));//法定代表人身份证明
|
|
|
|
dgEnclosureInfo.setLegalCopy(Arrays.toString(businessApplication.getLegalCopy()));//法定代表人身份证明
|
|
|
|
dgEnclosureInfo.setCompanyConstitution(ArrayUtils.toString(businessApplication.getCompanyConstitution(),","));//公司章程
|
|
|
|
dgEnclosureInfo.setCompanyConstitution(Arrays.toString(businessApplication.getCompanyConstitution()));//公司章程
|
|
|
|
dgEnclosureInfo.setAccountingFirm(ArrayUtils.toString(businessApplication.getAccountingFirm(),","));//会计师事务所审计的上一年度及本年度审计报告
|
|
|
|
dgEnclosureInfo.setAccountingFirm(Arrays.toString(businessApplication.getAccountingFirm()));//会计师事务所审计的上一年度及本年度审计报告
|
|
|
|
dgEnclosureInfo.setCompanyCredit(ArrayUtils.toString(businessApplication.getCompanyCredit(),","));//企业信用报告
|
|
|
|
dgEnclosureInfo.setCompanyCredit(Arrays.toString(businessApplication.getCompanyCredit()));//企业信用报告
|
|
|
|
dgEnclosureInfo.setCreditReport(ArrayUtils.toString(businessApplication.getCreditReport(),","));//企业法人夫妇信用报告,实际经营者信用报告
|
|
|
|
dgEnclosureInfo.setCreditReport(Arrays.toString(businessApplication.getCreditReport()));//企业法人夫妇信用报告,实际经营者信用报告
|
|
|
|
dgEnclosureInfo.setCertificateAuthorization(ArrayUtils.toString(businessApplication.getCertificateAuthorization(),","));//征信业务授权书,承诺书
|
|
|
|
dgEnclosureInfo.setCertificateAuthorization(Arrays.toString(businessApplication.getCertificateAuthorization()));//征信业务授权书,承诺书
|
|
|
|
dgEnclosureInfo.setTaxCertificate(ArrayUtils.toString(businessApplication.getTaxCertificate(),","));//增值税纳税申报表首表复印件/完税证明
|
|
|
|
dgEnclosureInfo.setTaxCertificate(Arrays.toString(businessApplication.getTaxCertificate()));//增值税纳税申报表首表复印件/完税证明
|
|
|
|
dgEnclosureInfo.setMeetingMinutes(ArrayUtils.toString(businessApplication.getMeetingMinutes(),","));//股东会会议纪要
|
|
|
|
dgEnclosureInfo.setMeetingMinutes(Arrays.toString(businessApplication.getMeetingMinutes()));//股东会会议纪要
|
|
|
|
dgEnclosureInfo.setAssessmentReport(ArrayUtils.toString(businessApplication.getAssessmentReport(),","));//反担保资料和评估报告
|
|
|
|
dgEnclosureInfo.setAssessmentReport(Arrays.toString(businessApplication.getAssessmentReport()));//反担保资料和评估报告
|
|
|
|
|
|
|
|
dgEnclosureInfo.setConversationSummary(Arrays.toString(businessApplication.getConversationSummary())); |
|
|
|
|
|
|
|
dgEnclosureInfo.setInspectionPhotos(Arrays.toString(businessApplication.getInspectionPhotos())); |
|
|
|
return dgEnclosureInfoMapper.insert(dgEnclosureInfo); |
|
|
|
return dgEnclosureInfoMapper.insert(dgEnclosureInfo); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -156,7 +160,17 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl<DgApplyAmountInfoM |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public BusinessApplicationDetailResponse businessApplicationDetail(Integer id) { |
|
|
|
public BusinessApplicationDetailResponse businessApplicationDetail(Integer id) { |
|
|
|
//根据主键id查询业务申请详细信息
|
|
|
|
//根据主键id查询业务申请详细信息
|
|
|
|
DgApplyAmountInfo dgApplyAmountInfo = this.baseMapper.selectById(id); |
|
|
|
//DgApplyAmountInfo dgApplyAmountInfo = this.baseMapper.selectById(id);
|
|
|
|
|
|
|
|
DgApplyAmountInfoResponse dgApplyAmountInfo = this.baseMapper.selectApplyAmountInfoById(id); |
|
|
|
|
|
|
|
String measures=dgApplyAmountInfo.getEnGuaranteeMeasures(); |
|
|
|
|
|
|
|
if(measures.length()>0){ |
|
|
|
|
|
|
|
String a = measures.substring(1,measures.length()-1); |
|
|
|
|
|
|
|
String arry[]=a.split(","); |
|
|
|
|
|
|
|
List<String> demoList = Arrays.asList(arry); |
|
|
|
|
|
|
|
dgApplyAmountInfo.setEnGuaranteeMeasure(demoList); |
|
|
|
|
|
|
|
System.out.println("arry==============="+demoList); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
System.out.println("业务申请详细========="+dgApplyAmountInfo); |
|
|
|
System.out.println("业务申请详细========="+dgApplyAmountInfo); |
|
|
|
|
|
|
|
|
|
|
|
DgApplyAmountInfoRequest applyAmountInfo = new DgApplyAmountInfoRequest(); |
|
|
|
DgApplyAmountInfoRequest applyAmountInfo = new DgApplyAmountInfoRequest(); |
|
|
@ -165,20 +179,67 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl<DgApplyAmountInfoM |
|
|
|
ResponseResult result = crmsFeignService.queryCustomerInfoById(applyAmountInfo); |
|
|
|
ResponseResult result = crmsFeignService.queryCustomerInfoById(applyAmountInfo); |
|
|
|
|
|
|
|
|
|
|
|
LinkedHashMap linkedList = (LinkedHashMap)result.getData(); |
|
|
|
LinkedHashMap linkedList = (LinkedHashMap)result.getData(); |
|
|
|
/* ObjectMapper mapper = new ObjectMapper(); |
|
|
|
|
|
|
|
List<LinkedHashMap> pojos = mapper.convertValue(linkedList, new TypeReference<List<LinkedHashMap>>() {});*/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
System.out.println("企业详细============"+linkedList); |
|
|
|
System.out.println("企业详细============"+linkedList); |
|
|
|
|
|
|
|
|
|
|
|
//查询附件详细,附件关联业务主键id
|
|
|
|
//查询附件详细,附件关联业务主键id
|
|
|
|
DgEnclosureInfo dgEnclosureInfo = dgEnclosureInfoMapper.selectByCompanyId(id); |
|
|
|
DgEnclosureInfoResponse dgEnclosureInfo = dgEnclosureInfoMapper.selectByCompanyId(id); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<String>list = new ArrayList<>(); |
|
|
|
|
|
|
|
list.add(dgEnclosureInfo.getAccountingFirm()); |
|
|
|
|
|
|
|
list.add(dgEnclosureInfo.getAssessmentReport()); |
|
|
|
|
|
|
|
list.add(dgEnclosureInfo.getBusinessLicense()); |
|
|
|
|
|
|
|
list.add(dgEnclosureInfo.getCertificateAuthorization()); |
|
|
|
|
|
|
|
list.add(dgEnclosureInfo.getCompanyConstitution()); |
|
|
|
|
|
|
|
list.add(dgEnclosureInfo.getCompanyCredit()); |
|
|
|
|
|
|
|
list.add(dgEnclosureInfo.getConversationSummary()); |
|
|
|
|
|
|
|
list.add(dgEnclosureInfo.getCreditReport()); |
|
|
|
|
|
|
|
list.add(dgEnclosureInfo.getInspectionPhotos()); |
|
|
|
|
|
|
|
list.add(dgEnclosureInfo.getLegalCardCopy()); |
|
|
|
|
|
|
|
list.add(dgEnclosureInfo.getLegalCopy()); |
|
|
|
|
|
|
|
list.add(dgEnclosureInfo.getTaxCertificate()); |
|
|
|
|
|
|
|
list.add(dgEnclosureInfo.getMeetingMinutes()); |
|
|
|
|
|
|
|
list.add(dgEnclosureInfo.getMarriageCopy()); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List arr1List2 = new ArrayList<>(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for(int i=0;i<list.size();i++){ |
|
|
|
|
|
|
|
if(list.get(i).length()>0){ |
|
|
|
|
|
|
|
String a1 = list.get(i).substring(1,list.get(i).length()-1); |
|
|
|
|
|
|
|
String arr1[]=a1.split(","); |
|
|
|
|
|
|
|
List<String> arr1List = Arrays.asList(arr1); |
|
|
|
|
|
|
|
arr1List2.add(i,arr1List); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
dgEnclosureInfo.setAccountingFirmList((List<String>) arr1List2.get(0)); |
|
|
|
|
|
|
|
dgEnclosureInfo.setAssessmentReportList((List<String>) arr1List2.get(1)); |
|
|
|
|
|
|
|
dgEnclosureInfo.setBusinessLicenseList((List<String>) arr1List2.get(2)); |
|
|
|
|
|
|
|
dgEnclosureInfo.setCertificateAuthorizationList((List<String>) arr1List2.get(3)); |
|
|
|
|
|
|
|
dgEnclosureInfo.setCompanyConstitutionList((List<String>) arr1List2.get(4)); |
|
|
|
|
|
|
|
dgEnclosureInfo.setCompanyCreditList((List<String>) arr1List2.get(5)); |
|
|
|
|
|
|
|
dgEnclosureInfo.setConversationSummaryList((List<String>) arr1List2.get(6)); |
|
|
|
|
|
|
|
dgEnclosureInfo.setCreditReportList((List<String>) arr1List2.get(7)); |
|
|
|
|
|
|
|
dgEnclosureInfo.setInspectionPhotosList((List<String>) arr1List2.get(8)); |
|
|
|
|
|
|
|
dgEnclosureInfo.setLegalCardCopyList((List<String>) arr1List2.get(9)); |
|
|
|
|
|
|
|
dgEnclosureInfo.setLegalCopyList((List<String>) arr1List2.get(10)); |
|
|
|
|
|
|
|
dgEnclosureInfo.setTaxCertificateList((List<String>) arr1List2.get(11)); |
|
|
|
|
|
|
|
dgEnclosureInfo.setMeetingMinutesList((List<String>) arr1List2.get(12)); |
|
|
|
|
|
|
|
dgEnclosureInfo.setMarriageCopyList((List<String>) arr1List2.get(13)); |
|
|
|
|
|
|
|
|
|
|
|
System.out.println("附件详细=============="+dgEnclosureInfo); |
|
|
|
System.out.println("附件详细=============="+dgEnclosureInfo); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* int page=1; |
|
|
|
|
|
|
|
int size=10; |
|
|
|
|
|
|
|
//关联人信息列表展示
|
|
|
|
|
|
|
|
ResponseResult list = crmsFeignService.companyPersonalList(page,size,dgApplyAmountInfo.getCompanyId()); |
|
|
|
|
|
|
|
LinkedHashMap personalList = (LinkedHashMap)list.getData(); |
|
|
|
|
|
|
|
System.out.println("关联人信息列表======================="+personalList);*/ |
|
|
|
|
|
|
|
|
|
|
|
BusinessApplicationDetailResponse businessApplicationDetail= new BusinessApplicationDetailResponse(); |
|
|
|
BusinessApplicationDetailResponse businessApplicationDetail= new BusinessApplicationDetailResponse(); |
|
|
|
businessApplicationDetail.setDgApplyAmountInfo(dgApplyAmountInfo); |
|
|
|
businessApplicationDetail.setDgApplyAmountInfo(dgApplyAmountInfo); |
|
|
|
businessApplicationDetail.setDgEnclosureInfo(dgEnclosureInfo); |
|
|
|
businessApplicationDetail.setDgEnclosureInfo(dgEnclosureInfo); |
|
|
|
businessApplicationDetail.setLinkedHashMap(linkedList); |
|
|
|
businessApplicationDetail.setLinkedHashMap(linkedList); |
|
|
|
|
|
|
|
//businessApplicationDetail.setLinkedHashMap2(personalList);
|
|
|
|
return businessApplicationDetail; |
|
|
|
return businessApplicationDetail; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -192,7 +253,8 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl<DgApplyAmountInfoM |
|
|
|
dgApplyAmountInfo.setApplyTime(businessApplication.getApplyTime());//申请期限
|
|
|
|
dgApplyAmountInfo.setApplyTime(businessApplication.getApplyTime());//申请期限
|
|
|
|
dgApplyAmountInfo.setBank(businessApplication.getBank());//贷款银行
|
|
|
|
dgApplyAmountInfo.setBank(businessApplication.getBank());//贷款银行
|
|
|
|
dgApplyAmountInfo.setAmountWide(businessApplication.getAmountWide());//贷款用途
|
|
|
|
dgApplyAmountInfo.setAmountWide(businessApplication.getAmountWide());//贷款用途
|
|
|
|
dgApplyAmountInfo.setEnGuaranteeMeasures(ArrayUtils.toString(businessApplication.getEnGuaranteeMeasures(),","));//反担保措施
|
|
|
|
dgApplyAmountInfo.setOtherAmountWide(businessApplication.getOtherAmountWide());//其他贷款用途
|
|
|
|
|
|
|
|
dgApplyAmountInfo.setEnGuaranteeMeasures(Arrays.toString(businessApplication.getEnGuaranteeMeasures()));//反担保措施
|
|
|
|
dgApplyAmountInfo.setDescription(businessApplication.getDescription());//反担保措施描述
|
|
|
|
dgApplyAmountInfo.setDescription(businessApplication.getDescription());//反担保措施描述
|
|
|
|
dgApplyAmountInfo.setBusinessType(businessApplication.getBusinessType());//业务类型
|
|
|
|
dgApplyAmountInfo.setBusinessType(businessApplication.getBusinessType());//业务类型
|
|
|
|
dgApplyAmountInfo.setUpdateTime(new Date()); |
|
|
|
dgApplyAmountInfo.setUpdateTime(new Date()); |
|
|
@ -203,19 +265,20 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl<DgApplyAmountInfoM |
|
|
|
DgEnclosureInfo dgEnclosureInfo = new DgEnclosureInfo(); |
|
|
|
DgEnclosureInfo dgEnclosureInfo = new DgEnclosureInfo(); |
|
|
|
dgEnclosureInfo.setBusinessId(businessApplication.getId());//业务id
|
|
|
|
dgEnclosureInfo.setBusinessId(businessApplication.getId());//业务id
|
|
|
|
dgEnclosureInfo.setCompanyId(businessApplication.getCompanyId());//企业Id
|
|
|
|
dgEnclosureInfo.setCompanyId(businessApplication.getCompanyId());//企业Id
|
|
|
|
dgEnclosureInfo.setBusinessLicense(ArrayUtils.toString(businessApplication.getBusinessLicense(),","));//营业执照复印件
|
|
|
|
dgEnclosureInfo.setBusinessLicense(Arrays.toString(businessApplication.getBusinessLicense()));//营业执照复印件
|
|
|
|
dgEnclosureInfo.setLegalCardCopy(ArrayUtils.toString(businessApplication.getLegalCardCopy(),","));//上传法定代表人夫妻及企业实际经营者身份证复印件
|
|
|
|
dgEnclosureInfo.setLegalCardCopy(Arrays.toString(businessApplication.getLegalCardCopy()));//上传法定代表人夫妻及企业实际经营者身份证复印件
|
|
|
|
dgEnclosureInfo.setMarriageCopy(ArrayUtils.toString(businessApplication.getMarriageCopy(),","));//法定代表人夫妻户口本,结婚证(离婚证)复印件
|
|
|
|
dgEnclosureInfo.setMarriageCopy(Arrays.toString(businessApplication.getMarriageCopy()));//法定代表人夫妻户口本,结婚证(离婚证)复印件
|
|
|
|
dgEnclosureInfo.setLegalCopy(ArrayUtils.toString(businessApplication.getLegalCopy(),","));//法定代表人身份证明
|
|
|
|
dgEnclosureInfo.setLegalCopy(Arrays.toString(businessApplication.getLegalCopy()));//法定代表人身份证明
|
|
|
|
dgEnclosureInfo.setCompanyConstitution(ArrayUtils.toString(businessApplication.getCompanyConstitution(),","));//公司章程
|
|
|
|
dgEnclosureInfo.setCompanyConstitution(Arrays.toString(businessApplication.getCompanyConstitution()));//公司章程
|
|
|
|
dgEnclosureInfo.setAccountingFirm(ArrayUtils.toString(businessApplication.getAccountingFirm(),","));//会计师事务所审计的上一年度及本年度审计报告
|
|
|
|
dgEnclosureInfo.setAccountingFirm(Arrays.toString(businessApplication.getAccountingFirm()));//会计师事务所审计的上一年度及本年度审计报告
|
|
|
|
dgEnclosureInfo.setCompanyCredit(ArrayUtils.toString(businessApplication.getCompanyCredit(),","));//企业信用报告
|
|
|
|
dgEnclosureInfo.setCompanyCredit(Arrays.toString(businessApplication.getCompanyCredit()));//企业信用报告
|
|
|
|
dgEnclosureInfo.setCreditReport(ArrayUtils.toString(businessApplication.getCreditReport(),","));//企业法人夫妇信用报告,实际经营者信用报告
|
|
|
|
dgEnclosureInfo.setCreditReport(Arrays.toString(businessApplication.getCreditReport()));//企业法人夫妇信用报告,实际经营者信用报告
|
|
|
|
dgEnclosureInfo.setCertificateAuthorization(ArrayUtils.toString(businessApplication.getCertificateAuthorization(),","));//征信业务授权书,承诺书
|
|
|
|
dgEnclosureInfo.setCertificateAuthorization(Arrays.toString(businessApplication.getCertificateAuthorization()));//征信业务授权书,承诺书
|
|
|
|
dgEnclosureInfo.setTaxCertificate(ArrayUtils.toString(businessApplication.getTaxCertificate(),","));//增值税纳税申报表首表复印件/完税证明
|
|
|
|
dgEnclosureInfo.setTaxCertificate(Arrays.toString(businessApplication.getTaxCertificate()));//增值税纳税申报表首表复印件/完税证明
|
|
|
|
dgEnclosureInfo.setMeetingMinutes(ArrayUtils.toString(businessApplication.getMeetingMinutes(),","));//股东会会议纪要
|
|
|
|
dgEnclosureInfo.setMeetingMinutes(Arrays.toString(businessApplication.getMeetingMinutes()));//股东会会议纪要
|
|
|
|
dgEnclosureInfo.setAssessmentReport(ArrayUtils.toString(businessApplication.getAssessmentReport(),","));//反担保资料和评估报告
|
|
|
|
dgEnclosureInfo.setAssessmentReport(Arrays.toString(businessApplication.getAssessmentReport()));//反担保资料和评估报告
|
|
|
|
|
|
|
|
dgEnclosureInfo.setConversationSummary(Arrays.toString(businessApplication.getConversationSummary())); |
|
|
|
|
|
|
|
dgEnclosureInfo.setInspectionPhotos(Arrays.toString(businessApplication.getInspectionPhotos())); |
|
|
|
|
|
|
|
|
|
|
|
//根据业务id删除对应的附件信息
|
|
|
|
//根据业务id删除对应的附件信息
|
|
|
|
dgEnclosureInfoMapper.delete(new QueryWrapper<DgEnclosureInfo>().eq("business_id",businessApplication.getId())); |
|
|
|
dgEnclosureInfoMapper.delete(new QueryWrapper<DgEnclosureInfo>().eq("business_id",businessApplication.getId())); |
|
|
@ -247,7 +310,7 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl<DgApplyAmountInfoM |
|
|
|
e.printStackTrace(); |
|
|
|
e.printStackTrace(); |
|
|
|
} |
|
|
|
} |
|
|
|
//根据userId获取用户名以及部门名称
|
|
|
|
//根据userId获取用户名以及部门名称
|
|
|
|
ResponseResult<EmployeeMessageResponse> employeeMessage = hrmsFeignService.getAccountAndDeptNameById(5l); |
|
|
|
ResponseResult<EmployeeMessageResponse> employeeMessage = hrmsFeignService.getAccountAndDeptNameById(Long.valueOf(userId)); |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
try { |
|
|
|
List<BusinessApplicationListResponse> list = this.getBaseMapper().excelList(); |
|
|
|
List<BusinessApplicationListResponse> list = this.getBaseMapper().excelList(); |
|
|
|