From 19332c82be7b46dc2fb29d259a3b622bfbe4b184 Mon Sep 17 00:00:00 2001 From: shijie <648688341@qq.com> Date: Mon, 30 Nov 2020 18:02:34 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A9=B3=E5=9B=9E=E6=83=85=E5=86=B5=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DgAssetsInvestigationServiceImpl.java | 39 ++++++++++++++++--- .../DgGuaranteeAssignUserServiceImpl.java | 22 ++++++++--- .../DgMessageInvestigationServiceImpl.java | 22 +++++++++-- 3 files changed, 68 insertions(+), 15 deletions(-) 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 6a188c30..62d1c8dd 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 @@ -189,6 +189,19 @@ public class DgAssetsInvestigationServiceImpl extends ServiceImpl() + .eq("business_id",dgAssetsInvestigation.getBusinessId())); + + DgAssetsInvestigation assetsInvestigation = new DgAssetsInvestigation(); + assetsInvestigation.setOperatingStatus(StatusCode.CZ_ON_HAND);//待处理 + this.baseMapper.update(assets,new QueryWrapper() + .eq("business_id",dgAssetsInvestigation.getBusinessId()).eq("type",2)); + } + //资产部调查员调查,修改审核意见以及状态,修改其他数据 DgAssetsInvestigation assetsInvestigation = new DgAssetsInvestigation(); assetsInvestigation.setId(investigateAssetsRequest.getId());//主键id @@ -226,7 +239,7 @@ public class DgAssetsInvestigationServiceImpl extends ServiceImpl(). @@ -243,6 +256,23 @@ public class DgAssetsInvestigationServiceImpl extends ServiceImpl() + .eq("business_id",assetsInvestigation.getBusinessId())); + + DgAssetsInvestigation assets2 = new DgAssetsInvestigation(); + assets2.setOperatingStatus(StatusCode.CZ_ON_HAND);//待处理 + this.baseMapper.update(assets2,new QueryWrapper() + .eq("business_id",assetsInvestigation.getBusinessId()).eq("type",3)); + } + DgAssetsInvestigation dgAssetsInvestigation = new DgAssetsInvestigation(); dgAssetsInvestigation.setId(approvalAssetsRequest.getId()); dgAssetsInvestigation.setEmpId(Integer.parseInt(dgApplyAmountInfoController.getUserId())); @@ -256,9 +286,6 @@ public class DgAssetsInvestigationServiceImpl extends ServiceImpl() 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 d65c18bf..592f46b4 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 @@ -258,6 +258,21 @@ public class DgGuaranteeAssignUserServiceImpl extends ServiceImpl().eq("business_id",guaranteeUser.getBusinessId())); + + DgGuaranteeAssignUser user = new DgGuaranteeAssignUser(); + user.setOperatingStatus(StatusCode.CZ_ON_HAND);//操作状态为待处理 + this.baseMapper.update(assignUser,new QueryWrapper() + .eq("business_id",guaranteeUser.getBusinessId()).eq("type",4)); + } + DgGuaranteeAssignUser dgGuaranteeAssignUser = new DgGuaranteeAssignUser(); dgGuaranteeAssignUser.setId(approvalGuaranteeRequest.getId()); dgGuaranteeAssignUser.setEmpId(Integer.parseInt(dgApplyAmountInfoController.getUserId())); @@ -271,9 +286,6 @@ public class DgGuaranteeAssignUserServiceImpl extends ServiceImpl() .eq("business_id",guaranteeUser.getBusinessId()) diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgMessageInvestigationServiceImpl.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgMessageInvestigationServiceImpl.java index 34086b33..2a27e974 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgMessageInvestigationServiceImpl.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgMessageInvestigationServiceImpl.java @@ -244,6 +244,22 @@ public class DgMessageInvestigationServiceImpl extends ServiceImpl() + .eq("business_id",messageInvestigation.getBusinessId())); + + DgMessageInvestigation message2 = new DgMessageInvestigation(); + message2.setOperatingStatus(StatusCode.CZ_ON_HAND);//待处理 + this.baseMapper.update(message,new QueryWrapper() + .eq("business_id",messageInvestigation.getBusinessId()).eq("type",3)); + } + DgMessageInvestigation dgMessageInvestigation = new DgMessageInvestigation(); dgMessageInvestigation.setId(approvalMessageRequest.getId()); dgMessageInvestigation.setEmpId(Integer.parseInt(dgApplyAmountInfoController.getUserId())); @@ -253,8 +269,6 @@ public class DgMessageInvestigationServiceImpl extends ServiceImpl() .eq("business_id",messageInvestigation.getBusinessId())