ソースを参照

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

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