فهرست منبع

海报管理接口修改

785834757 2 سال پیش
والد
کامیت
cc08049d6a
1فایلهای تغییر یافته به همراه3 افزوده شده و 4 حذف شده
  1. 3 4
      src/main/resources/mapper/modules/admin/SysPosterMapper.xml

+ 3 - 4
src/main/resources/mapper/modules/admin/SysPosterMapper.xml

@@ -13,6 +13,9 @@
 
     <sql id="Base_Where">
         <where>
+            1=1
+            AND
+            sp.file_id = iuf.id
             <if test="type != null and type != ''">
                 AND type = #{type}
             </if>
@@ -24,10 +27,6 @@
 
     <select id="posterList" resultType="com.ydtech.modules.admin.model.SysPoster">
         <include refid="Base_Column_List"/>
-        WHERE
-            1=1
-        AND
-            sp.file_id = iuf.id
         <include refid="Base_Where"/>
             ORDER BY update_time DESC
     </select>