master
shijie 4 years ago
parent 2f4c0bad77
commit 017a16bef9
  1. 8
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgGuaranteeAssignUserServiceImpl.java

@ -188,7 +188,7 @@ public class DgGuaranteeAssignUserServiceImpl extends ServiceImpl<DgGuaranteeAss
// } // }
DgGuaranteeAssignUser assignUser1=null; /* DgGuaranteeAssignUser assignUser1=null;
if(guaranteeAssignUser.getType().equals(3)){//查询担保部经理审核的金额和期限 if(guaranteeAssignUser.getType().equals(3)){//查询担保部经理审核的金额和期限
assignUser1 = this.baseMapper.selectOne(new QueryWrapper<DgGuaranteeAssignUser>() assignUser1 = this.baseMapper.selectOne(new QueryWrapper<DgGuaranteeAssignUser>()
.eq("business_id", guaranteeAssignUser.getBusinessId()).eq("type", 3)); .eq("business_id", guaranteeAssignUser.getBusinessId()).eq("type", 3));
@ -199,12 +199,12 @@ public class DgGuaranteeAssignUserServiceImpl extends ServiceImpl<DgGuaranteeAss
} }
guaranteeAssignUser.setAmount(assignUser1.getAmount()); guaranteeAssignUser.setAmount(assignUser1.getAmount());
guaranteeAssignUser.setTerm(assignUser1.getTerm()); guaranteeAssignUser.setTerm(assignUser1.getTerm());*/
DgGuaranteeAssignUserResponse assignUser = new DgGuaranteeAssignUserResponse(); DgGuaranteeAssignUserResponse assignUser = new DgGuaranteeAssignUserResponse();
BeanUtils.copyProperties(guaranteeAssignUser,assignUser); BeanUtils.copyProperties(guaranteeAssignUser,assignUser);
assignUser.setRemarks(assignUser1.getRemark()); //assignUser.setRemarks(assignUser1.getRemark());
String remarks = assignUser1.getRemark(); String remarks = guaranteeAssignUser.getRemark();
if(remarks != null){ if(remarks != null){
if (remarks.length() > 0) { if (remarks.length() > 0) {
String a = remarks.substring(1, remarks.length() - 1); String a = remarks.substring(1, remarks.length() - 1);

Loading…
Cancel
Save