insert into expectation_target(target_id, target_name, expectation_id)
values
(#{expectationTarget.targetId}, #{expectationTarget.targetName}, #{expectationId})
insert into expectation_target(target_id, target_name, expectation_id)
values
(#{item.targetId}, #{item.targetName}, #{expectationId})
update expectation_target
target_name = #{expectationTarget.targetName},
where target_id = #{expectationTargetId}
delete from expectation_target
where target_id = #{expectationTargetId}
delete from expectation_target
where expectation_id= #{expectationId}