Pārlūkot izejas kodu

医生缺陷列表导出不全问题解决

zhanghang 3 gadi atpakaļ
vecāks
revīzija
7e41d1e072

+ 1 - 2
src/main/java/com/diagbot/facade/ConsoleExportFacade.java

@@ -909,6 +909,7 @@ public class ConsoleExportFacade {
      */
     public void getDoctorDetailPageExport(HttpServletResponse response, GetDoctorDetailPageVO getDetailListPageVO) {
         //1.查询
+        getDetailListPageVO.setSize(Long.MAX_VALUE);
         IPage<GetDoctorDetailPageDTO> doctorDetailPage = consoleByDoctorFacade.getDoctorDetailPage(getDetailListPageVO);
         //2.列表拷贝
         List<ExportGetDoctorDetailPageDTO> records = BeanUtil.listCopyTo(doctorDetailPage.getRecords(), ExportGetDoctorDetailPageDTO.class);
@@ -942,9 +943,7 @@ public class ConsoleExportFacade {
         if (endDate.getTime() - startDate.getTime() > interval) {
             throw new CommonException(CommonErrorCode.PARAM_ERROR, "统计区间不能大于90天");
         }
-        getDetailRecordListPageVO.setCurrent(1L);
         getDetailRecordListPageVO.setSize(Long.MAX_VALUE);
-        getDetailRecordListPageVO.setSearchCount(false);
         //1.查询
         IPage<GetDetailRecordListPageDTO> detailRecordListPage = consoleByDoctorFacade.getDetailRecordListPage(getDetailRecordListPageVO);
         List<ExportGetDetailRecordListPageDTO> records = BeanUtil.listCopyTo(detailRecordListPage.getRecords(), ExportGetDetailRecordListPageDTO.class);