INSERT INTO
traffic_nmsserver_statistic(
commit_time ,
area ,
total ,
normal ,
abnormal
) VALUES (
#{commitTime},
#{area},
#{total},
#{normal},
#{abnormal}
)
delete from
traffic_nmsserver_statistic
where id=#{id}
INSERT INTO traffic_abnormal_machine(
nmsserver_id ,
hostName ,
ip
)
VALUES
(
#{nmsServerId},
#{item.hostName},
#{item.ip}
)