преди 2 години
родител
ревизия
2635a392c0
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      platform-dao/src/main/resources/mapper/upms/SysUserMapper.xml

+ 3 - 0
platform-dao/src/main/resources/mapper/upms/SysUserMapper.xml

@@ -63,6 +63,9 @@
         <if test="roleId!=null and roleId!=''">
             and role.role_id=#{roleId}
         </if>
+        <if test="roleCode!=null and roleCode!=''">
+            and role.role_code=#{roleCode}
+        </if>
         order by u.update_time desc
     </select>