id,
branch_name,
dept_name,
line_sddj,
line_name,
station_name,
line_xz,
substation_name,
switch_high,
switch_low,
last_year,
plan_month,
overdue_reminder,
completion_date,
jhtzjy,
overdue_reason,
create_by,
create_time,
update_by,
update_time,
del_flag,
file_id
INSERT INTO show_ydts
branch_name,
dept_name,
line_sddj,
line_name,
station_name,
line_xz,
substation_name,
switch_high,
switch_low,
last_year,
plan_month,
overdue_reminder,
completion_date,
jhtzjy,
overdue_reason,
create_by,
create_time,
file_id,
del_flag
#{branchName},
#{deptName},
#{lineSddj},
#{lineName},
#{stationName},
#{lineXz},
#{substationName},
#{switchHigh},
#{switchLow},
#{lastYear},
#{planMonth},
#{overdueReminder},
#{completionDate},
#{jhtzjy},
#{overdueReason},
#{createBy},
#{createTime},
#{fileId},
#{delFlag}
UPDATE show_ydts
set del_flag='1'
WHERE id = #{id}
UPDATE show_ydts
branch_name = #{branchName},
dept_name = #{deptName},
line_sddj = #{lineSddj},
line_name = #{lineName},
station_name = #{stationName},
line_xz = #{lineXz},
substation_name = #{substationName},
switch_high = #{switchHigh},
switch_low = #{switchLow},
last_year = #{lastYear},
plan_month = #{planMonth},
overdue_reminder = #{overdueReminder},
completion_date = #{completionDate},
jhtzjy = #{jhtzjy},
overdue_reason = #{overdueReason},
update_by = #{updateBy},
update_time = #{updateTime},
file_id = #{fileId},
del_flag = #{delFlag}
WHERE id = #{id}