From 11ba3f40fb970efabfe64843e0c736d1dfb041d0 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 13 Feb 2023 11:13:06 +0800
Subject: [PATCH] 创建订单的判断条件去掉,由新增的接口判断

---
 src/main/resources/mapper/modules/MallMoneyFlowMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/modules/MallMoneyFlowMapper.xml b/src/main/resources/mapper/modules/MallMoneyFlowMapper.xml
index 0291c49..bb1a982 100644
--- a/src/main/resources/mapper/modules/MallMoneyFlowMapper.xml
+++ b/src/main/resources/mapper/modules/MallMoneyFlowMapper.xml
@@ -154,7 +154,7 @@
                 and date_format(a.created_time, '%Y-%m-%d') = date_format(#{dateDay}, '%Y-%m-%d')
             </if>
             <if test="dateMonth!=null">
-                and date_format(a.created_time, '%Y-%m-%d') = date_format(#{dateMonth}, '%Y-%m-%d')
+                and date_format(a.created_time, '%Y-%m') = date_format(#{dateMonth}, '%Y-%m')
             </if>
         </where>
     </select>

--
Gitblit v1.9.1