select id, items_code, items_name, items_type, standard, items_content, create_user, create_time, update_user, update_time, results, plan_task_id from em_inspection_plan_items_project
insert into em_inspection_plan_items_project
items_code,
items_name,
items_type,
standard,
items_content,
create_user,
create_time,
update_user,
update_time,
results,
plan_task_id,
#{itemsCode},
#{itemsName},
#{itemsType},
#{standard},
#{itemsContent},
#{createUser},
#{createTime},
#{updateUser},
#{updateTime},
#{results},
#{planTaskId},
update em_inspection_plan_items_project
items_code = #{itemsCode},
items_name = #{itemsName},
items_type = #{itemsType},
standard = #{standard},
items_content = #{itemsContent},
create_user = #{createUser},
create_time = #{createTime},
update_user = #{updateUser},
update_time = #{updateTime},
results = #{results},
plan_task_id = #{planTaskId},
where id = #{id}
delete from em_inspection_plan_items_project where id = #{id}
delete from em_inspection_plan_items_project where id in
#{id}