From 4c90ddfec52291a0977c9cea0df6fa0acfec6e03 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 06 Sep 2022 14:06:51 +0800 Subject: [PATCH] 20220902 --- src/main/resources/mapper/modules/MallLeaderAchieveMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/modules/MallLeaderAchieveMapper.xml b/src/main/resources/mapper/modules/MallLeaderAchieveMapper.xml index 5959604..7688d37 100644 --- a/src/main/resources/mapper/modules/MallLeaderAchieveMapper.xml +++ b/src/main/resources/mapper/modules/MallLeaderAchieveMapper.xml @@ -29,8 +29,8 @@ <if test="state!=null and state!=''"> and a.state = #{state} </if> - <if test="DateTime!=null and DateTime!=''"> - and date_format(a.CREATED_TIME, '%Y-%m-%d') = date_format(#{DateTime}, '%Y-%m-%d') + <if test="date!=null"> + and date_format(a.CREATED_TIME, '%Y-%m-%d') = date_format(#{date}, '%Y-%m-%d') </if> <if test="uniqueCode!=null and uniqueCode!=''"> and a.unique_code = #{uniqueCode} -- Gitblit v1.9.1