fix 消费额为0跳过
This commit is contained in:
@@ -52,6 +52,11 @@ public class CostUploadJob : BaseJob
|
||||
.Where(x => !BalanceRecordSourceConstants.IgnoreSources.Contains(x.Source))
|
||||
.SumAsync(x => x.Amount);
|
||||
|
||||
if (balance == 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
var response = await jipApi.UploadCostAsync(new UploadCostRequest
|
||||
{
|
||||
Data = new List<UploadCostItemRequest>
|
||||
|
||||
Reference in New Issue
Block a user