fix 金额小数点
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
namespace Dlhis.Canteen.Order.Response;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Dlhis.Canteen.Order.Response;
|
||||
|
||||
public class OrderResultResponse
|
||||
{
|
||||
@@ -22,8 +24,11 @@ public class OrderResultResponse
|
||||
/// </summary>
|
||||
public string DepartmentName { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public decimal CurrentBalance { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 余额
|
||||
/// </summary>
|
||||
public decimal Balance { get; set; }
|
||||
public string Balance => CurrentBalance.ToString("f2");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user