diff --git a/Entity/DbModel/Station/ChargeOrder.cs b/Entity/DbModel/Station/ChargeOrder.cs index d204226..b7cc9cf 100644 --- a/Entity/DbModel/Station/ChargeOrder.cs +++ b/Entity/DbModel/Station/ChargeOrder.cs @@ -16,7 +16,7 @@ namespace Entity.DbModel.Station /// Desc:id /// Default: /// Nullable:False - /// + /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")] public int Id { get; set; } @@ -266,7 +266,7 @@ namespace Entity.DbModel.Station [SugarColumn(ColumnName = "cloud_report_status")] public int? CloudReportStatus { get; set; } - + /// /// Desc:云平台订单编号 /// Default: @@ -283,4 +283,4 @@ namespace Entity.DbModel.Station [SugarColumn(ColumnName = "can_upload")] public int? CanUpload { get; set; } } -} \ No newline at end of file +} diff --git a/Service/Cloud/Client/MyTask/ChargeOrderUploadTask.cs b/Service/Cloud/Client/MyTask/ChargeOrderUploadTask.cs index b62b72e..d857912 100644 --- a/Service/Cloud/Client/MyTask/ChargeOrderUploadTask.cs +++ b/Service/Cloud/Client/MyTask/ChargeOrderUploadTask.cs @@ -25,7 +25,7 @@ public class ChargeOrderUploadTask : ITask try { List? 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"); if (chargeOrders is { Count: > 0 }) diff --git a/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Core.dll b/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Core.dll deleted file mode 100644 index 3d82ef1..0000000 Binary files a/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Core.dll and /dev/null differ diff --git a/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Core.pdb b/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Core.pdb deleted file mode 100644 index e036166..0000000 Binary files a/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Core.pdb and /dev/null differ diff --git a/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Models.dll b/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Models.dll deleted file mode 100644 index 3f943f3..0000000 Binary files a/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Models.dll and /dev/null differ diff --git a/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Models.pdb b/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Models.pdb deleted file mode 100644 index 52a6cfa..0000000 Binary files a/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Models.pdb and /dev/null differ diff --git a/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Repository.dll b/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Repository.dll deleted file mode 100644 index 50ca342..0000000 Binary files a/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Repository.dll and /dev/null differ diff --git a/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Repository.pdb b/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Repository.pdb deleted file mode 100644 index 32c26f2..0000000 Binary files a/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Repository.pdb and /dev/null differ diff --git a/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Services.dll b/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Services.dll deleted file mode 100644 index 95feaf7..0000000 Binary files a/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Services.dll and /dev/null differ diff --git a/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Services.pdb b/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Services.pdb deleted file mode 100644 index 8630804..0000000 Binary files a/WebStarter/bin/Debug/net6.0/SwapBatteryMaersai.Services.pdb and /dev/null differ