From ab0b165ba4e3ffeece83aee59324760b6e665b41 Mon Sep 17 00:00:00 2001 From: chen <1251790704@qq.com> Date: Mon, 22 Mar 2021 14:43:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BF=9D=E5=90=8E=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E6=95=B0=E6=8D=AE=EF=BC=8C=E6=8C=87=E5=AE=9Ajdk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dq-financial-api/pom.xml | 13 +++++++++++++ .../service/impl/DgLoanNoticeServiceImpl.java | 15 ++++++++++----- .../src/main/resources/mapper/hrms/RoleDao.xml | 8 ++++++++ dq-framework-model/pom.xml | 13 +++++++++++++ pom.xml | 13 +++++++++++++ 5 files changed, 57 insertions(+), 5 deletions(-) diff --git a/dq-financial-api/pom.xml b/dq-financial-api/pom.xml index 90eb2948..bc2f749a 100644 --- a/dq-financial-api/pom.xml +++ b/dq-financial-api/pom.xml @@ -35,4 +35,17 @@ --> + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.8 + 1.8 + + + + \ No newline at end of file diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgLoanNoticeServiceImpl.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgLoanNoticeServiceImpl.java index 1101701a..bf23cdb3 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgLoanNoticeServiceImpl.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgLoanNoticeServiceImpl.java @@ -62,6 +62,9 @@ public class DgLoanNoticeServiceImpl extends ServiceImpl().eq("business_id", businessId)); @@ -161,6 +164,7 @@ public class DgLoanNoticeServiceImpl extends ServiceImpl arr = new ArrayList<>(); arr.add(presenterId); //根据提单人id查询其部门名称 @@ -176,9 +180,10 @@ public class DgLoanNoticeServiceImpl extends ServiceImpl 0 ? "业务流程已完成" : "业务流程已完成更新失败"); - return updateById > 0; + int insert = alInsuranceListMapper.insert(alInsuranceList); + //添加成功,返回操作结果 + log.info(insert > 0 ? "业务流程已完成,进入保后管理" : "业务流程更新失败"); + return insert > 0; } } diff --git a/dq-financial-hrms/src/main/resources/mapper/hrms/RoleDao.xml b/dq-financial-hrms/src/main/resources/mapper/hrms/RoleDao.xml index 83b79342..01e15e1c 100644 --- a/dq-financial-hrms/src/main/resources/mapper/hrms/RoleDao.xml +++ b/dq-financial-hrms/src/main/resources/mapper/hrms/RoleDao.xml @@ -33,4 +33,12 @@ role_id = #{roleId} + + \ No newline at end of file diff --git a/dq-framework-model/pom.xml b/dq-framework-model/pom.xml index ab582637..add5b050 100644 --- a/dq-framework-model/pom.xml +++ b/dq-framework-model/pom.xml @@ -22,4 +22,17 @@ 0.0.1-SNAPSHOT + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.8 + 1.8 + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index a1662b25..28235f8b 100644 --- a/pom.xml +++ b/pom.xml @@ -21,4 +21,17 @@ dq-financial-guarantee + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.8 + 1.8 + + + +