id,
line_name,
substation_name,
sbmc,
yxbh,
test_cycle,
test_plan_date,
completion_date,
create_by,
create_time,
update_by,
update_time,
del_flag,
file_id
INSERT INTO show_test_plan_dt
line_name,
substation_name,
sbmc,
yxbh,
test_cycle,
test_plan_date,
completion_date,
create_by,
create_time,
file_id,
del_flag
#{lineName},
#{substationName},
#{sbmc},
#{yxbh},
#{testCycle},
#{testPlanDate},
#{completionDate},
#{createBy},
#{createTime},
#{fileId},
#{delFlag}
UPDATE show_test_plan_dt
set del_flag='1'
WHERE id = #{id}
UPDATE show_test_plan_dt
line_name = #{lineName},
substation_name = #{substationName},
sbmc = #{sbmc},
yxbh = #{yxbh},
test_cycle = #{testCycle},
test_plan_date = #{testPlanDate},
completion_date = #{completionDate},
update_by = #{updateBy},
update_time = #{updateTime},
file_id = #{fileId},
del_flag = #{delFlag}
WHERE id = #{id}