select checkplan_detail_id, flow_checkplan_id, device_id, check_time, variation_flag, skip_cause, check_person, last_check_time from dms_flow_checkplan_detail
insert into dms_flow_checkplan_detail
flow_checkplan_id,
device_id,
check_time,
variation_flag,
skip_cause,
check_person,
last_check_time,
#{flowCheckplanId},
#{deviceId},
#{checkTime},
#{variationFlag},
#{skipCause},
#{checkPerson},
#{lastCheckTime},
update dms_flow_checkplan_detail
flow_checkplan_id = #{flowCheckplanId},
device_id = #{deviceId},
check_time = #{checkTime},
variation_flag = #{variationFlag},
skip_cause = #{skipCause},
check_person = #{checkPerson},
last_check_time = #{lastCheckTime},
where checkplan_detail_id = #{checkplanDetailId}
delete from dms_flow_checkplan_detail where checkplan_detail_id = #{checkplanDetailId}
delete from dms_flow_checkplan_detail where checkplan_detail_id in
#{checkplanDetailId}