select relation_device_detail_id,relation_device_id,device_name,device_model,iot_no,remarks, (CASE device_type WHEN '1' THEN '压力表' WHEN '2' THEN '流量计' end) as device_type
from t_relation_device_detail_info where relation_device_id=#{id}
</select>
<!--关联设备数据删除接口-->
<updateid="deleteDetailInfo">
update t_relation_device_detail_info set is_del='1' where relation_device_detail_id in
...
...
@@ -188,13 +194,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"