소스 검색

FTE计划查询修改

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