无关风月
2024-12-30 e52f7e0ddb2ccdd8000d3e874ebfc841f901a7d8
manage/src/main/resources/mapping/TAppUserMapper.xml
@@ -34,11 +34,16 @@
        <if test="query.realName != null and query.realName != ''">
            and realName like concat('%',#{query.realName},'%')
        </if>
          <if test="query.startTime != null and query.startTime != ''">
        <if test="query.startTime != null and query.startTime != ''">
              and (createTime between #{query.startTime} and #{query.endTime})
        </if>
        <if test="query.userIds != null and query.userIds.size()>0">
            AND id IN
            <foreach collection="query.userIds" close=")" open="(" item="id" separator=",">
                #{id}
            </foreach>
        </if>
        and isDelete =  ${@com.jilongda.common.enums.DisabledEnum@NO.getCode()}
    </select>
</mapper>