From d95f78488e734c1defcad4af8b7e79c712937111 Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期二, 15 八月 2023 16:00:26 +0800
Subject: [PATCH] 多表联查改为用join on
---
src/main/resources/com/job/zsc/mapper/SqlMapper.xml | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/com/job/zsc/mapper/SqlMapper.xml b/src/main/resources/com/job/zsc/mapper/SqlMapper.xml
index 9332f31..925d2cd 100644
--- a/src/main/resources/com/job/zsc/mapper/SqlMapper.xml
+++ b/src/main/resources/com/job/zsc/mapper/SqlMapper.xml
@@ -10,9 +10,7 @@
<if test="shopname != null and shopname != '' ">
shopname like concat('%',#{shopname},'%')
</if>
- <!--<if test="gender != null">
- and gender = #{gender}
- </if>-->
+
<if test="begin != null and end != null">
and reportingTime between #{begin} and #{end}
</if>
--
Gitblit v1.9.3