From b2c975094e4a3cac5ba67c154e9b7b4fd0ce35c9 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期一, 25 四月 2022 17:34:36 +0800
Subject: [PATCH] 花城E+防疫修改

---
 springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/service/impl/ComPbCheckUnitServiceImpl.java |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/service/impl/ComPbCheckUnitServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/service/impl/ComPbCheckUnitServiceImpl.java
index daeec0b..451e867 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/service/impl/ComPbCheckUnitServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/service/impl/ComPbCheckUnitServiceImpl.java
@@ -5,7 +5,6 @@
 import com.google.common.collect.Lists;
 import com.panzhihua.common.enums.ComPbCheckUnitTypeEnum;
 import com.panzhihua.common.model.vos.common.ComPbCheckUnitVo;
-import com.panzhihua.common.model.vos.partybuilding.PartyBuildingMemberVO;
 import com.panzhihua.common.model.vos.partybuilding.excel.ComPbCheckUnitErrorExcelVO;
 import com.panzhihua.common.model.vos.partybuilding.excel.ComPbCheckUnitExcelVO;
 import com.panzhihua.common.utlis.StringUtils;
@@ -161,8 +160,8 @@
      */
     @Override
     public R queryByList(PageComPbCheckUnitDto comPbCheckUnit) {
-        List<ComPbCheckUnitVo> checkUnitList = this.baseMapper.queryAllByList(comPbCheckUnit);
-        checkUnitList.forEach(checkUnit -> {
+        IPage<ComPbCheckUnitVo> checkUnitList = this.baseMapper.queryAllByLimit(comPbCheckUnit,new Page(comPbCheckUnit.getPageNum(),comPbCheckUnit.getPageSize()));
+        checkUnitList.getRecords().forEach(checkUnit -> {
             if(StringUtils.isEmpty(checkUnit.getOrgName())){
                 checkUnit.setOrgName("待编辑党支部");
             }

--
Gitblit v1.7.1