From 8588ff7ab18749de055bafeb2833bcc3992b5687 Mon Sep 17 00:00:00 2001
From: shijie <648688341@qq.com>
Date: Tue, 5 Jan 2021 14:35:08 +0800
Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D=EF=BC=8Cpom=E6=96=87?=
=?UTF-8?q?=E4=BB=B6=E5=A4=84=E7=90=86=E8=BF=98=E5=8E=9F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
dq-financial-api/pom.xml | 24 ++--
dq-financial-crms/pom.xml | 46 ++++---
.../financial/crms/config/IPageConfig.java | 2 -
.../crms/controller/CustomerController.java | 2 +-
.../financial/crms/dao/CustomerDao.java | 3 +-
.../service/impl/CustomerServiceImpl.java | 11 +-
.../resources/mapper/crms/CustomerDao.xml | 19 +--
dq-financial-guarantee/pom.xml | 54 ++++----
.../guarantee/config/IPageConfig.java | 14 +-
.../controller/DgEfficiencyController.java | 18 ++-
.../mapper/DgApplyAmountListMapper.java | 4 +
.../mapper/DgAssetsInvestigationMapper.java | 3 +
.../DgComplianceInvestigationMapper.java | 3 +
.../mapper/DgGuaranteeAssignUserMapper.java | 3 +
.../DgGuaranteeLetterAssignUserMapper.java | 3 +
.../mapper/DgLoanCommitteeConsiderMapper.java | 3 +
.../guarantee/mapper/DgLoanNoticeMapper.java | 3 +
.../mapper/DgMessageInvestigationMapper.java | 3 +
.../DgPaymentConfirmationConsiderMapper.java | 3 +
.../DgWorkConferenceConsiderMapper.java | 3 +
.../model/response/DgNoticeListResponse.java | 34 +++++
.../service/IDgEfficiencyService.java | 3 +
.../service/impl/DgEfficiencyServiceImpl.java | 122 +++++++++++++++++-
.../guarantee/DgApplyAmountListMapper.xml | 16 +++
.../guarantee/DgAssetsInvestigationMapper.xml | 16 +++
.../mapper/guarantee/DgAuditProcessMapper.xml | 3 +-
.../DgComplianceInvestigationMapper.xml | 16 +++
.../guarantee/DgGuaranteeAssignUserMapper.xml | 16 +++
.../DgGuaranteeLetterAssignUserMapper.xml | 16 +++
.../DgLoanCommitteeConsiderMapper.xml | 15 +++
.../mapper/guarantee/DgLoanNoticeMapper.xml | 16 +++
.../DgMessageInvestigationMapper.xml | 16 +++
.../DgPaymentConfirmationConsiderMapper.xml | 16 +++
.../DgWorkConferenceConsiderMapper.xml | 16 +++
dq-financial-hrms-auth/pom.xml | 45 ++++---
.../hrauth/feign/HrmsFeignService.java | 9 +-
.../src/main/resources/bootstrap.properties | 2 +
dq-financial-hrms/pom.xml | 25 ++--
.../hrms/DqFinancialHrmsApplication.java | 1 -
.../financial/hrms/config/IPageConfig.java | 2 -
.../src/main/resources/application.yml | 12 --
.../src/main/resources/bootstrap.properties | 1 +
.../resources/mapper/hrms/EmployeeDao.xml | 2 +-
dq-framework-common/pom.xml | 48 ++++---
dq-framework-model/pom.xml | 23 +---
.../framework/domain/crms/ext/CustomerTO.java | 3 +
dq-framework-utils/pom.xml | 38 ++++--
dq-govern-gateway/pom.xml | 33 ++++-
.../src/main/resources/bootstrap.properties | 2 +-
pom.xml | 48 +------
50 files changed, 595 insertions(+), 244 deletions(-)
create mode 100644 dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/response/DgNoticeListResponse.java
delete mode 100644 dq-financial-hrms/src/main/resources/application.yml
diff --git a/dq-financial-api/pom.xml b/dq-financial-api/pom.xml
index c8584a3e..90eb2948 100644
--- a/dq-financial-api/pom.xml
+++ b/dq-financial-api/pom.xml
@@ -9,16 +9,17 @@
4.0.0
+ com.daqing.financial
dq-financial-api
- 系统API统一定义api
+ 系统API统一定义
com.daqing.framework
dq-framework-model
- 0.0.1-SNAPSHOT
+ 1.0-SNAPSHOT
@@ -26,19 +27,12 @@
spring-boot-starter-web
2.1.8.RELEASE
+
-
-
-
-
- org.springframework.boot
- spring-boot-maven-plugin
-
- true
-
-
-
-
-
\ No newline at end of file
diff --git a/dq-financial-crms/pom.xml b/dq-financial-crms/pom.xml
index 54f97d16..2e677483 100644
--- a/dq-financial-crms/pom.xml
+++ b/dq-financial-crms/pom.xml
@@ -3,13 +3,16 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- financial
- com.daqing.financial
- 0.0.1-SNAPSHOT
+ org.springframework.boot
+ spring-boot-starter-parent
+ 2.1.8.RELEASE
+
+ com.daqing.financial
dq-financial-crms
0.0.1-SNAPSHOT
- 客户资源管理服务crms
+ dq-financial-crms
+ 大庆智慧金融平台-客户资源管理服务
1.8
@@ -18,12 +21,12 @@
-
+
com.daqing.financial
dq-financial-api
@@ -79,16 +82,25 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
+
+
+
+
diff --git a/dq-financial-crms/src/main/java/com/daqing/financial/crms/config/IPageConfig.java b/dq-financial-crms/src/main/java/com/daqing/financial/crms/config/IPageConfig.java
index 243e1e84..6001a7e0 100644
--- a/dq-financial-crms/src/main/java/com/daqing/financial/crms/config/IPageConfig.java
+++ b/dq-financial-crms/src/main/java/com/daqing/financial/crms/config/IPageConfig.java
@@ -1,4 +1,3 @@
-/*
package com.daqing.financial.crms.config;
import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
@@ -12,4 +11,3 @@ public class IPageConfig {
return new PaginationInterceptor();
}
}
-*/
diff --git a/dq-financial-crms/src/main/java/com/daqing/financial/crms/controller/CustomerController.java b/dq-financial-crms/src/main/java/com/daqing/financial/crms/controller/CustomerController.java
index 39dbaf70..e11a54a0 100644
--- a/dq-financial-crms/src/main/java/com/daqing/financial/crms/controller/CustomerController.java
+++ b/dq-financial-crms/src/main/java/com/daqing/financial/crms/controller/CustomerController.java
@@ -18,7 +18,7 @@ import com.daqing.framework.utils.PageUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.security.access.prepost.PreAuthorize;
+//import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
diff --git a/dq-financial-crms/src/main/java/com/daqing/financial/crms/dao/CustomerDao.java b/dq-financial-crms/src/main/java/com/daqing/financial/crms/dao/CustomerDao.java
index 830744c7..2e41e8cd 100644
--- a/dq-financial-crms/src/main/java/com/daqing/financial/crms/dao/CustomerDao.java
+++ b/dq-financial-crms/src/main/java/com/daqing/financial/crms/dao/CustomerDao.java
@@ -6,6 +6,7 @@ import com.daqing.framework.domain.crms.CustomerEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.daqing.framework.domain.crms.PersonalCustomerEntity;
import com.daqing.framework.domain.crms.request.CustomerRequest;
+import com.daqing.framework.domain.crms.response.CustomerEntityResponse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@@ -21,7 +22,7 @@ import java.util.List;
@Mapper
public interface CustomerDao extends BaseMapper {
- IPage queryList(Page page, @Param("cr") CustomerRequest customerRequest);
+ IPage queryList(Page page, @Param("cr") CustomerRequest customerRequest);
CustomerEntity queryCustomerById(Long id);
diff --git a/dq-financial-crms/src/main/java/com/daqing/financial/crms/service/impl/CustomerServiceImpl.java b/dq-financial-crms/src/main/java/com/daqing/financial/crms/service/impl/CustomerServiceImpl.java
index c065f1e3..794f185c 100644
--- a/dq-financial-crms/src/main/java/com/daqing/financial/crms/service/impl/CustomerServiceImpl.java
+++ b/dq-financial-crms/src/main/java/com/daqing/financial/crms/service/impl/CustomerServiceImpl.java
@@ -21,6 +21,7 @@ import com.daqing.framework.domain.crms.request.CustomerRequest;
import com.daqing.framework.domain.crms.request.DgApplyAmountInfoRequest;
import com.daqing.framework.domain.crms.response.CompanyCustomerResponse;
import com.daqing.framework.domain.crms.response.CrmsCode;
+import com.daqing.framework.domain.crms.response.CustomerEntityResponse;
import com.daqing.framework.domain.hrms.EmployeeEntity;
import com.daqing.framework.domain.hrms.ext.EmployeeTO;
import com.daqing.framework.domain.hrms.ext.EmployeeVO;
@@ -78,9 +79,9 @@ public class CustomerServiceImpl extends ServiceImpl pages = this.pageCheckout(page, size);
// 查询所有客户的基本信息
- IPage customerEntityIPage = customerDao.queryList(pages, customerRequest);
+ IPage customerEntityIPage = customerDao.queryList(pages, customerRequest);
// 获取所有的客户基本信息
- List customers = customerEntityIPage.getRecords();
+ List customers = customerEntityIPage.getRecords();
// 获取所有的客户经理id
Long[] managerIds = new Long[customers.size()];
for (int i = 0; i < customers.size(); i++) {
@@ -101,7 +102,7 @@ public class CustomerServiceImpl extends ServiceImpl jointCustomerEmployee(List customers, List employeeTO) {
+ private List jointCustomerEmployee(List customers, List employeeTO) {
List customerTOS = new ArrayList<>();// 用于拼装客户信息和员工及部门信息的集合
CustomerTO customerTO;
// 将客户信息和客户经理及部门信息拼装起来
- for (CustomerEntity customer : customers) {
+ for (CustomerEntityResponse customer : customers) {
// 每一个客户对应一个不同的对象
customerTO = new CustomerTO();
for (EmployeeTO employee : employeeTO) {
diff --git a/dq-financial-crms/src/main/resources/mapper/crms/CustomerDao.xml b/dq-financial-crms/src/main/resources/mapper/crms/CustomerDao.xml
index b871d350..a0ccbe54 100644
--- a/dq-financial-crms/src/main/resources/mapper/crms/CustomerDao.xml
+++ b/dq-financial-crms/src/main/resources/mapper/crms/CustomerDao.xml
@@ -21,23 +21,24 @@
-
+
+ select au.id,au.role_id,ai.business_code,au.create_time
+ from dg_apply_amount_list au
+ left join dg_apply_amount_info ai on au.business_id = ai.id
+
+ au.role_id in
+
+ #{id}
+
+
+ AND (au.emp_id =#{userId} or au.emp_id is null or au.emp_id ='')
+
+ AND au.operating_status=1
+
+
+
diff --git a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgAssetsInvestigationMapper.xml b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgAssetsInvestigationMapper.xml
index 48e60031..c3146893 100644
--- a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgAssetsInvestigationMapper.xml
+++ b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgAssetsInvestigationMapper.xml
@@ -76,4 +76,20 @@
+
+ select au.id,au.role_id,ai.business_code,au.create_time
+ from dg_assets_investigation au
+ left join dg_apply_amount_info ai on au.business_id = ai.id
+
+ au.role_id in
+
+ #{id}
+
+
+ AND (au.emp_id =#{userId} or au.emp_id is null or au.emp_id ='')
+
+ AND au.operating_status=1
+
+
+
diff --git a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgAuditProcessMapper.xml b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgAuditProcessMapper.xml
index cd557284..13f22582 100644
--- a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgAuditProcessMapper.xml
+++ b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgAuditProcessMapper.xml
@@ -7,7 +7,6 @@
-
@@ -17,7 +16,7 @@
- select dap.id,dap.business_id,dap.approver,dap.dept_name,dap.create_time,dap.audit_opinion,
+ select dap.id,dap.business_id,dap.approver,dap.create_time,dap.audit_opinion,
dbps.business_status as status,dap.reason,dap.loan_money,dap.loan_tern
from dg_audit_process dap
left join dg_business_process_status dbps on dbps.business_id = dap.business_id
diff --git a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgComplianceInvestigationMapper.xml b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgComplianceInvestigationMapper.xml
index 95074f51..fb04ebf1 100644
--- a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgComplianceInvestigationMapper.xml
+++ b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgComplianceInvestigationMapper.xml
@@ -202,4 +202,20 @@
AND a.business_id = #{businessId}
+
+ SELECT au.id,au.role_id,ai.business_code,au.create_time
+ FROM dg_compliance_investigation au
+ left join dg_apply_amount_info ai on au.business_id = ai.id
+
+ au.role_id in
+
+ #{id}
+
+
+ AND (au.user_id =#{userId} or au.user_id is null or au.user_id ='')
+
+ AND au.operation_status=1
+
+
+
diff --git a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgGuaranteeAssignUserMapper.xml b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgGuaranteeAssignUserMapper.xml
index 2f66874e..f9d999e7 100644
--- a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgGuaranteeAssignUserMapper.xml
+++ b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgGuaranteeAssignUserMapper.xml
@@ -70,4 +70,20 @@
WHERE business_id = #{businessId} AND (role_id = 59 OR role_id = 60)
+
+ select au.id,au.role_id,ai.business_code,au.create_time
+ from dg_guarantee_assign_user au
+ left join dg_apply_amount_info ai on au.business_id = ai.id
+
+ au.role_id in
+
+ #{id}
+
+
+ AND (au.emp_id =#{userId} or au.emp_id is null or au.emp_id ='')
+
+ AND au.operating_status=1
+
+
+
diff --git a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgGuaranteeLetterAssignUserMapper.xml b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgGuaranteeLetterAssignUserMapper.xml
index 8cc0fc10..ac2a82df 100644
--- a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgGuaranteeLetterAssignUserMapper.xml
+++ b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgGuaranteeLetterAssignUserMapper.xml
@@ -86,4 +86,20 @@
where lau.business_id = #{businessId} and lau.role_id = #{roleId}
+
+ select au.id,au.role_id,ai.business_code,au.create_time
+ from dg_guarantee_letter_assign_user au
+ left join dg_apply_amount_info ai on au.business_id = ai.id
+
+ au.role_id in
+
+ #{id}
+
+
+ AND (au.user_id =#{userId} or au.user_id is null or au.user_id ='')
+
+ AND au.operating_status=1
+
+
+
diff --git a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgLoanCommitteeConsiderMapper.xml b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgLoanCommitteeConsiderMapper.xml
index 11e23b8a..a22a9a72 100644
--- a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgLoanCommitteeConsiderMapper.xml
+++ b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgLoanCommitteeConsiderMapper.xml
@@ -150,5 +150,20 @@
SELECT COUNT(id) FROM dg_guarantee_letter_assign_user WHERE business_id = #{businessId} AND role_id = #{roleId}
+
+ SELECT au.id,au.role_id,ai.business_code,au.create_time
+ FROM dg_loan_committee_consider au
+ left join dg_apply_amount_info ai on au.business_id = ai.id
+
+ au.role_id in
+
+ #{id}
+
+
+ AND (au.consider_id =#{userId} or au.consider_id is null or au.consider_id ='')
+
+ AND au.operating_status=1
+
+
diff --git a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgLoanNoticeMapper.xml b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgLoanNoticeMapper.xml
index b1a5f05d..ab8d217c 100644
--- a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgLoanNoticeMapper.xml
+++ b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgLoanNoticeMapper.xml
@@ -85,4 +85,20 @@
where ln.business_id = #{businessId} and ln.role_id = #{roleId}
+
+ select au.id,au.role_id,ai.business_code,au.create_time
+ from dg_loan_notice au
+ left join dg_apply_amount_info ai on au.business_id = ai.id
+
+ au.role_id in
+
+ #{id}
+
+
+ AND (au.consider_id =#{userId} or au.consider_id is null or au.consider_id ='')
+
+ AND au.operating_status=1
+
+
+
diff --git a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgMessageInvestigationMapper.xml b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgMessageInvestigationMapper.xml
index 4e2d2ebc..fad8f661 100644
--- a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgMessageInvestigationMapper.xml
+++ b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgMessageInvestigationMapper.xml
@@ -58,4 +58,20 @@
+
+ select au.id,au.role_id,ai.business_code,au.create_time
+ from dg_message_investigation au
+ left join dg_apply_amount_info ai on au.business_id = ai.id
+
+ au.role_id in
+
+ #{id}
+
+
+ AND (au.emp_id =#{userId} or au.emp_id is null or au.emp_id ='')
+
+ AND au.operating_status=1
+
+
+
diff --git a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgPaymentConfirmationConsiderMapper.xml b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgPaymentConfirmationConsiderMapper.xml
index 4c67b36c..670517f0 100644
--- a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgPaymentConfirmationConsiderMapper.xml
+++ b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgPaymentConfirmationConsiderMapper.xml
@@ -77,4 +77,20 @@
+
+ select au.id,au.role_id,ai.business_code,au.create_time
+ from dg_payment_confirmation_consider au
+ left join dg_apply_amount_info ai on au.business_id = ai.id
+
+ au.role_id in
+
+ #{id}
+
+
+ AND (au.consider_id =#{userId} or au.consider_id is null or au.consider_id ='')
+
+ AND au.operating_status=1
+
+
+
diff --git a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgWorkConferenceConsiderMapper.xml b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgWorkConferenceConsiderMapper.xml
index e84a9e36..7c876efe 100644
--- a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgWorkConferenceConsiderMapper.xml
+++ b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgWorkConferenceConsiderMapper.xml
@@ -131,4 +131,20 @@
UPDATE dg_work_conference_consider SET user_id = #{userId} WHERE id = #{id}
+
+ SELECT au.id,au.role_id,ai.business_code,au.create_time
+ FROM dg_work_conference_consider au
+ left join dg_apply_amount_info ai on au.business_id = ai.id
+
+ au.role_id in
+
+ #{id}
+
+
+ AND (au.user_id =#{userId} or au.user_id is null or au.user_id ='')
+
+ AND au.operation_status=1
+
+
+
diff --git a/dq-financial-hrms-auth/pom.xml b/dq-financial-hrms-auth/pom.xml
index 11c52cfd..1e7f00ba 100644
--- a/dq-financial-hrms-auth/pom.xml
+++ b/dq-financial-hrms-auth/pom.xml
@@ -3,13 +3,16 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- financial
- com.daqing.financial
- 0.0.1-SNAPSHOT
+ org.springframework.boot
+ spring-boot-starter-parent
+ 2.1.8.RELEASE
+
+ com.daqing.financial
dq-financial-hrms-auth
0.0.1-SNAPSHOT
- 人资用户认证服务hrms-auth
+ dq-financial-hrms-auth
+ 大庆智慧金融平台-人资用户认证服务
1.8
@@ -70,11 +73,11 @@
compile
-
+
org.springframework.boot
spring-boot-starter-web
@@ -98,19 +101,19 @@
org.springframework.boot
spring-boot-maven-plugin
-
-
-
-
-
+
+
diff --git a/dq-financial-hrms-auth/src/main/java/com/daqing/financial/hrauth/feign/HrmsFeignService.java b/dq-financial-hrms-auth/src/main/java/com/daqing/financial/hrauth/feign/HrmsFeignService.java
index b96d5972..df96dd99 100644
--- a/dq-financial-hrms-auth/src/main/java/com/daqing/financial/hrauth/feign/HrmsFeignService.java
+++ b/dq-financial-hrms-auth/src/main/java/com/daqing/financial/hrauth/feign/HrmsFeignService.java
@@ -2,11 +2,13 @@ package com.daqing.financial.hrauth.feign;
import com.daqing.framework.domain.hrms.EmployeeEntity;
import com.daqing.framework.domain.hrms.PermissionEntity;
-import com.daqing.framework.domain.hrms.RoleEntity;
import com.daqing.framework.domain.hrms.RolePermissionEntity;
import com.daqing.framework.model.response.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;
@@ -15,10 +17,11 @@ import java.util.List;
/**
* 这是一个声明式的远程调用
*/
-@FeignClient(value = "dq-financial-hrms",contextId = "hrms")
+@Component
+@FeignClient(name="dq-financial-hrms", value = "dq-financial-hrms",contextId = "hrms")
public interface HrmsFeignService {
- @GetMapping("/hrms/employee/getEmployeeByUserId")
+ @RequestMapping(method = RequestMethod.GET, value = "/hrms/employee/getEmployeeByUserId")
ResponseResult getEmployeeByUserId(@RequestParam("userId") Integer userId);
@GetMapping("/hrms/permission/queryPermissionList")
diff --git a/dq-financial-hrms-auth/src/main/resources/bootstrap.properties b/dq-financial-hrms-auth/src/main/resources/bootstrap.properties
index 89e224ba..91ca0930 100644
--- a/dq-financial-hrms-auth/src/main/resources/bootstrap.properties
+++ b/dq-financial-hrms-auth/src/main/resources/bootstrap.properties
@@ -57,6 +57,8 @@ spring.redis.jedis.pool.min-idle=0
#spring.redis.jedis.pool.max-idle=8
#spring.redis.jedis.pool.min-idle=0
+#feign.okhttp.enabled=true
+
#测试环境(prod)
#spring.application.name=dq-financial-hrms-auth
#
diff --git a/dq-financial-hrms/pom.xml b/dq-financial-hrms/pom.xml
index 5b50f8e2..7e12b2b5 100644
--- a/dq-financial-hrms/pom.xml
+++ b/dq-financial-hrms/pom.xml
@@ -11,7 +11,8 @@
com.daqing.financial
dq-financial-hrms
0.0.1-SNAPSHOT
- 人力资源管理服务hrms
+ dq-financial-hrms
+ 大庆智慧金融平台-人力资源管理服务
1.8
@@ -38,17 +39,17 @@
ooxml-schemas
1.0
-
- com.daqing.financial
- dq-financial-hrms-auth
- 0.0.1-SNAPSHOT
- compile
-
-
+
+
diff --git a/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/DqFinancialHrmsApplication.java b/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/DqFinancialHrmsApplication.java
index b9b29137..ba296e98 100644
--- a/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/DqFinancialHrmsApplication.java
+++ b/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/DqFinancialHrmsApplication.java
@@ -13,7 +13,6 @@ import org.springframework.scheduling.annotation.EnableScheduling;
@SpringBootApplication
@ComponentScan(basePackages = "com.daqing")
@EnableScheduling
-//@Import({SecurityConfig.class})
public class DqFinancialHrmsApplication {
public static void main(String[] args) {
diff --git a/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/config/IPageConfig.java b/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/config/IPageConfig.java
index ed530d1c..278266af 100644
--- a/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/config/IPageConfig.java
+++ b/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/config/IPageConfig.java
@@ -1,4 +1,3 @@
-/*
package com.daqing.financial.hrms.config;
import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
@@ -12,4 +11,3 @@ public class IPageConfig {
return new PaginationInterceptor();
}
}
-*/
diff --git a/dq-financial-hrms/src/main/resources/application.yml b/dq-financial-hrms/src/main/resources/application.yml
deleted file mode 100644
index 30e77ef2..00000000
--- a/dq-financial-hrms/src/main/resources/application.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-#security:
-# oauth2:
-# client:
-# client-id: user-client
-# client-secret: user-secret-8888
-# user-authorization-uri: http://localhost:7000/oauth/authorize
-# access-token-uri: http://localhost:7000/oauth/token
-# resource:
-# id: user-client
-# user-info-uri: user-info
-# authorization:
-# check-token-access: http://localhost:7000/oauth/check_token
\ No newline at end of file
diff --git a/dq-financial-hrms/src/main/resources/bootstrap.properties b/dq-financial-hrms/src/main/resources/bootstrap.properties
index 69b5c7fa..f933c6cf 100644
--- a/dq-financial-hrms/src/main/resources/bootstrap.properties
+++ b/dq-financial-hrms/src/main/resources/bootstrap.properties
@@ -65,6 +65,7 @@ spring.servlet.multipart.max-request-size=10MB
#spring.redis.jedis.pool.max-wait=-1
#spring.redis.jedis.pool.max-idle=8
#spring.redis.jedis.pool.min-idle=0
+
#
#spring.servlet.multipart.max-file-size=10MB
#spring.servlet.multipart.max-request-size=10MB
diff --git a/dq-financial-hrms/src/main/resources/mapper/hrms/EmployeeDao.xml b/dq-financial-hrms/src/main/resources/mapper/hrms/EmployeeDao.xml
index fa2321dc..ad3b0318 100644
--- a/dq-financial-hrms/src/main/resources/mapper/hrms/EmployeeDao.xml
+++ b/dq-financial-hrms/src/main/resources/mapper/hrms/EmployeeDao.xml
@@ -577,7 +577,7 @@
- select hu.id, hu.account, GROUP_CONCAT(hd.`name` SEPARATOR '/')deptName
+ select hu.id, he.name as account, GROUP_CONCAT(hd.`name` SEPARATOR '/')deptName
from hrms_employee_dept ed
LEFT JOIN hrms_dept hd on hd.id=ed.dept_id
LEFT JOIN hrms_employee he on he.id=ed.employee_id
diff --git a/dq-framework-common/pom.xml b/dq-framework-common/pom.xml
index c6fbbc70..32fa48b4 100644
--- a/dq-framework-common/pom.xml
+++ b/dq-framework-common/pom.xml
@@ -5,12 +5,29 @@
4.0.0
com.daqing.framework
dq-framework-common
- 微服务公共的依赖common
-
- financial
- com.daqing.financial
- 0.0.1-SNAPSHOT
-
+ 1.0-SNAPSHOT
+ 每一个微服务公共的依赖
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.8.1
+
+
+ 1.8
+
+
+
+
@@ -101,6 +118,13 @@
spring-cloud-starter-alibaba-nacos-config
+
+
+
com.alibaba
@@ -142,16 +166,4 @@
-
-
-
-
- org.springframework.boot
- spring-boot-maven-plugin
-
- true
-
-
-
-
\ No newline at end of file
diff --git a/dq-framework-model/pom.xml b/dq-framework-model/pom.xml
index 9d637b37..ab582637 100644
--- a/dq-framework-model/pom.xml
+++ b/dq-framework-model/pom.xml
@@ -6,20 +6,15 @@
com.daqing.framework
dq-framework-model
+ 1.0-SNAPSHOT
-
- financial
- com.daqing.financial
- 0.0.1-SNAPSHOT
-
-
- 统一管理实体类model
+ 统一管理项目涉及到的实体类
com.daqing.framework
dq-framework-common
- 0.0.1-SNAPSHOT
+ 1.0-SNAPSHOT
com.daqing.framework
@@ -27,16 +22,4 @@
0.0.1-SNAPSHOT
-
-
-
-
- org.springframework.boot
- spring-boot-maven-plugin
-
- true
-
-
-
-
\ No newline at end of file
diff --git a/dq-framework-model/src/main/java/com/daqing/framework/domain/crms/ext/CustomerTO.java b/dq-framework-model/src/main/java/com/daqing/framework/domain/crms/ext/CustomerTO.java
index b988e56e..39d26465 100644
--- a/dq-framework-model/src/main/java/com/daqing/framework/domain/crms/ext/CustomerTO.java
+++ b/dq-framework-model/src/main/java/com/daqing/framework/domain/crms/ext/CustomerTO.java
@@ -57,4 +57,7 @@ public class CustomerTO implements Serializable {
*/
@ApiModelProperty(value = "所属部门")
private List departments;
+
+ @ApiModelProperty(value = "企业id")
+ private Long companyId;
}
diff --git a/dq-framework-utils/pom.xml b/dq-framework-utils/pom.xml
index aeb9232c..25eddd9e 100644
--- a/dq-framework-utils/pom.xml
+++ b/dq-framework-utils/pom.xml
@@ -11,14 +11,36 @@
com.daqing.framework
dq-framework-utils
- 系统通用的工具类utils
+ 系统通用的工具类
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.8.1
+
+
+ 1.8
+
+
+
+
+
com.daqing.framework
dq-framework-common
- 0.0.1-SNAPSHOT
+ 1.0-SNAPSHOT
org.springframework.boot
@@ -53,16 +75,4 @@
compile
-
-
-
-
- org.springframework.boot
- spring-boot-maven-plugin
-
- true
-
-
-
-
\ No newline at end of file
diff --git a/dq-govern-gateway/pom.xml b/dq-govern-gateway/pom.xml
index dd5a822d..01b64df5 100644
--- a/dq-govern-gateway/pom.xml
+++ b/dq-govern-gateway/pom.xml
@@ -11,7 +11,8 @@
com.daqing.financial
dq-govern-gateway
0.0.1-SNAPSHOT
- 网关服务gateway
+ dq-govern-gateway
+ 大庆智慧金融平台-网关服务
1.8
@@ -23,13 +24,39 @@
com.daqing.framework
dq-framework-common
- 0.0.1-SNAPSHOT
+ 1.0-SNAPSHOT
-
org.springframework.cloud
spring-cloud-starter-gateway
+
+
+
+
diff --git a/dq-govern-gateway/src/main/resources/bootstrap.properties b/dq-govern-gateway/src/main/resources/bootstrap.properties
index a687484c..e97cb33e 100644
--- a/dq-govern-gateway/src/main/resources/bootstrap.properties
+++ b/dq-govern-gateway/src/main/resources/bootstrap.properties
@@ -38,7 +38,7 @@ spring.redis.jedis.pool.min-idle=0
#spring.redis.jedis.pool.max-wait=-1
#spring.redis.jedis.pool.max-idle=8
#spring.redis.jedis.pool.min-idle=0
-
+#
#spring.servlet.multipart.max-file-size=10MB
#spring.servlet.multipart.max-request-size=10MB
diff --git a/pom.xml b/pom.xml
index 4ea03339..a1662b25 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,27 +1,14 @@
-
-
- org.springframework.boot
- spring-boot-starter-parent
- 2.1.8.RELEASE
-
-
-
4.0.0
com.daqing.financial
financial
0.0.1-SNAPSHOT
- 大庆智慧金融平台
+ financial
+ 聚合服务
pom
-
-
- 1.8
- UTF-8
-
-
dq-framework-common
dq-framework-model
@@ -30,35 +17,8 @@
dq-financial-hrms
dq-financial-hrms-auth
dq-financial-crms
+ dq-govern-gateway
+
dq-financial-guarantee
-
-
-
-
- org.springframework.boot
- spring-boot-maven-plugin
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- 3.8.1
-
-
- 1.8
-
-
-
-
-
- org.apache.maven.plugins
- maven-surefire-plugin
-
- true
-
-
-
-
-