luohairen
2024-10-30 180b752fc5857a004088edbfd505894122c40049
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}