From b222b6baf58cc128343867107d570d237966d9ac Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 05 Sep 2022 15:11:37 +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