From d5f7e05ab3dfa247ae4165818c7a7bc18945f221 Mon Sep 17 00:00:00 2001 From: shijie <648688341@qq.com> Date: Tue, 11 May 2021 15:26:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E7=AE=A1=E7=90=86=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=E5=8F=AF=E8=A7=81=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/DgProcessManageController.java | 4 ++-- .../impl/DgProcessManageServiceImpl.java | 1 + .../daqing/financial/hrms/dao/EmployeeDao.java | 2 ++ .../hrms/service/impl/EmployeeServiceImpl.java | 17 ++++++++++------- .../main/resources/mapper/hrms/EmployeeDao.xml | 4 ++++ 5 files changed, 19 insertions(+), 9 deletions(-) diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgProcessManageController.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgProcessManageController.java index 352ed84e..782b5c6d 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgProcessManageController.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgProcessManageController.java @@ -119,7 +119,7 @@ public class DgProcessManageController { @PostMapping("/updateManagerVisual") @ApiOperation(value = "设置超管人员可以看到审批模板") @Transactional - public ResponseResult updateManagerVisual(Integer userId){ + public ResponseResult updateManagerVisual(@RequestBody Integer userId){ boolean a = iDgProcessManageService.queryAllModelId(userId); @@ -135,7 +135,7 @@ public class DgProcessManageController { @PostMapping("/delUserVisual") @ApiOperation(value = "根据指定用户删除可见审批模板") @Transactional - public ResponseResult delUserVisual(Integer userId){ + public ResponseResult delUserVisual(@RequestBody Integer userId){ boolean a = iDgProcessManageService.delUserVisual(userId); diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgProcessManageServiceImpl.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgProcessManageServiceImpl.java index c3f7f2b0..7eb7fe8d 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgProcessManageServiceImpl.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgProcessManageServiceImpl.java @@ -106,6 +106,7 @@ public class DgProcessManageServiceImpl extends ServiceImpl().eq("user_id", userId)); return count>0?true:false; } diff --git a/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/dao/EmployeeDao.java b/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/dao/EmployeeDao.java index 6f3bb07c..cb6f94c7 100644 --- a/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/dao/EmployeeDao.java +++ b/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/dao/EmployeeDao.java @@ -121,4 +121,6 @@ public interface EmployeeDao extends BaseMapper { List getAccountAndDeptNameByIds(@Param("ids")List ids); List getUserIdByRoleId(); + + Long selectUserIdByEmpId(Long id); } diff --git a/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/service/impl/EmployeeServiceImpl.java b/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/service/impl/EmployeeServiceImpl.java index 4b28a2f8..2f488e96 100644 --- a/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/service/impl/EmployeeServiceImpl.java +++ b/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/service/impl/EmployeeServiceImpl.java @@ -335,10 +335,11 @@ public class EmployeeServiceImpl extends ServiceImpl + + \ No newline at end of file