Selaa lähdekoodia

人员、部门操作添加日志记录

zhaoxian 4 vuotta sitten
vanhempi
commit
96e476cfca

+ 2 - 1
module-common/src/main/java/cn/com/ctop/common/module/mapper/xml/SysUserMapper.xml

@@ -102,6 +102,7 @@ SELECT
         </if>
           <if test="status != null and status != ''">
             and t1.status =#{status}
+            AND del_flag = 0
         </if>
     </select>
     <!-- SQL片段:getUserByOrgCode 的 FROM 和 WHERE 部分 -->
@@ -282,7 +283,7 @@ SELECT
         LEFT JOIN sys_depart t3 ON t2.dep_id = t3.id
         LEFT JOIN sys_user_role userRole ON t1.id = userRole.user_id
         LEFT JOIN sys_role role ON userRole.role_id = role.id
-        where 1=1
+        where del_flag = 0
         <if test="realname != null and realname != ''">
             AND t1.realname LIKE CONCAT(CONCAT('%',#{realname}),'%')
         </if>

+ 1 - 0
module-common/src/main/java/cn/com/ctop/common/module/service/impl/SysBaseApiImpl.java

@@ -749,6 +749,7 @@ public class SysBaseApiImpl implements ISysBaseApi {
     }
 
     /**
+
      * 推送签到人员信息
      *
      * @param userId