| | |
| | | var station = new Service.Station().GetByID(input.CorpID, input.ObjectID); |
| | | if (station == null) |
| | | { |
| | | throw Oops.Oh(ErrorCodes.D001, $"泵站不存在!!"); |
| | | throw Oops.Oh(ErrorCodes.D001, $"未获取到泵站数据!!"); |
| | | } |
| | | LogHelper.Error("1"); |
| | | var pumpPipeLineList = new Service.PipeLine().GetByBelongTypeAndBelongID(input.CorpID, input.ObjectType, input.ObjectID)?.FindAll(x => x.Catalog == IStation.Product.Catalog_JiBeng); |
| | | if (pumpPipeLineList == null) |
| | | { |
| | | throw Oops.Oh(ErrorCodes.D001, $"机泵不存在!"); |
| | | throw Oops.Oh(ErrorCodes.D001, $"未获取到机泵数据!"); |
| | | } |
| | | LogHelper.Error("2"); |
| | | var etaSumSingleDayRecordList = new List<Model.EtaSumSingleDayRecord>(); |