|
@@ -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);
|
|
|
}
|
|
|
}
|