必填参数
This commit is contained in:
@@ -42,6 +42,7 @@ namespace WMS.Web.Core.Dto.InStock
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 组织编码:仓位-仓库-带出
|
/// 组织编码:仓位-仓库-带出
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Required(ErrorMessage = "组织不能为空")]
|
||||||
public string OrgCode { get; set; }
|
public string OrgCode { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -58,6 +59,7 @@ namespace WMS.Web.Core.Dto.InStock
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 对应金蝶的明细ID
|
/// 对应金蝶的明细ID
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Required(ErrorMessage = "ERP明细标识不能为空")]
|
||||||
public int ErpDetailId { get; set; }
|
public int ErpDetailId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -111,6 +111,7 @@ namespace WMS.Web.Repositories
|
|||||||
if (dto.CreateEndDate != null)
|
if (dto.CreateEndDate != null)
|
||||||
query = query.Where(w => w.order.CreateTime <= dto.CreateEndDate.Value);
|
query = query.Where(w => w.order.CreateTime <= dto.CreateEndDate.Value);
|
||||||
|
|
||||||
|
var tt= _singleDataService.GetSingleData(SingleAction.StocksJoinOrgCode, _loginRepositories.CompanyId, "CK003" + "101");
|
||||||
|
|
||||||
int total = await query.CountAsync();
|
int total = await query.CountAsync();
|
||||||
var list = await query.Select(s => new InStockQueryResponse()
|
var list = await query.Select(s => new InStockQueryResponse()
|
||||||
|
|||||||
Reference in New Issue
Block a user