Browse Source

工作端小程序活动列表接口兼容

dev
yinzuomei 3 years ago
parent
commit
6f9c4312e2
  1. 8
      epmet-module/resi-partymember/resi-partymember-client/src/main/java/com/epmet/resi/partymember/dto/icpartyact/form/IcPartyActPageFormDTO.java
  2. 6
      epmet-module/resi-partymember/resi-partymember-server/src/main/resources/mapper/partyOrg/IcPartyActDao.xml

8
epmet-module/resi-partymember/resi-partymember-client/src/main/java/com/epmet/resi/partymember/dto/icpartyact/form/IcPartyActPageFormDTO.java

@ -33,5 +33,13 @@ public class IcPartyActPageFormDTO extends PageFormDTO implements Serializable {
private String isPublish;
private String actType;
/**
* 工作端小程序用yyyy
*/
private String holdYearId;
/**
* 工作端小程序用yyyyMM
*/
private String holdMonthId;
}

6
epmet-module/resi-partymember/resi-partymember-server/src/main/resources/mapper/partyOrg/IcPartyActDao.xml

@ -138,6 +138,12 @@
<if test='null != endDate and endDate != ""'>
AND DATE_FORMAT(a.HOLD_TIME,'%Y%m%d') <![CDATA[ <= ]]> #{endDate}
</if>
<if test='null != holdYearId and holdYearId != "" '>
AND a.HOLD_YEAR_ID = #{holdYearId}
</if>
<if test='null != holdMonthId and holdMonthId != "" '>
AND a.HOLD_MONTH_ID = #{holdMonthId}
</if>
order by a.HOLD_TIME desc
</select>

Loading…
Cancel
Save