xiangpei
2024-10-23 4d3dc99a8ec98e18609f2dca23a6a28fd25069fc
src/main/resources/mapper/UserMapper.xml
@@ -100,8 +100,8 @@
        FROM t_user
        <where>
            and deleted=0
            <if test="userName != null and userName != ''">
                and user_name like concat('%',#{userName},'%')
            <if test="realName != null and realName != ''">
                and real_name like concat('%',#{realName},'%')
            </if>
            <if test="role != null ">
                and role= #{role}