diff --git a/shapelight-admin/src/main/resources/mapper/ten/TenRecordDao.xml b/shapelight-admin/src/main/resources/mapper/ten/TenRecordDao.xml index f97891f..192a556 100644 --- a/shapelight-admin/src/main/resources/mapper/ten/TenRecordDao.xml +++ b/shapelight-admin/src/main/resources/mapper/ten/TenRecordDao.xml @@ -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 and r.cell_id = #{params.cellId} @@ -207,7 +208,7 @@ and `record_time` >= #{params.recordTimeStart} - + and `record_time` < #{params.recordTimeEnd}