|
|
@ -188,16 +188,23 @@ public class DgGuaranteeAssignUserServiceImpl extends ServiceImpl<DgGuaranteeAss |
|
|
|
// }
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//查询担保部经理审核的金额和期限
|
|
|
|
/* DgGuaranteeAssignUser assignUser1=null; |
|
|
|
DgGuaranteeAssignUser assignUser1 = this.baseMapper.selectOne(new QueryWrapper<DgGuaranteeAssignUser>() |
|
|
|
if(guaranteeAssignUser.getType().equals(3)){//查询担保部经理审核的金额和期限
|
|
|
|
.eq("business_id", guaranteeAssignUser.getBusinessId()).eq("type", 3)); |
|
|
|
assignUser1 = this.baseMapper.selectOne(new QueryWrapper<DgGuaranteeAssignUser>() |
|
|
|
|
|
|
|
.eq("business_id", guaranteeAssignUser.getBusinessId()).eq("type", 3)); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}else{//查询担保部领导审核的金额和期限
|
|
|
|
|
|
|
|
assignUser1 = this.baseMapper.selectOne(new QueryWrapper<DgGuaranteeAssignUser>() |
|
|
|
|
|
|
|
.eq("business_id", guaranteeAssignUser.getBusinessId()).eq("type", 4)); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
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); |
|
|
|