From f4a838440b2c5c9ec98c8c0f21b4f2960ed33750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A9=E5=9B=BD=E4=B8=9C?= Date: Mon, 19 Dec 2022 14:03:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=A5=E8=81=8C=E6=B8=85=E5=8D=95=E5=AF=BC?= =?UTF-8?q?=E5=85=A5&=E4=BC=81=E4=B8=9A=E8=AF=A6=E6=83=85bug=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../rzyc/mapper/user/ListPerformMapper.java | 5 + .../mapper/user/ListPerformMapper.xml | 12 +- .../com/rzyc/controller/BaseController.java | 20 +- .../com/rzyc/controller/DataController.java | 179 ++++++++++++++++++ .../rzyc/controller/PcPersonalController.java | 23 ++- .../controller/ent/PcCompanyController.java | 21 +- 6 files changed, 231 insertions(+), 29 deletions(-) diff --git a/inventory-dao/src/main/java/com/rzyc/mapper/user/ListPerformMapper.java b/inventory-dao/src/main/java/com/rzyc/mapper/user/ListPerformMapper.java index aa8305e..bf85948 100644 --- a/inventory-dao/src/main/java/com/rzyc/mapper/user/ListPerformMapper.java +++ b/inventory-dao/src/main/java/com/rzyc/mapper/user/ListPerformMapper.java @@ -97,6 +97,11 @@ public interface ListPerformMapper { ListPerform findByName(@Param("performClassName") String performClassName, @Param("supClassId") String supClassId); + /*查询岗位*/ + ListPerform findBySortId(@Param("performClassName") String performClassName, + @Param("supClassId") String supClassId, + @Param("sortId") Integer sortId); + //部门列表 List findUnit(@Param("superPerformId") String superPerformId); diff --git a/inventory-dao/src/main/resources/mapper/user/ListPerformMapper.xml b/inventory-dao/src/main/resources/mapper/user/ListPerformMapper.xml index abf2a5f..1b92fda 100644 --- a/inventory-dao/src/main/resources/mapper/user/ListPerformMapper.xml +++ b/inventory-dao/src/main/resources/mapper/user/ListPerformMapper.xml @@ -629,9 +629,9 @@ AND lp.`SupClassId` = #{supClassId} - + and FIND_IN_SET(#{superPerformId},lp.parent_path) @@ -734,6 +734,14 @@ AND lf.`SupClassId` = #{supClassId} + + +