充电订单上传

zw
rszn 5 months ago
parent 46c76f21f5
commit 40da862e6a

@ -25,7 +25,7 @@ public class ChargeOrderUploadTask : ITask
try try
{ {
List<ChargeOrder>? chargeOrders = List<ChargeOrder>? chargeOrders =
_chargeOrderRepository.QueryListByClause(it => it.CloudReportStatus == 0 && it.CanUpload == 1); _chargeOrderRepository.QueryListByClause(it => Convert.ToInt32(it.CloudReportStatus) == 0 && Convert.ToInt32(it.CanUpload) == 1);
Log.Info($"there are {chargeOrders?.Count ?? 0} to upload"); Log.Info($"there are {chargeOrders?.Count ?? 0} to upload");
if (chargeOrders is { Count: > 0 }) if (chargeOrders is { Count: > 0 })

Loading…
Cancel
Save