Browse Source

群成员搜索条件

feature/syp_points
songyunpeng 5 years ago
parent
commit
6f981a41fe
  1. 11
      esua-epdc/epdc-module/epdc-party-group/epdc-party-group-server/src/main/resources/mapper/PartyUserGroupDao.xml

11
esua-epdc/epdc-module/epdc-party-group/epdc-party-group-server/src/main/resources/mapper/PartyUserGroupDao.xml

@ -94,6 +94,7 @@
UPDATED_BY,
UPDATED_TIME,
GRID,
ALL_DEPT_IDS,
((case when bannedTime = 0
then '未禁言'
when bannedTime = 1
@ -124,11 +125,21 @@
CREATED_TIME,
UPDATED_BY,
UPDATED_TIME,
ALL_DEPT_IDS,
GRID,DATEDIFF(BANNED_END_TIME,BANNED_START_TIME) as bannedTime from epdc_party_user_group)a
where DEL_FLAG='0'
<if test="partyGroupId != null and partyGroupId!=''">
and PARTY_GROUP_ID = #{partyGroupId}
</if>
<if test="mobile != null and mobile!=''">
and MOBILE like concat('%',#{mobile},'%')
</if>
<if test="nickname != null and nickname!=''">
and NICKNAME like concat('%',#{nickname},'%')
</if>
<if test="gridId != null and gridId != ''">
and find_in_set(#{gridId},ALL_DEPT_IDS)
</if>
order by CREATED_TIME desc
</select>
</mapper>
Loading…
Cancel
Save