huangfuli 4 년 전
부모
커밋
9508b8bf2f
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      winsea-haixin-plugin-yiliangyiyun/src/main/resources/mapper/TranProcessInfoMapper.xml

+ 3 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/resources/mapper/TranProcessInfoMapper.xml

@@ -120,6 +120,9 @@
             OR lower(p.process_no) like lower(CONCAT('%',#{searchKeyWord},'%')))
         </if>
         ORDER BY p.process_status DESC,p.update_date DESC
+        <if test="currentPage != null and currentPage != ''">
+            LIMIT ${startRecord}, ${pageSize}
+        </if>
     </select>
 
 </mapper>