select id, node_name, hardware_sn, calculation_mode, bandwidth_type, bandwidth_result, bandwidth_95_daily, bandwidth_95_monthly, avg_monthly_bandwidth_95, package_bandwidth_daily, machine_flow, uplink_switch, create_time, update_time, switch_sn, interface_name, resource_type, interface_link_device_type, effective_bandwidth_95_daily, effective_bandwidth_95_monthly, effective_avg_monthly_bandwidth_95, business_name, business_id, remark1, create_datetime, client_id, server_client_id, create_by, update_by from eps_node_bandwidth
insert into eps_node_bandwidth
node_name,
hardware_sn,
calculation_mode,
bandwidth_type,
bandwidth_result,
bandwidth_95_daily,
bandwidth_95_monthly,
avg_monthly_bandwidth_95,
package_bandwidth_daily,
machine_flow,
uplink_switch,
switch_sn,
interface_name,
resource_type,
interface_link_device_type,
effective_bandwidth_95_daily,
effective_bandwidth_95_monthly,
effective_avg_monthly_bandwidth_95,
business_name,
business_id,
remark1,
create_datetime,
client_id,
server_client_id,
create_by,
update_by,
create_time,
update_time,
#{nodeName},
#{hardwareSn},
#{calculationMode},
#{bandwidthType},
#{bandwidthResult},
#{bandwidth95Daily},
#{bandwidth95Monthly},
#{avgMonthlyBandwidth95},
#{packageBandwidthDaily},
#{machineFlow},
#{uplinkSwitch},
#{switchSn},
#{interfaceName},
#{resourceType},
#{interfaceLinkDeviceType},
#{effectiveBandwidth95Daily},
#{effectiveBandwidth95Monthly},
#{effectiveAvgMonthlyBandwidth95},
#{businessName},
#{businessId},
#{remark1},
#{createDatetime},
#{clientId},
#{serverClientId},
#{createBy},
#{updateBy},
#{createTime},
NOW(),
#{updateTime},
NOW(),
update eps_node_bandwidth
node_name = #{nodeName},
hardware_sn = #{hardwareSn},
calculation_mode = #{calculationMode},
bandwidth_type = #{bandwidthType},
bandwidth_result = #{bandwidthResult},
bandwidth_95_daily = #{bandwidth95Daily},
bandwidth_95_monthly = #{bandwidth95Monthly},
avg_monthly_bandwidth_95 = #{avgMonthlyBandwidth95},
package_bandwidth_daily = #{packageBandwidthDaily},
machine_flow = #{machineFlow},
uplink_switch = #{uplinkSwitch},
create_time = #{createTime},
update_time = #{updateTime},
switch_sn = #{switchSn},
interface_name = #{interfaceName},
resource_type = #{resourceType},
interface_link_device_type = #{interfaceLinkDeviceType},
effective_bandwidth_95_daily = #{effectiveBandwidth95Daily},
effective_bandwidth_95_monthly = #{effectiveBandwidth95Monthly},
effective_avg_monthly_bandwidth_95 = #{effectiveAvgMonthlyBandwidth95},
business_name = #{businessName},
business_id = #{businessId},
remark1 = #{remark1},
create_datetime = #{createDatetime},
client_id = #{clientId},
server_client_id = #{serverClientId},
create_by = #{createBy},
update_by = #{updateBy},
where id = #{id}
update eps_node_bandwidth
node_name = #{nodeName},
where hardware_sn = #{hardwareSn}
update eps_node_bandwidth
uplink_switch = #{uplinkSwitch},
where switch_sn = #{switchSn}
delete from eps_node_bandwidth where id = #{id}
delete from eps_node_bandwidth where id in
#{id}