src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -360,7 +360,7 @@ and account like concat('%', #{user.account},'%') </if> <if test="user.roleId!=null and user.roleId != ''"> and br.role_alias = '公安管理员' and (br.role_alias = '公安管理员' or br.role_alias = '民警') </if> <if test="user.realName!=null and user.realName != ''"> and real_name like concat(concat('%', #{user.realName}),'%') @@ -1126,6 +1126,9 @@ ) </select> <select id="getUserById" resultType="org.springblade.modules.system.entity.User"> select * from blade_user where id = #{id} </select> </mapper>