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