fix 配送点增加
This commit is contained in:
@@ -36,6 +36,11 @@ public class BookingMealRequest : IValidatableObject
|
||||
[EnumDataType(typeof(BalanceRecordSourceEnumType))]
|
||||
public BalanceRecordSourceEnumType Source { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配送地址
|
||||
/// </summary>
|
||||
[Required]
|
||||
public string DeliveryAddress { get; set; }
|
||||
|
||||
public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
|
||||
{
|
||||
|
||||
@@ -102,6 +102,7 @@ public class OrderService : IOrderService
|
||||
CostId = gainfo.CostId,
|
||||
DepartmentNo = gainfo.DepartmentNo,
|
||||
DeviceUniqueNo = string.Empty,
|
||||
DeliveryAddress = request.DeliveryAddress,
|
||||
|
||||
No = SnowFlakeHelper.Instance.NextId().ToString(),
|
||||
SubsidiesFromMonth = now.ToString("yyyyMM"),
|
||||
|
||||
@@ -34,6 +34,12 @@ public class CanteenOrderEntity : BalanceRecordEntity
|
||||
[SugarColumn(ColumnDataType = "bit", ColumnDescription = "请求json")]
|
||||
public bool IsOffline { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配送地址
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "配送地址")]
|
||||
public string DeliveryAddress { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 处理结果
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user