diff --git a/cs-device/cs-device-boot/src/main/java/com/njcn/csdevice/mapper/mapping/CsTouristDataPOMapper.xml b/cs-device/cs-device-boot/src/main/java/com/njcn/csdevice/mapper/mapping/CsTouristDataPOMapper.xml index d827f02..258ce6f 100644 --- a/cs-device/cs-device-boot/src/main/java/com/njcn/csdevice/mapper/mapping/CsTouristDataPOMapper.xml +++ b/cs-device/cs-device-boot/src/main/java/com/njcn/csdevice/mapper/mapping/CsTouristDataPOMapper.xml @@ -25,6 +25,6 @@ cs_tourist_data a LEFT JOIN cs_ledger b ON a.device_id = b.id LEFT JOIN cs_ledger c ON a.project_id = c.id - LEFT JOIN cs_ledger d ON a.enginer_id = d.id; + LEFT JOIN cs_ledger d ON a.enginer_id = d.id where b.state=1 and c.state=1 and d.state=1; \ No newline at end of file