| | |
| | | case atls.lock_state |
| | | when '关锁状态' then false |
| | | when '异常状态' then false |
| | | when '动作状态' then false |
| | | /*when '动作状态' then false*/ |
| | | when '操控中...' then false |
| | | when '开锁状态' then true |
| | | else false |
| | | end as lock_state_mark, |
| | |
| | | case atls.lock_state |
| | | when '关锁状态' then false |
| | | when '异常状态' then false |
| | | when '动作状态' then false |
| | | /*when '动作状态' then false*/ |
| | | when '操控中...' then false |
| | | when '开锁状态' then true |
| | | else false |
| | | end as lock_state_mark, |
| | |
| | | from ard_tank_lock atl |
| | | left join ard_tank_lock_state atls on atl."id" = atls.lock_id)t where t.rn = 1 |
| | | </select> |
| | | |
| | | <select id="getArdTankLockCount" resultType="java.lang.Long" > |
| | | select count(*) from ard_tank_lock |
| | | </select> |
| | | </mapper> |