yusm пре 3 дана
родитељ
комит
3af45a6485

+ 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