guarantee-lsq 1 年之前
父节点
当前提交
e23820aa6a
共有 1 个文件被更改,包括 3 次插入4 次删除
  1. 3 4
      platform-dao/src/main/resources/mapper/store/InStoreFormMapper.xml

+ 3 - 4
platform-dao/src/main/resources/mapper/store/InStoreFormMapper.xml

@@ -205,15 +205,14 @@ GROUP BY
         on store.id=form.store_id
         on store.id=form.store_id
         <where>
         <where>
             <if test="userId!=null and userId!=''">
             <if test="userId!=null and userId!=''">
-                store.user_id=#{userId}
+                and store.user_id=#{userId}
             </if>
             </if>
             <if test="storeId!=null and storeId!=''">
             <if test="storeId!=null and storeId!=''">
-                store_id=#{storeId}
+                and store_id=#{storeId}
             </if>
             </if>
             <if test="type!=null">
             <if test="type!=null">
-                form.type=#{type}
+                and form.type=#{type}
             </if>
             </if>
-
         </where>
         </where>
     </select>
     </select>