shi'sen'yuan il y a 3 ans
Parent
commit
6004458594

+ 2 - 0
master/src/main/java/com/ruoyi/project/plant/mapper/TStaffmgrMapper.java

@@ -46,6 +46,7 @@ public interface TStaffmgrMapper
      * @param tStaffmgr 人员管理
      * @return 人员管理集合
      */
+    @DataScope(deptAlias = "d")
     public List<TStaffmgr> selectList(TStaffmgr tStaffmgr);
 
     /**
@@ -54,6 +55,7 @@ public interface TStaffmgrMapper
      * @param tStaffmgr 人员管理
      * @return 人员管理集合
      */
+    @DataScope(deptAlias = "d")
     public List<TStaffmgr> selectRecordList(TStaffmgr tStaffmgr);
 
     /**