Browse Source

Merge remote-tracking branch 'origin/dev_party_helper' into dev_party_helper

dev
zxc 3 years ago
parent
commit
dcc98abf13
  1. 10
      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

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

@ -15,7 +15,7 @@ import java.io.Serializable;
public class IcPartyActPageFormDTO extends PageFormDTO implements Serializable {
private static final long serialVersionUID = -8171649039313981541L;
// tokenDto取值
@NotBlank(message = "cusotomerId不能为空",groups = AddUserInternalGroup.class)
@NotBlank(message = "customerId不能为空",groups = AddUserInternalGroup.class)
private String customerId;
@NotBlank(message = "publishStaffId不能为空",groups = AddUserInternalGroup.class)
private String publishStaffId;
@ -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

@ -137,6 +137,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