|
|
|
@ -375,7 +375,7 @@ public class DgAssetsInvestigationServiceImpl extends ServiceImpl<DgAssetsInvest |
|
|
|
|
.set(DgAssetsInvestigation::getEmpId, Integer.parseInt(dgApplyAmountInfoController.getUserId())) |
|
|
|
|
.set(DgAssetsInvestigation::getRemark, ArraysUtil.toString(approvalAssetsRequest.getRemark())) |
|
|
|
|
.set(DgAssetsInvestigation::getOtherRemark, approvalAssetsRequest.getOtherRemark()) |
|
|
|
|
.set(DgAssetsInvestigation::getStatus, approvalAssetsRequest.getStatus()) |
|
|
|
|
.set(DgAssetsInvestigation::getStatus, dgAssetsInvestigation.getStatus())//approvalAssetsRequest.getStatus()
|
|
|
|
|
.set(DgAssetsInvestigation::getOperatingStatus, StatusCode.CZ_PROCESSED) |
|
|
|
|
.set(DgAssetsInvestigation::getAmount, approvalAssetsRequest.getAmount()) |
|
|
|
|
.set(DgAssetsInvestigation::getTerm, approvalAssetsRequest.getTerm()) |
|
|
|
@ -436,6 +436,12 @@ public class DgAssetsInvestigationServiceImpl extends ServiceImpl<DgAssetsInvest |
|
|
|
|
Integer count = this.baseMapper.selectCount(new QueryWrapper<DgAssetsInvestigation>() |
|
|
|
|
.eq("business_id", assetsInvestigation2.getBusinessId()).eq("type", 3)); |
|
|
|
|
|
|
|
|
|
DgAssetsInvestigation assign = new DgAssetsInvestigation(); |
|
|
|
|
assign.setStatus(StatusCode.SP_IN_REVIEW);//审批状态为审核中
|
|
|
|
|
//修改该业务下所有审批状态为审核中
|
|
|
|
|
this.baseMapper.update(assign,new QueryWrapper<DgAssetsInvestigation>() |
|
|
|
|
.eq("business_id",assetsInvestigation2.getBusinessId())); |
|
|
|
|
|
|
|
|
|
if(count>0){//资产领导有数据,则直接修改领导状态
|
|
|
|
|
DgAssetsInvestigation assignUser = new DgAssetsInvestigation(); |
|
|
|
|
assignUser.setStatus(StatusCode.SP_IN_REVIEW);//审批状态为审核中
|
|
|
|
|