活动招募模糊查询
This commit is contained in:
parent
668d5db6a9
commit
523f50a06e
|
|
@ -26,12 +26,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<select id="selectEventRecruitmentList" parameterType="EventRecruitment" resultMap="EventRecruitmentResult">
|
<select id="selectEventRecruitmentList" parameterType="EventRecruitment" resultMap="EventRecruitmentResult">
|
||||||
<include refid="selectEventRecruitmentVo"/>
|
<include refid="selectEventRecruitmentVo"/>
|
||||||
<where>
|
<where>
|
||||||
<if test="title != null and title != ''"> and title = #{title}</if>
|
<if test="title != null and title != ''"> and title like concat('%',#{title},'%')</if>
|
||||||
<if test="introduction != null and introduction != ''"> and introduction = #{introduction}</if>
|
<if test="introduction != null and introduction != ''"> and introduction like concat('%',#{introduction},'%')</if>
|
||||||
<if test="activityTime != null and activityTime != ''"> and activity_time = #{activityTime}</if>
|
<if test="activityTime != null and activityTime != ''"> and activity_time like concat('%',#{activityTime},'%') </if>
|
||||||
<if test="address != null and address != ''"> and address = #{address}</if>
|
<if test="address != null and address != ''"> and address like concat('%',#{address},'%') </if>
|
||||||
<if test="organizer != null and organizer != ''"> and organizer = #{organizer}</if>
|
<if test="organizer != null and organizer != ''"> and organizer like concat('%',#{organizer},'%') </if>
|
||||||
<if test="pictureUrl != null and pictureUrl != ''"> and picture_url = #{pictureUrl}</if>
|
<if test="pictureUrl != null and pictureUrl != ''"> and picture_url like concat('%',#{pictureUrl},'%') </if>
|
||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue