select id, plant_id, inspection_plan_no, inspection_plan_name, detection_frequency, start_time, end_time, point_num, remarks, dept_id, del_flag, creater_code, createdate, updater_code, updatedate from t_task_inspection_plan
insert into t_task_inspection_plan
plant_id,
inspection_plan_no,
inspection_plan_name,
detection_frequency,
start_time,
end_time,
point_num,
remarks,
dept_id,
del_flag,
creater_code,
createdate,
updater_code,
updatedate,
#{plantId},
#{inspectionPlanNo},
#{inspectionPlanName},
#{detectionFrequency},
#{startTime},
#{endTime},
#{pointNum},
#{remarks},
#{deptId},
#{delFlag},
#{createrCode},
#{createdate},
#{updaterCode},
#{updatedate},
update t_task_inspection_plan
plant_id = #{plantId},
inspection_plan_no = #{inspectionPlanNo},
inspection_plan_name = #{inspectionPlanName},
detection_frequency = #{detectionFrequency},
start_time = #{startTime},
end_time = #{endTime},
point_num = #{pointNum},
remarks = #{remarks},
dept_id = #{deptId},
del_flag = #{delFlag},
creater_code = #{createrCode},
createdate = #{createdate},
updater_code = #{updaterCode},
updatedate = #{updatedate},
where id = #{id}
update t_task_inspection_plan set del_flag=1 where id = #{id}
update t_task_inspection_plan set del_flag=1 where id in
#{id}