xuhy
2025-07-16 b5fb76606f4caea215e2f4ab6fbe0489e740e963
manage/src/main/resources/mapping/TAppUserMapper.xml
@@ -34,11 +34,17 @@
        <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()}
        order by createTime desc
    </select>
</mapper>