收发通模板修改

optimize
wanghaomei 2 years ago
parent 34c41e1494
commit 101ce04b18

@ -76,8 +76,8 @@ namespace Myshipping.Application
throw Oops.Oh(BookingErrorCode.BOOK111); throw Oops.Oh(BookingErrorCode.BOOK111);
} }
bt.Content = input.Content; input.Adapt(bt);
bt.Remark = input.Remark;
await _rep.AsUpdateable(bt).IgnoreColumns(ignoreAllNullColumns: true).ExecuteCommandAsync(); await _rep.AsUpdateable(bt).IgnoreColumns(ignoreAllNullColumns: true).ExecuteCommandAsync();
} }

@ -41,7 +41,7 @@ namespace Myshipping.Application
/// <summary> /// <summary>
/// 订舱模板修改输入参数 /// 订舱模板修改输入参数
/// </summary> /// </summary>
public class UpdateBookingTemplateInput public class UpdateBookingTemplateInput: BookingTemplateInput
{ {
/// <summary> /// <summary>
/// 主键 /// 主键
@ -49,15 +49,6 @@ namespace Myshipping.Application
[Required(ErrorMessage = "主键不能为空")] [Required(ErrorMessage = "主键不能为空")]
public long Id { get; set; } public long Id { get; set; }
/// <summary>
/// 模板内容
/// </summary>
public virtual string Content { get; set; }
/// <summary>
/// 备注
/// </summary>
public virtual string Remark { get; set; }
} }
/// <summary> /// <summary>

Loading…
Cancel
Save