فهرست منبع

监测链接预警-配置

zhaoxian 2 سال پیش
والد
کامیت
ef38e4534b

+ 1 - 0
jeecg-boot-module-system/src/main/java/cn/com/ctop/kuaishou/modules/clean/service/impl/TrackMonitorConfigureServiceImpl.java

@@ -21,6 +21,7 @@ public class TrackMonitorConfigureServiceImpl extends ServiceImpl<TrackMonitorCo
     public TrackMonitorConfigure getByAccountId(Long accountId) {
         QueryWrapper<TrackMonitorConfigure> queryWrapper = new QueryWrapper<>();
         queryWrapper.eq("account_id", accountId);
+        queryWrapper.last("limit 1");
         return this.getOne(queryWrapper);
     }
 }