|
@@ -116,10 +116,10 @@
|
|
|
AND eml.target_organ_id_ IS NULL
|
|
|
</if>
|
|
|
<if test="startTime != null">
|
|
|
- AND eml.trans_time_ >= #{startTime}
|
|
|
+ AND date(eml.trans_time_) >= #{startTime}
|
|
|
</if>
|
|
|
<if test="endTime != null">
|
|
|
- AND eml.trans_time_ <= #{endTime}
|
|
|
+ AND date(eml.trans_time_) <= #{endTime}
|
|
|
</if>
|
|
|
<if test="search != null">
|
|
|
AND (eml.id_ like concat('%',#{search},'%') or su.real_name_ like concat('%',#{search},'%'))
|