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