select book_id, trouble_name, trouble_type, trouble_level, measures, trouble_harm, escalation, find_time, picture, enclosure, proposal,rectification_term, investment_cost, investment_material, rectification, rectification_pictrue, rectification_text, rectification_time, remarks, finish_day, inspect_pictrue, inspect_time, inspect_result, person_liable, state, dept_id, work_id, create_time, create_by, is_del from t_staning_book
insert into t_staning_book
trouble_name,
trouble_type,
trouble_level,
measures,
trouble_harm,
escalation,
find_time,
picture,
enclosure,
proposal,
rectification_term,
investment_cost,
investment_material,
rectification,
rectification_pictrue,
rectification_text,
rectification_time,
remarks,
finish_day,
inspect_pictrue,
inspect_time,
inspect_result,
person_liable,
state,
dept_id,
work_id,
create_time,
create_by,
is_del,
#{troubleName},
#{troubleType},
#{troubleLevel},
#{measures},
#{troubleHarm},
#{escalation},
#{findTime},
#{picture},
#{enclosure},
#{proposal},
#{rectificationTerm},
#{investmentCost},
#{investmentMaterial},
#{rectification},
#{rectificationPictrue},
#{rectificationText},
#{rectificationTime},
#{remarks},
#{finishDay},
#{inspectPictrue},
#{inspectTime},
#{inspectResult},
#{personLiable},
#{state},
#{deptId},
#{workId},
#{createTime},
#{createBy},
#{isDel},
update t_staning_book
trouble_name = #{troubleName},
trouble_type = #{troubleType},
trouble_level = #{troubleLevel},
measures = #{measures},
trouble_harm = #{troubleHarm},
escalation = #{escalation},
find_time = #{findTime},
picture = #{picture},
enclosure = #{enclosure},
proposal = #{proposal},
rectification_term = #{rectificationTerm},
investment_cost = #{investmentCost},
investment_material = #{investmentMaterial},
rectification = #{rectification},
rectification_pictrue = #{rectificationPictrue},
rectification_text = #{rectificationText},
rectification_time = #{rectificationTime},
remarks = #{remarks},
finish_day = #{finishDay},
inspect_pictrue = #{inspectPictrue},
inspect_time = #{inspectTime},
inspect_result = #{inspectResult},
person_liable = #{personLiable},
state = #{state},
dept_id = #{deptId},
work_id = #{workId},
create_time = #{createTime},
create_by = #{createBy},
is_del = #{isDel},
where book_id = #{bookId}
delete from t_staning_book where book_id = #{bookId}
delete from t_staning_book where book_id in
#{bookId}