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