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 * @author LZN
* @date 2022/5/18 13:54 * @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' AND b.DEL_FLAG = '0'
<where> <where>
a.DEL_FLAG = '0' a.DEL_FLAG = '0'
AND a.AGENCY_ID = #{agencyId} AND a.AGENCY_ID = #{form.agencyId}
AND a.CUSTOMER_ID = #{customerId} AND a.CUSTOMER_ID = #{customerId}
<if test="gridId != null and gridId != ''"> <if test="gridId != null and gridId != ''">
AND b.GRID_ID = #{gridId} AND b.GRID_ID = #{form.gridId}
</if> </if>
<if test="unitName != null and unitName != ''"> <if test="unitName != null and unitName != ''">
AND a.UNIT_NAME = #{unitName} AND a.UNIT_NAME = #{form.unitName}
</if> </if>
<if test="serviceMatter != null and serviceMatter != ''"> <if test="serviceMatter != null and serviceMatter != ''">
AND a.SERVICE_MATTER = #{serviceMatter} AND a.SERVICE_MATTER = #{form.serviceMatter}
</if> </if>
<if test="type != null and type != ''"> <if test="type != null and type != ''">
AND a.type = #{type} AND a.type = #{form.type}
</if> </if>
<if test="contact != null and contact != ''"> <if test="contact != null and contact != ''">
AND a.CONTACT = #{contact} AND a.CONTACT = #{form.contact}
</if> </if>
<if test="contactMobile != null and contactMobile != ''"> <if test="contactMobile != null and contactMobile != ''">
AND a.CONTACT_MOBILE = #{contactMobile} AND a.CONTACT_MOBILE = #{form.contactMobile}
</if> </if>
</where> </where>
order by order by

Loading…
Cancel
Save