diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgApplyAmountInfoServiceImpl.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgApplyAmountInfoServiceImpl.java index 16dcb7c2..6df68875 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgApplyAmountInfoServiceImpl.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgApplyAmountInfoServiceImpl.java @@ -637,11 +637,11 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl() .eq("business_id",dgApplyAmountList1.getBusinessId()).eq("type",2)); - //担保部经理处,驳回状态改为审核中 + //担保部经理处,驳回状态改为审核中(现改为所有该业务下状态均改为审核中) DgGuaranteeAssignUser user2 = new DgGuaranteeAssignUser(); user2.setStatus(StatusCode.SP_IN_REVIEW); dgGuaranteeAssignUserMapper.update(user2,new QueryWrapper() - .eq("business_id",dgApplyAmountList1.getBusinessId()).eq("type",3)); + .eq("business_id",dgApplyAmountList1.getBusinessId()));//.eq("type",3) } } }else if(dgApplyAmountList.getStatus().equals(StatusCode.SP_REVIEWED) && dgApplyAmountList.getOperatingStatus().equals(StatusCode.CZ_PROCESSED)){ diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgAssetsInvestigationServiceImpl.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgAssetsInvestigationServiceImpl.java index da081e46..a0af3ee4 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgAssetsInvestigationServiceImpl.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgAssetsInvestigationServiceImpl.java @@ -375,7 +375,7 @@ public class DgAssetsInvestigationServiceImpl extends ServiceImpl() .eq("business_id", assetsInvestigation2.getBusinessId()).eq("type", 3)); + DgAssetsInvestigation assign = new DgAssetsInvestigation(); + assign.setStatus(StatusCode.SP_IN_REVIEW);//审批状态为审核中 + //修改该业务下所有审批状态为审核中 + this.baseMapper.update(assign,new QueryWrapper() + .eq("business_id",assetsInvestigation2.getBusinessId())); + if(count>0){//资产领导有数据,则直接修改领导状态 DgAssetsInvestigation assignUser = new DgAssetsInvestigation(); assignUser.setStatus(StatusCode.SP_IN_REVIEW);//审批状态为审核中 diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgGuaranteeAssignUserServiceImpl.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgGuaranteeAssignUserServiceImpl.java index 011f1ebd..ad0b310e 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgGuaranteeAssignUserServiceImpl.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgGuaranteeAssignUserServiceImpl.java @@ -633,6 +633,12 @@ public class DgGuaranteeAssignUserServiceImpl extends ServiceImpl() .eq("business_id", guaranteeAssignUser.getBusinessId()).eq("type", 4)); + DgGuaranteeAssignUser assign = new DgGuaranteeAssignUser(); + assign.setStatus(StatusCode.SP_IN_REVIEW);//审批状态为审核中 + //修改该业务下所有审批状态为审核中 + this.baseMapper.update(assign,new QueryWrapper() + .eq("business_id",guaranteeAssignUser.getBusinessId())); + if(count>0){//担保领导有数据,则直接修改领导状态 DgGuaranteeAssignUser assignUser = new DgGuaranteeAssignUser(); assignUser.setStatus(StatusCode.SP_IN_REVIEW);//审批状态为审核中