浏览代码

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

java110 4 年之前
父节点
当前提交
f61741be9e
共有 1 个文件被更改,包括 2 次插入 和 2 次删除
  1. 2 2
      java110-db/src/main/resources/mapper/store/StoreAttrV1ServiceDaoImplMapper.xml

+ 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}