fix(mapper): 修复设备事件查询中的线路关联条件
- 在 cs_line 表关联中添加 clDid 匹配条件
This commit is contained in:
@@ -176,7 +176,7 @@
|
||||
cs_event b
|
||||
inner join cs_equipment_delivery c on b.device_id=c.id
|
||||
<if test="csEventUserQueryPage != null and csEventUserQueryPage.type != null and csEventUserQueryPage.type != '' and csEventUserQueryPage.type ==0">
|
||||
inner join cs_line d on d.device_id=b.device_id
|
||||
inner join cs_line d on d.device_id = b.device_id and d.clDid=b.cl_did
|
||||
</if>
|
||||
where 1=1
|
||||
and b.process=c.process
|
||||
|
||||
Reference in New Issue
Block a user