zhangnaisong
2024-07-06 06842b9c367083c3bf77b8b54a1e1a32b68a2e5e
ard-work/src/main/resources/mapper/sy/ArdTankWallMapper.xml
@@ -65,4 +65,13 @@
    <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>