|
|
|
@ -166,7 +166,7 @@ public class DgGuaranteeLetterAssignUserServiceImpl extends ServiceImpl<DgGuaran |
|
|
|
|
|
|
|
|
|
//同时往审核流程进程表新增一条记录
|
|
|
|
|
String account = DgApplyAmountInfoController.getAccount(); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"法规部经理",auditOpinion); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"法规部经理",auditOpinion,8); |
|
|
|
|
//更新成功,添加ab角数据
|
|
|
|
|
if (i > 0){ |
|
|
|
|
//添加a角
|
|
|
|
@ -199,7 +199,7 @@ public class DgGuaranteeLetterAssignUserServiceImpl extends ServiceImpl<DgGuaran |
|
|
|
|
int i = baseMapper.updateById(guaranteeLetterAssignUser); |
|
|
|
|
//同时往审核流程进程表新增一条记录
|
|
|
|
|
String account = DgApplyAmountInfoController.getAccount(); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"法规部经理",auditOpinion); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"法规部经理",auditOpinion,8); |
|
|
|
|
//更新成功,更新ab角数据
|
|
|
|
|
if (i > 0){ |
|
|
|
|
//更新a角
|
|
|
|
@ -244,7 +244,7 @@ public class DgGuaranteeLetterAssignUserServiceImpl extends ServiceImpl<DgGuaran |
|
|
|
|
int i = baseMapper.updateById(guaranteeLetterAssignUser); |
|
|
|
|
//同时往审核流程进程表新增一条记录
|
|
|
|
|
String account = DgApplyAmountInfoController.getAccount(); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"法规部经理",auditOpinion); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"法规部经理",auditOpinion,8); |
|
|
|
|
//更新成功,更新贷审会数据
|
|
|
|
|
if (i > 0){ |
|
|
|
|
//根据业务id查询贷审会数据
|
|
|
|
@ -284,7 +284,7 @@ public class DgGuaranteeLetterAssignUserServiceImpl extends ServiceImpl<DgGuaran |
|
|
|
|
int i = baseMapper.updateById(guaranteeLetterAssignUser); |
|
|
|
|
//同时往审核流程进程表新增一条记录
|
|
|
|
|
String account = DgApplyAmountInfoController.getAccount(); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"资产部经理",auditOpinion); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"资产部经理",auditOpinion,8); |
|
|
|
|
//获取公司id
|
|
|
|
|
Integer companyId = guaranteeLetterAssignUser.getCompanyId(); |
|
|
|
|
//更新成功,添加回款确认数据
|
|
|
|
@ -316,7 +316,7 @@ public class DgGuaranteeLetterAssignUserServiceImpl extends ServiceImpl<DgGuaran |
|
|
|
|
int i = baseMapper.updateById(guaranteeLetterAssignUser); |
|
|
|
|
//同时往审核流程进程表新增一条记录
|
|
|
|
|
String account = DgApplyAmountInfoController.getAccount(); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"资产部经理",auditOpinion); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"资产部经理",auditOpinion,8); |
|
|
|
|
//更新成功,更新回款确认数据
|
|
|
|
|
if (i > 0){ |
|
|
|
|
//更新财务部经理的回款数据
|
|
|
|
@ -350,7 +350,7 @@ public class DgGuaranteeLetterAssignUserServiceImpl extends ServiceImpl<DgGuaran |
|
|
|
|
int i = baseMapper.updateById(guaranteeLetterAssignUser); |
|
|
|
|
//同时往审核流程进程表新增一条记录
|
|
|
|
|
String account = DgApplyAmountInfoController.getAccount(); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"资产部经理",auditOpinion); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"资产部经理",auditOpinion,8); |
|
|
|
|
//更新成功,更新AB角数据
|
|
|
|
|
if (i > 0){ |
|
|
|
|
//根据业务id查询A角数据
|
|
|
|
@ -404,7 +404,7 @@ public class DgGuaranteeLetterAssignUserServiceImpl extends ServiceImpl<DgGuaran |
|
|
|
|
log.info(i > 0 ? "首次a角用户确认担保函更新成功" : "首次a角用户确认担保函更新失败"); |
|
|
|
|
//同时往审核流程进程表新增一条记录
|
|
|
|
|
String account = DgApplyAmountInfoController.getAccount(); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"指派A角",auditOpinion); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"指派A角",auditOpinion,8); |
|
|
|
|
//更新成功后,判断b角用户是否确认
|
|
|
|
|
if (i > 0){ |
|
|
|
|
QueryWrapper<DgGuaranteeLetterAssignUser> tempB = new QueryWrapper<>(); |
|
|
|
@ -442,7 +442,7 @@ public class DgGuaranteeLetterAssignUserServiceImpl extends ServiceImpl<DgGuaran |
|
|
|
|
log.info(i > 0 ? "驳回后a角用户确认担保函更新成功" : "驳回后a角用户确认担保函更新失败"); |
|
|
|
|
//同时往审核流程进程表新增一条记录
|
|
|
|
|
String account = DgApplyAmountInfoController.getAccount(); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"指派A角",auditOpinion); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"指派A角",auditOpinion,8); |
|
|
|
|
//更新成功后,判断b角用户是否确认
|
|
|
|
|
if (i > 0){ |
|
|
|
|
QueryWrapper<DgGuaranteeLetterAssignUser> tempB = new QueryWrapper<>(); |
|
|
|
@ -484,7 +484,7 @@ public class DgGuaranteeLetterAssignUserServiceImpl extends ServiceImpl<DgGuaran |
|
|
|
|
log.info(i > 0 ? "a角用户驳回担保函更新成功" : "a角用户驳回担保函更新失败"); |
|
|
|
|
//同时往审核流程进程表新增一条记录
|
|
|
|
|
String account = DgApplyAmountInfoController.getAccount(); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"指派A角",auditOpinion); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"指派A角",auditOpinion,8); |
|
|
|
|
//更新成功后,更新b角数据及更新法规部经理数据
|
|
|
|
|
if (i > 0){ |
|
|
|
|
//更新b用户的审核状态为驳回
|
|
|
|
@ -533,7 +533,7 @@ public class DgGuaranteeLetterAssignUserServiceImpl extends ServiceImpl<DgGuaran |
|
|
|
|
log.info(i > 0 ? "首次b角用户确认担保函更新成功" : "首次b角用户确认担保函更新失败"); |
|
|
|
|
//同时往审核流程进程表新增一条记录
|
|
|
|
|
String account = DgApplyAmountInfoController.getAccount(); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"指派B角",auditOpinion); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"指派B角",auditOpinion,8); |
|
|
|
|
//更新成功后,判断a角用户是否确认
|
|
|
|
|
if (i > 0){ |
|
|
|
|
QueryWrapper<DgGuaranteeLetterAssignUser> tempB = new QueryWrapper<>(); |
|
|
|
@ -572,7 +572,7 @@ public class DgGuaranteeLetterAssignUserServiceImpl extends ServiceImpl<DgGuaran |
|
|
|
|
log.info(i > 0 ? "驳回后b角用户确认担保函更新成功" : "驳回后b角用户确认担保函更新失败"); |
|
|
|
|
//同时往审核流程进程表新增一条记录
|
|
|
|
|
String account = DgApplyAmountInfoController.getAccount(); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"指派B角",auditOpinion); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"指派B角",auditOpinion,8); |
|
|
|
|
//更新成功后,判断a角用户是否确认
|
|
|
|
|
if (i > 0){ |
|
|
|
|
QueryWrapper<DgGuaranteeLetterAssignUser> tempB = new QueryWrapper<>(); |
|
|
|
@ -614,7 +614,7 @@ public class DgGuaranteeLetterAssignUserServiceImpl extends ServiceImpl<DgGuaran |
|
|
|
|
log.info(i > 0 ? "b角用户驳回担保函更新成功" : "b角用户驳回担保函更新失败"); |
|
|
|
|
//同时往审核流程进程表新增一条记录
|
|
|
|
|
String account = DgApplyAmountInfoController.getAccount(); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"指派B角",auditOpinion); |
|
|
|
|
AuditProcessUtil.save(businessId,account,"指派B角",auditOpinion,8); |
|
|
|
|
//更新成功后,更新a角数据及更新法规部经理数据
|
|
|
|
|
if (i > 0){ |
|
|
|
|
//更新a用户的审核状态为驳回
|
|
|
|
|