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