From eab6adb518b96ef23335f82d6339614d053d75a8 Mon Sep 17 00:00:00 2001 From: HAHA Date: Wed, 25 May 2022 17:26:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=B1=82=E5=92=8C=E6=94=B9?= =?UTF-8?q?=E4=B8=BAsql=E6=B1=82=E5=92=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/IcPartyMemberPointServiceImpl.java | 4 +- .../partymember/IcPartyMemberPointDao.xml | 65 ++++++++++--------- 2 files changed, 34 insertions(+), 35 deletions(-) diff --git a/epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/partymember/service/impl/IcPartyMemberPointServiceImpl.java b/epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/partymember/service/impl/IcPartyMemberPointServiceImpl.java index 156c9341aa..1ea27ad263 100644 --- a/epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/partymember/service/impl/IcPartyMemberPointServiceImpl.java +++ b/epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/partymember/service/impl/IcPartyMemberPointServiceImpl.java @@ -170,9 +170,7 @@ public class IcPartyMemberPointServiceImpl extends BaseServiceImpl getExport(PartyMemberExportFormDTO form,String customerId) { PageHelper.startPage(form.getPageNo(), form.getPageSize(), form.getIsPage()); List dto = baseDao.getExport(form,customerId); - dto.forEach(item -> { - item.setTotalScore(item.getBasePoint() + item.getInspirePoint() + item.getReviewPoint() + item.getWarnPoint()); - }); + PageInfo pageInfo = new PageInfo<>(dto); return new PageData<>(dto, pageInfo.getTotal()); } diff --git a/epmet-module/resi-partymember/resi-partymember-server/src/main/resources/mapper/partymember/IcPartyMemberPointDao.xml b/epmet-module/resi-partymember/resi-partymember-server/src/main/resources/mapper/partymember/IcPartyMemberPointDao.xml index 9c600e7309..ea48b3650b 100644 --- a/epmet-module/resi-partymember/resi-partymember-server/src/main/resources/mapper/partymember/IcPartyMemberPointDao.xml +++ b/epmet-module/resi-partymember/resi-partymember-server/src/main/resources/mapper/partymember/IcPartyMemberPointDao.xml @@ -7,22 +7,22 @@