t.id, t.piecewise, v.dept_id, v.dept_name, v.line_id, v.line_name, t.xingbie, v.station_id, v.station_name, t.dept_station_id, t.pillar_code, t.marker, t.start_marker, t.end_marker, t.risk_source, t.measures, t.remark, t.del_flag, t.create_by, t.create_time, t.update_by, t.update_time select @@IDENTITY as id INSERT INTO base_prevent_ice piecewise, dept_id, dept_name, line_id, line_name, xingbie, dept_station_id, station_name, pillar_code, marker, start_marker, end_marker, risk_source, measures, remark, del_flag, create_by, create_time, update_by, update_time #{piecewise}, #{deptId}, #{deptName}, #{lineId}, #{lineName}, #{xingbie}, #{deptStationId}, #{stationName}, #{pillarCode}, #{marker}, #{startMarker}, #{endMarker}, #{riskSource}, #{measures}, #{remark}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime} UPDATE base_prevent_ice set del_flag='1' WHERE id = #{id} UPDATE base_prevent_ice piecewise = #{piecewise}, dept_id = #{deptId}, dept_name = #{deptName}, line_id = #{lineId}, line_name = #{lineName}, xingbie = #{xingbie}, dept_station_id = #{deptStationId}, station_name = #{stationName}, pillar_code = #{pillarCode}, marker = #{marker}, start_marker = #{startMarker}, end_marker = #{endMarker}, risk_source = #{riskSource}, measures = #{measures}, remark = #{remark}, del_flag = #{delFlag}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime} WHERE id = #{id}