Commit 9c7df478d497441b05b4ef6a7677fe89446bd84e

Authored by Administrator
1 parent 800e504e6d

儿童诊断管理bug 修改

Showing 1 changed file with 2 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/HearingDiagnoseController.java View file @ 9c7df47
... ... @@ -655,8 +655,8 @@
655 655 result.setData(resList);
656 656 pageInfo.setCount(confiList.size());
657 657 } else if (hdReq.getEnalble() == 2) {
658   - if (CollectionUtils.isNotEmpty(waitConfiList)) {
659   - for (int i = (hdReq.getPage() - 1) * hdReq.getLimit(); i < hdrList.size() && i < hdReq.getPage() * hdReq.getLimit(); i++) {
  658 + for (int i = (hdReq.getPage() - 1) * hdReq.getLimit(); i < hdrList.size() && i < hdReq.getPage() * hdReq.getLimit(); i++) {
  659 + if (i < waitConfiList.size()) {
660 660 resList.add(waitConfiList.get(i));
661 661 }
662 662 pageInfo.setCount(waitConfiList.size());