回退类型参数名称优化
This commit is contained in:
@@ -215,7 +215,7 @@
|
|||||||
保存出入库回退上下架:请求对象
|
保存出入库回退上下架:请求对象
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:WMS.Web.Core.Dto.BackRecord.SaveBackRecordRequest.Type">
|
<member name="P:WMS.Web.Core.Dto.BackRecord.SaveBackRecordRequest.BackRecordType">
|
||||||
<summary>
|
<summary>
|
||||||
类型:1为入库回退下架,2为出库回退上架
|
类型:1为入库回退下架,2为出库回退上架
|
||||||
</summary>
|
</summary>
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ namespace WMS.Web.Core.Dto.BackRecord
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 类型:1为入库回退下架,2为出库回退上架
|
/// 类型:1为入库回退下架,2为出库回退上架
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Required(ErrorMessage = "类型不能为空")]
|
[Required(ErrorMessage = "回退类型不能为空")]
|
||||||
public int Type { get; set; }
|
public int BackRecordType { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 明细
|
/// 明细
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ namespace WMS.Web.Domain.Services
|
|||||||
bool isTransaction = false;
|
bool isTransaction = false;
|
||||||
|
|
||||||
var entity = new BackRecord();
|
var entity = new BackRecord();
|
||||||
entity.Type = (BackRecordType)dto.Type;
|
entity.Type = (BackRecordType)dto.BackRecordType;
|
||||||
entity.Details = _mapper.Map<List<BackRecordDetails>>(dto.Details);
|
entity.Details = _mapper.Map<List<BackRecordDetails>>(dto.Details);
|
||||||
entity.Create(loginInfo.UserInfo.StaffId);
|
entity.Create(loginInfo.UserInfo.StaffId);
|
||||||
entity = await _backRecordRepositories.Add(entity, isTransaction);
|
entity = await _backRecordRepositories.Add(entity, isTransaction);
|
||||||
|
|||||||
Reference in New Issue
Block a user