调整箱信息接口
This commit is contained in:
@@ -28,10 +28,6 @@ namespace WMS.Web.Domain.Entitys
|
||||
/// </summary>
|
||||
public int MaterialId { get; set; }
|
||||
/// <summary>
|
||||
/// 供应商ID
|
||||
/// </summary>
|
||||
public int SupplierId { get; set; }
|
||||
/// <summary>
|
||||
/// 数量(装箱数量)
|
||||
/// </summary>
|
||||
public decimal Qty { get; set; }
|
||||
|
||||
@@ -82,6 +82,7 @@ namespace WMS.Web.Domain.Entitys
|
||||
public decimal FinalQty { get; set; }
|
||||
/// <summary>
|
||||
/// 盘点结果类型:1为盘盈,2位盘亏
|
||||
/// 实际仓库数量-WMS系统数量 大于0为盘盈 小于0为盘亏
|
||||
/// </summary>
|
||||
[Column("ResultType")]
|
||||
public TakeStockType ResultType { get; set; } = TakeStockType.Profit;
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace WMS.Web.Domain.Infrastructure
|
||||
{
|
||||
Task<Box> Get(int id);
|
||||
//根据箱号查询明细信息
|
||||
Task<BoxResponse> GetBox(string BoxBillNo);
|
||||
Task<List<BoxResponse>> GetBox(List<string> billNos);
|
||||
//批量修改
|
||||
Task<bool> EditEntityList(List<Box> entitys, bool isTransaction = true);
|
||||
}
|
||||
|
||||
21
src/WMS.Web.Domain/Mappers/BoxMapper.cs
Normal file
21
src/WMS.Web.Domain/Mappers/BoxMapper.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using AutoMapper;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using WMS.Web.Core.Dto;
|
||||
using WMS.Web.Domain.Entitys;
|
||||
|
||||
namespace WMS.Web.Domain.Mappers
|
||||
{
|
||||
/// <summary>
|
||||
/// 箱信息
|
||||
/// </summary>
|
||||
public class BoxMapper : Profile
|
||||
{
|
||||
public BoxMapper()
|
||||
{
|
||||
CreateMap<Box, BoxResponse>();
|
||||
CreateMap<BoxDetails, BoxDetailResponse>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user