Commit 4fc929f6 by zhouhaibao

[+]新增预警管理,录音查询的逻辑调整

1 parent 4eb8dc33
......@@ -498,7 +498,8 @@
t2.score as score,
t2.duration as duration,
t3.avg_defence as def_score,
t4.reception_status as receptionStatus
t4.reception_status as receptionStatus,
t1.check_History_Flag as checkHistoryFlag
from
inspection_badge_recordings t1
left join inspection_conversation_batch t2 on t2.record_id=t1.id
......@@ -509,13 +510,13 @@
<if test="condition.startDate != null">
and date_format (t1.recording_start_time,'%Y-%m-%d') &gt;= #{condition.startDate}
</if>
<if test="condition.receptionDate != null">
<if test="condition.receptionDate != null and condition.receptionDate!=''">
and date_format (t1.recording_start_time,'%Y-%m-%d')=#{condition.receptionDate}
</if>
<if test="condition.endDate != null">
and date_format (t1.recording_start_time,'%Y-%m-%d') &lt;= #{condition.endDate}
</if>
<if test="condition.staffName != null">
<if test="condition.staffName != null and condition.staffName!=''">
and t5.staff_name like concat('%',#{condition.staffName},'%')
</if>
<if test="condition.businessType != null">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!