修改参数
This commit is contained in:
parent
8e0da57ba1
commit
36dee732c0
|
|
@ -8,7 +8,7 @@
|
|||
dev_type, dev_code, dev_name,
|
||||
dev_status,dev_warn, del_flag,
|
||||
dev_err, dev_factory, remark, pro_name,
|
||||
pro_code, rel_id,bd_id,rel_type
|
||||
pro_code, rel_id,bd_id,rel_type
|
||||
)values
|
||||
(#{deviceType},#{deviceCode},#{deviceName},
|
||||
#{deviceOnlineState},#{deviceAlarmState},0,
|
||||
|
|
@ -43,7 +43,8 @@
|
|||
dev_status= #{deviceOnlineState},dev_warn=#{deviceAlarmState},
|
||||
dev_err= #{deviceFailureState}, dev_factory=#{deviceFactory}, remark=#{remark},
|
||||
pro_name=#{deviceProjectCode},
|
||||
pro_code=#{deviceProjectCode},rel_type=#{relType}
|
||||
pro_code=#{deviceProjectCode},
|
||||
rel_type=#{relType}
|
||||
where rel_id=#{id} and bd_id=#{bdId}
|
||||
</update>
|
||||
<!--数据采集同步-->
|
||||
|
|
@ -97,6 +98,6 @@
|
|||
FROM sys_dict_data
|
||||
WHERE dict_type='dev_type'
|
||||
and status=0
|
||||
and dict_value LIKE CONCAT("%",#{},',',"%")
|
||||
and dict_value LIKE CONCAT("%",#{relType},',',"%")
|
||||
</select>
|
||||
</mapper>
|
||||
Loading…
Reference in New Issue