guarantee-lsq 1 жил өмнө
parent
commit
e23820aa6a

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

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