diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcSgjipTop5Controller.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcSgjipTop5Controller.java index 15400695..4ee72648 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcSgjipTop5Controller.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcSgjipTop5Controller.java @@ -73,7 +73,7 @@ public class TcSgjipTop5Controller extends BaseController { //根据S_attack_ip判断如果已存在,则调修改 TcSgjipTop5 newtcSgjipTop5=new TcSgjipTop5(); newtcSgjipTop5.setSAttackIp(tcSgjipTop5.getSAttackIp()); - List list = tcSgjipTop5Service.selectTcSgjipTop5List(tcSgjipTop5); + List list = tcSgjipTop5Service.selectTcSgjipTop5List(newtcSgjipTop5); if (!list.isEmpty()){ for (TcSgjipTop5 a :list) { tcSgjipTop5.setId(a.getId());