| | |
| | | from |
| | | ja_fw_drone_flight_record dfr |
| | | left join |
| | | ja_fw_device d on dfr.device_id = d.id |
| | | ja_fw_device d on dfr.device_id = d.id::VARCHAR |
| | | <where> |
| | | dfr.is_deleted = 0 |
| | | and d.track_status = 1 |
| | |
| | | FROM |
| | | ja_fw_drone_flight_record dfr |
| | | left join |
| | | ja_fw_device d on dfr.device_id = d.id |
| | | ja_fw_device d on dfr.device_id = d.id::VARCHAR |
| | | left join |
| | | ja_fw_drone_flight_record_detail dfrd on dfr.id = dfrd.flight_record_id |
| | | ja_fw_drone_flight_record_detail dfrd on dfr.id = dfrd.flight_record_id::VARCHAR |
| | | <where> |
| | | dfr.is_deleted = 0 |
| | | <if test="ids != null and ids.size() > 0"> |