修复bug:通过时间查询人员记录bug
This commit is contained in:
parent
db7ffe29da
commit
f76bf8491b
|
@ -198,6 +198,7 @@
|
|||
|
||||
|
||||
select r.*,t.name from ten_record_${params.tenantId} r left join ten_person t on r.person_id = t.person_id
|
||||
where 1 = 1
|
||||
<if test="params.cellId != null and params.cellId!=''">
|
||||
and r.cell_id = #{params.cellId}
|
||||
</if>
|
||||
|
@ -207,7 +208,7 @@
|
|||
<if test="params.recordTimeStart != null and params.recordTimeStart!=''">
|
||||
and `record_time` >= #{params.recordTimeStart}
|
||||
</if>
|
||||
<if test="params.recordTimeEnd != null and params.recordTimeStart!=''">
|
||||
<if test="params.recordTimeEnd != null and params.recordTimeEnd!=''">
|
||||
and `record_time` < #{params.recordTimeEnd}
|
||||
</if>
|
||||
<if test="cellIds != null">
|
||||
|
|
Loading…
Reference in New Issue