|
@@ -167,6 +167,9 @@
|
|
|
<if test="sourceFrom != null">
|
|
|
AND ei.source_from_ = #{sourceFrom}
|
|
|
</if>
|
|
|
+ <if test="hrbp != null">
|
|
|
+ AND ei.hrbp_ = #{hrbp}
|
|
|
+ </if>
|
|
|
<if test="intentionCity != null">
|
|
|
AND ei.intention_city_ LIKE CONCAT('%',#{intentionCity},'%')
|
|
|
</if>
|
|
@@ -177,16 +180,16 @@
|
|
|
AND ei.status_ = #{status,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
|
|
|
</if>
|
|
|
<if test="startDate != null">
|
|
|
- AND ei.update_time_ >= #{startDate}
|
|
|
+ AND date(ei.update_time_) >= #{startDate}
|
|
|
</if>
|
|
|
<if test="endDate != null">
|
|
|
- AND ei.update_time_ <= #{endDate}
|
|
|
+ AND date(ei.update_time_) <= #{endDate}
|
|
|
</if>
|
|
|
<if test="visitStartDate != null">
|
|
|
- AND ei.next_visit_date_ >= #{visitStartDate}
|
|
|
+ AND date(ei.next_visit_date_) >= #{visitStartDate}
|
|
|
</if>
|
|
|
<if test="visitEndDate != null">
|
|
|
- AND ei.next_visit_date_ <= #{visitEndDate}
|
|
|
+ AND date(ei.next_visit_date_) <= #{visitEndDate}
|
|
|
</if>
|
|
|
<if test="operator != null">
|
|
|
AND (ei.operator_id_ like concat('%',#{operator},'%') or u.real_name_ like concat('%',#{operator},'%'))
|