zxc 3 years ago
parent
commit
51b6a93e99
  1. 6
      epmet-module/resi-partymember/resi-partymember-client/src/main/java/com/epmet/resi/partymember/dto/partyOrg/form/YearSearchFormDTO.java
  2. 2
      epmet-module/resi-partymember/resi-partymember-server/src/main/resources/mapper/partyOrg/IcPartyActDao.xml

6
epmet-module/resi-partymember/resi-partymember-client/src/main/java/com/epmet/resi/partymember/dto/partyOrg/form/YearSearchFormDTO.java

@ -1,5 +1,6 @@
package com.epmet.resi.partymember.dto.partyOrg.form; package com.epmet.resi.partymember.dto.partyOrg.form;
import com.epmet.commons.tools.constant.NumConstant;
import lombok.Data; import lombok.Data;
import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotBlank;
@ -22,6 +23,11 @@ public class YearSearchFormDTO implements Serializable {
private String type; private String type;
/**
* 是否本人创建的活动10
*/
private String isSelf = NumConstant.ONE_STR;
private String staffId; private String staffId;
private String customerId; private String customerId;
} }

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

@ -80,7 +80,7 @@
<if test='searchType == "yearSearch" '> <if test='searchType == "yearSearch" '>
AND pa.ORG_ID_PATH like concat('%',#{agencyId},'%') AND pa.ORG_ID_PATH like concat('%',#{agencyId},'%')
</if> </if>
<if test=' isSelf == "1" '> <if test='null != isSelf and isSelf != "" and isSelf == "1" '>
AND pa.PUBLISH_STAFF_ID = #{staffId} AND pa.PUBLISH_STAFF_ID = #{staffId}
</if> </if>
<if test='null != startDate and startDate != ""'> <if test='null != startDate and startDate != ""'>

Loading…
Cancel
Save