select maint_station_id, device_type_id, maint_station_code, protocol_code, remark, create_by, create_time, update_by, update_time from dms_base_maint_station
SELECT SEQ_DMS_MAINT_STATION.NEXTVAL FROM DUAL
insert into dms_base_maint_station
maint_station_id,
device_type_id,
maint_station_code,
protocol_code,
is_flag,
remark,
create_by,
create_time,
update_by,
update_time,
#{maintStationId},
#{deviceTypeId},
#{maintStationCode},
#{protocolCode},
#{isFlag},
#{remark},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
update dms_base_maint_station
device_type_id = #{deviceTypeId},
maint_station_code = #{maintStationCode},
protocol_code = #{protocolCode},
is_flag = #{isFlag},
remark = #{remark},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
where maint_station_id = #{maintStationId}
delete from dms_base_maint_station where maint_station_id = #{maintStationId}
delete from dms_base_maint_station where maint_station_id in
#{maintStationId}