insert into follow_up(report_id, parent_id, follow_up_name, remark, time_limit,
agent, assist_person, finish_time, status, conclusion, create_person_id,
create_person_name)
values
(#{reportId}, #{parentId}, #{followUpName}, #{remark},
#{timeLimit}, #{agent}, #{assistPerson}, #{finishTime}, #{status},
#{conclusion}, #{createPersonId}, #{createPersonName})
update follow_up
follow_up_name = #{followUpName},
remark = #{remark},
time_limit = #{timeLimit},
agent = #{agent},
assist_person = #{assistPerson},
finish_time = #{finishTime},
status = #{status},
conclusion = #{conclusion},
where id = #{id}
delete
from follow_up
where id in
#{id}
delete
from asso_follow_up_file
where follow_up_id = #{followUpId}
and FILE_ID in
#{fileId}
insert into asso_follow_up_file(follow_up_id, file_id, file_type)
values
(#{followUpId}, #{fileId}, #{fileType})