HAHA 3 years ago
parent
commit
3b014ffacc
  1. 2
      epmet-module/epmet-heart/epmet-heart-server/src/main/java/com/epmet/dao/IcPartyUnitDao.java
  2. 14
      epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcPartyUnitDao.xml

2
epmet-module/epmet-heart/epmet-heart-server/src/main/java/com/epmet/dao/IcPartyUnitDao.java

@ -81,7 +81,7 @@ public interface IcPartyUnitDao extends BaseDao<IcPartyUnitEntity> {
* @author LZN
* @date 2022/5/18 13:54
*/
List<PartyUnitListbrieResultDTO> getListbrief(PartyUnitListbriefFormDTO form, String customerId);
List<PartyUnitListbrieResultDTO> getListbrief(@Param("form") PartyUnitListbriefFormDTO form, @Param("customerId") String customerId);
/**
* 联建单位-按分类统计数量及占比

14
epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcPartyUnitDao.xml

@ -86,25 +86,25 @@
AND b.DEL_FLAG = '0'
<where>
a.DEL_FLAG = '0'
AND a.AGENCY_ID = #{agencyId}
AND a.AGENCY_ID = #{form.agencyId}
AND a.CUSTOMER_ID = #{customerId}
<if test="gridId != null and gridId != ''">
AND b.GRID_ID = #{gridId}
AND b.GRID_ID = #{form.gridId}
</if>
<if test="unitName != null and unitName != ''">
AND a.UNIT_NAME = #{unitName}
AND a.UNIT_NAME = #{form.unitName}
</if>
<if test="serviceMatter != null and serviceMatter != ''">
AND a.SERVICE_MATTER = #{serviceMatter}
AND a.SERVICE_MATTER = #{form.serviceMatter}
</if>
<if test="type != null and type != ''">
AND a.type = #{type}
AND a.type = #{form.type}
</if>
<if test="contact != null and contact != ''">
AND a.CONTACT = #{contact}
AND a.CONTACT = #{form.contact}
</if>
<if test="contactMobile != null and contactMobile != ''">
AND a.CONTACT_MOBILE = #{contactMobile}
AND a.CONTACT_MOBILE = #{form.contactMobile}
</if>
</where>
order by

Loading…
Cancel
Save