luojun 2 роки тому
батько
коміт
43f267d267

+ 3 - 0
soc-modules/soc-modules-system/src/main/resources/mapper/system/SysUserMapper.xml

@@ -677,6 +677,9 @@
         <if test="info.name != null and info.name != ''">
             AND u.name like concat('%', #{info.name}, '%')
         </if>
+        <if test="info.roleId != null and info.roleId != ''">
+            AND sr.id =#{info.roleId}
+        </if>
         <if test="info.params.beginTime != null and info.params.beginTime != ''">
             <!-- 开始时间检索 -->
             AND date_format(u.create_time,'%y%m%d') &gt;= date_format(#{info.params.beginTime},'%y%m%d')