新增受攻击IPTOP5修改

Lvtianfang
dongdingding 1 year ago
parent 6346880aa0
commit 7a88f5649b

@ -73,7 +73,7 @@ public class TcSgjipTop5Controller extends BaseController {
//根据S_attack_ip判断如果已存在则调修改 //根据S_attack_ip判断如果已存在则调修改
TcSgjipTop5 newtcSgjipTop5=new TcSgjipTop5(); TcSgjipTop5 newtcSgjipTop5=new TcSgjipTop5();
newtcSgjipTop5.setSAttackIp(tcSgjipTop5.getSAttackIp()); newtcSgjipTop5.setSAttackIp(tcSgjipTop5.getSAttackIp());
List<TcSgjipTop5> list = tcSgjipTop5Service.selectTcSgjipTop5List(tcSgjipTop5); List<TcSgjipTop5> list = tcSgjipTop5Service.selectTcSgjipTop5List(newtcSgjipTop5);
if (!list.isEmpty()){ if (!list.isEmpty()){
for (TcSgjipTop5 a :list) { for (TcSgjipTop5 a :list) {
tcSgjipTop5.setId(a.getId()); tcSgjipTop5.setId(a.getId());

Loading…
Cancel
Save