| | |
| | | <select id="getAllArdTankWall" resultMap="ArdTankWallResult"> |
| | | select * from ard_tank_wall order by wall_name |
| | | </select> |
| | | |
| | | <select id="getArdTankWallByLockId" resultType="java.util.Map" parameterType="java.lang.String"> |
| | | select atw.id,atw.wall_name as "wallName",atw.wall_poi as "wallPoi", |
| | | atwl.process_type as "processType",case process_type when '-1' then '关动作' |
| | | when '0' then '无动作' when '1' then '开动作' end as process |
| | | from ard_tank_wall_lock atwl |
| | | inner join ard_tank_wall atw on atwl.wall_id = atw.id |
| | | where atwl.lock_id = #{id} |
| | | </select> |
| | | </mapper> |