yusm преди 3 дни
родител
ревизия
3af45a6485
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      fhKeeper/formulahousekeeper/management-platform-mld/src/main/resources/mapper/ProjectMapper.xml

+ 3 - 0
fhKeeper/formulahousekeeper/management-platform-mld/src/main/resources/mapper/ProjectMapper.xml

@@ -2931,6 +2931,9 @@
         <if test=" startDate == null and endDate != null">
             AND (t.start_date IS NOT NULL and t.start_date &lt;= #{endDate})
         </if>
+        <if test="start!=null and size !=null">
+            limit #{start},#{size}
+        </if>
     </select>
     <select id="getRelatedProjectIds" resultType="java.lang.Integer">
         SELECT DISTINCT pl.project_id