From 3b014ffaccee96f164479a627f59b71e6334f394 Mon Sep 17 00:00:00 2001 From: HAHA Date: Thu, 19 May 2022 16:09:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/epmet/dao/IcPartyUnitDao.java | 2 +- .../src/main/resources/mapper/IcPartyUnitDao.xml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/epmet-module/epmet-heart/epmet-heart-server/src/main/java/com/epmet/dao/IcPartyUnitDao.java b/epmet-module/epmet-heart/epmet-heart-server/src/main/java/com/epmet/dao/IcPartyUnitDao.java index e9f4559434..363357e054 100644 --- a/epmet-module/epmet-heart/epmet-heart-server/src/main/java/com/epmet/dao/IcPartyUnitDao.java +++ b/epmet-module/epmet-heart/epmet-heart-server/src/main/java/com/epmet/dao/IcPartyUnitDao.java @@ -81,7 +81,7 @@ public interface IcPartyUnitDao extends BaseDao { * @author LZN * @date 2022/5/18 13:54 */ - List getListbrief(PartyUnitListbriefFormDTO form, String customerId); + List getListbrief(@Param("form") PartyUnitListbriefFormDTO form, @Param("customerId") String customerId); /** * 联建单位-按分类统计数量及占比 diff --git a/epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcPartyUnitDao.xml b/epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcPartyUnitDao.xml index 30925f1867..c898ec9f5d 100644 --- a/epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcPartyUnitDao.xml +++ b/epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcPartyUnitDao.xml @@ -86,25 +86,25 @@ AND b.DEL_FLAG = '0' a.DEL_FLAG = '0' - AND a.AGENCY_ID = #{agencyId} + AND a.AGENCY_ID = #{form.agencyId} AND a.CUSTOMER_ID = #{customerId} - AND b.GRID_ID = #{gridId} + AND b.GRID_ID = #{form.gridId} - AND a.UNIT_NAME = #{unitName} + AND a.UNIT_NAME = #{form.unitName} - AND a.SERVICE_MATTER = #{serviceMatter} + AND a.SERVICE_MATTER = #{form.serviceMatter} - AND a.type = #{type} + AND a.type = #{form.type} - AND a.CONTACT = #{contact} + AND a.CONTACT = #{form.contact} - AND a.CONTACT_MOBILE = #{contactMobile} + AND a.CONTACT_MOBILE = #{form.contactMobile} order by