fix 营业点查询和负数处理

This commit is contained in:
2025-10-14 14:39:58 +08:00
parent a4c45f3ba8
commit a572d3258a
2 changed files with 9 additions and 2 deletions

View File

@@ -11,8 +11,14 @@ public class ShiftAndBusinessPlaceAnalysisResponse
/// <summary>
/// 消费总金额
/// </summary>
public decimal Amount { get; set; }
[JsonIgnore]
public decimal CurrentAmount { get; set; }
/// <summary>
/// 消费总金额
/// </summary>
public string Amount => Math.Abs(CurrentAmount).ToString("F2");
/// <summary>
/// 消费人数
/// </summary>