|
|
|
@ -71,9 +71,9 @@ public class SwapOrderMgr
|
|
|
|
|
|
|
|
|
|
var count = _swapOrderRepository.GetCount(i =>
|
|
|
|
|
i.SwapResult == 1 && i.SwapEndTime >= DateTime.Today && i.SwapEndTime < swapOrder.SwapEndTime);
|
|
|
|
|
|
|
|
|
|
var uploadSwapOrder = CloudApi.UploadSwapOrder(swapOrder, count++, swapOrderBattery, uploadType);
|
|
|
|
|
swapOrderReportClouds.TryGetValue(swapOrder.Id, out SwapOrderReportCloud value);
|
|
|
|
|
var uploadSwapOrder = CloudApi.UploadSwapOrder(swapOrder, count++, swapOrderBattery, uploadType,value);
|
|
|
|
|
|
|
|
|
|
if (uploadSwapOrder == 0)
|
|
|
|
|
{
|
|
|
|
|
swapOrder.CloudReportStatus = 1;
|
|
|
|
|