|
@@ -106,6 +106,7 @@
|
|
<if test="level != null and level != ''"> and level = #{level}</if>
|
|
<if test="level != null and level != ''"> and level = #{level}</if>
|
|
<if test="subject != null and subject != ''"> and subject = #{subject}</if>
|
|
<if test="subject != null and subject != ''"> and subject = #{subject}</if>
|
|
<if test="courseId != null "> and course_id = #{courseId}</if>
|
|
<if test="courseId != null "> and course_id = #{courseId}</if>
|
|
|
|
+ <if test="params.beginCreateTime != null and params.endCreateTime != null"> and create_time between #{beginCreateTime} and #{endCreateTime}</if>
|
|
<if test="occupation != null and occupation != ''"> and occupation = #{occupation}</if>
|
|
<if test="occupation != null and occupation != ''"> and occupation = #{occupation}</if>
|
|
<if test="education != null and education != ''"> and education = #{education}</if>
|
|
<if test="education != null and education != ''"> and education = #{education}</if>
|
|
<if test="job != null and job != ''"> and job = #{job}</if>
|
|
<if test="job != null and job != ''"> and job = #{job}</if>
|
|
@@ -149,6 +150,7 @@
|
|
<if test="planTime != null "> and b.plan_time = #{planTime}</if>
|
|
<if test="planTime != null "> and b.plan_time = #{planTime}</if>
|
|
<if test="otherIntention != null and otherIntention != ''"> and b.other_intention = #{otherIntention}</if>
|
|
<if test="otherIntention != null and otherIntention != ''"> and b.other_intention = #{otherIntention}</if>
|
|
<if test="nextTime != null "> and b.next_time = #{nextTime}</if>
|
|
<if test="nextTime != null "> and b.next_time = #{nextTime}</if>
|
|
|
|
+ <if test="status != null and status != ''"> and status=#{status}</if>
|
|
<if test="beginCreateTime != null and endCreateTime != null "> and DATE_FORMAT(b.create_time,'%Y-%m-%d') BETWEEN #{beginCreateTime} AND #{endCreateTime}</if>
|
|
<if test="beginCreateTime != null and endCreateTime != null "> and DATE_FORMAT(b.create_time,'%Y-%m-%d') BETWEEN #{beginCreateTime} AND #{endCreateTime}</if>
|
|
AND (r.latest = '1' OR r.id IS NULL)
|
|
AND (r.latest = '1' OR r.id IS NULL)
|
|
AND (r.type = '1' OR r.id IS NULL)
|
|
AND (r.type = '1' OR r.id IS NULL)
|