过滤carList 未上报时的数据

master
lxw 5 months ago
parent b07f198b23
commit 8a9e76825a

@ -275,6 +275,7 @@ public class SwapMonitorController : ControllerBase
return Result<List<TboxCarInfoModel>>.Success(new List<TboxCarInfoModel>()); return Result<List<TboxCarInfoModel>>.Success(new List<TboxCarInfoModel>());
} }
return Result<List<TboxCarInfoModel>>.Success(carInfoList);
return Result<List<TboxCarInfoModel>>.Success(carInfoList.Where(i => i.CarNo.Length >= 17).ToList());
} }
} }
Loading…
Cancel
Save