insert into dc_execute_action
(emergency_plans_id,
device_type,
action_type,
create_time,
search_rule,
`number`,
device_list,
other_config
)
values
(#{item.emergencyPlansId},
#{item.deviceType},
#{item.actionType},
#{item.createTime},
#{item.searchRule},
#{item.number},
#{item.deviceList},
#{item.otherConfig})
update dc_execute_action
when id=#{item.id}
then #{item.emergencyPlansId}
when id=#{item.id}
then #{item.deviceType}
when id=#{item.id}
then #{item.actionType}
when id=#{item.id}
then #{item.updateTime}
when id=#{item.id}
then #{item.searchRule}
when id=#{item.id}
then #{item.number}
when id=#{item.id}
then #{item.deviceList}
when id=#{item.id}
then #{item.otherConfig}
where id in
#{item.id}
delete from dc_execute_action where emergency_plans_id in
#{id}
delete from dc_execute_action where id in
#{id}