Pārlūkot izejas kodu

优化 物业和 商户查询加入权限控制 防止 数据安装

java110 4 gadi atpakaļ
vecāks
revīzija
f61741be9e

+ 2 - 2
java110-db/src/main/resources/mapper/store/StoreAttrV1ServiceDaoImplMapper.xml

@@ -34,7 +34,7 @@
             and t.store_id= #{storeId}
         </if>
         <if test="storeIds != null">
-            and sa.store_id in
+            and t.store_id in
             <foreach collection="storeIds" open="(" close=")"
                      separator="," item="item">
                 #{item}
@@ -91,7 +91,7 @@
             and t.store_id= #{storeId}
         </if>
         <if test="storeIds != null">
-            and sa.store_id in
+            and t.store_id in
             <foreach collection="storeIds" open="(" close=")"
                      separator="," item="item">
                 #{item}