From bf765893039bc7968b8160a70bda778526dca98c Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期二, 31 十二月 2024 15:28:19 +0800 Subject: [PATCH] 定时任务 --- manage/src/main/resources/mapping/TAppUserMapper.xml | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/manage/src/main/resources/mapping/TAppUserMapper.xml b/manage/src/main/resources/mapping/TAppUserMapper.xml index 41c640e..c04672f 100644 --- a/manage/src/main/resources/mapping/TAppUserMapper.xml +++ b/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> -- Gitblit v1.7.1