From 8e524f6e570fca66f670a8072edefc6ca2d4e2f9 Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期三, 01 十一月 2023 08:55:02 +0800
Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/PlayPai

---
 cloud-server-other/src/main/resources/mapper/StoreMapper.xml |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/cloud-server-other/src/main/resources/mapper/StoreMapper.xml b/cloud-server-other/src/main/resources/mapper/StoreMapper.xml
index 0ec501c..8ff3d8b 100644
--- a/cloud-server-other/src/main/resources/mapper/StoreMapper.xml
+++ b/cloud-server-other/src/main/resources/mapper/StoreMapper.xml
@@ -17,7 +17,12 @@
     </select>
 
     <select id="queryStoreByCityCode" resultType="com.dsh.other.model.BaseVo">
-        select id, name from t_store where state = 1 and cityCode = #{cityCode}
+        select id, name from t_store where state = 1
+        and provinceCode = #{provinceCode}
+        <if test="cityCode !=null and cityCode !='' ">
+            and cityCode = #{cityCode}
+        </if>
+
     </select>
     <select id="getStoreByCityManagerId" resultType="com.dsh.other.entity.Store">
         select * from t_store where operatorId = #{id}

--
Gitblit v1.7.1