select work_id, parent_id, book_id, work_cycle, work_name, work_type, work_form, finish_time,work_begin_time, work_end_time, time_term, work_range, dept_id, work_step, content, create_time, create_by, is_del from t_hidden_trouble_work
insert into t_hidden_trouble_work
parent_id,
book_id,
work_cycle,
work_name,
work_type,
work_form,
work_begin_time,
work_end_time,
finish_time,
time_term,
work_range,
dept_id,
staff_id,
work_step,
content,
create_time,
create_by,
is_del,
#{parentId},
#{bookId},
#{workCycle},
#{workName},
#{workType},
#{workForm},
#{workBeginTime},
#{workEndTime},
#{finishTime},
#{timeTerm},
#{workRange},
#{deptId},
#{staffId},
#{workStep},
#{content},
#{createTime},
#{createBy},
#{isDel},
update t_hidden_trouble_work
parent_id = #{parentId},
book_id = #{bookId},
work_cycle = #{workCycle},
work_name = #{workName},
work_type = #{workType},
work_form = #{workForm},
work_begin_time = #{workBeginTime},
work_end_time = #{workEndTime},
work_end_time = #{finishTime},
time_term = #{timeTerm},
work_range = #{workRange},
dept_id = #{deptId},
work_step = #{workStep},
content = #{content},
create_time = #{createTime},
create_by = #{createBy},
is_del = #{isDel},
where work_id = #{workId}
delete from t_hidden_trouble_work where work_id = #{workId}
delete from t_hidden_trouble_work where work_id in
#{workId}