From c89257be6b734b7b7bbeb199634de918f2faec8a Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期四, 02 一月 2025 09:23:07 +0800 Subject: [PATCH] 定时任务 --- applet/src/main/resources/mapping/TCouponReceiveMapper.xml | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/applet/src/main/resources/mapping/TCouponReceiveMapper.xml b/applet/src/main/resources/mapping/TCouponReceiveMapper.xml index e026d56..ab645b6 100644 --- a/applet/src/main/resources/mapping/TCouponReceiveMapper.xml +++ b/applet/src/main/resources/mapping/TCouponReceiveMapper.xml @@ -33,9 +33,10 @@ <if test="query.userId != null"> and tcr.userId = #{query.userId} </if> + and tcr.status=1 AND tcr.isDelete = ${@com.jilongda.common.enums.DisabledEnum@NO.getCode()} </where> - ORDER BY tcr.status ASC,tcr.createTime DESC + ORDER BY tcr.createTime DESC </select> </mapper> -- Gitblit v1.7.1