| | |
| | | inner join ard_tank_wall_temporary atwt on atwlt.wall_id = atwt."id" |
| | | where "asc".car_id = #{carId} and atwt.process_mark = '1' |
| | | </select> |
| | | |
| | | <select id="getAliveArdTankWallTemporaryWithCarId" resultType="java.util.Map"> |
| | | select distinct atwt."id",atwt.wall_name as "wallName", |
| | | atwt.longitude,atwt.latitude,atwt.distance,atwt."interval", |
| | | atwt.process_time as "processTime",atwt.process_mark as "processMark", |
| | | atwt.user_id as "userId",atwt.user_name as "userName", |
| | | "asy".car_id as "carId" from ard_tank_wall_temporary atwt |
| | | inner join ard_tank_wall_lock_temporary atwlt on atwt."id" = atwlt.wall_id |
| | | inner join ard_tank_lock atl on atwlt.lock_id = atl."id" |
| | | inner join ard_sy_car "asy" on atl.car_id = "asy".car_id |
| | | where atwt.process_mark = '1' |
| | | </select> |
| | | </mapper> |