登录退出-优化
This commit is contained in:
@@ -31,7 +31,10 @@ namespace WMS.Web.Domain.Entitys
|
||||
/// 箱编号(老OPS生成的箱号)
|
||||
/// </summary>
|
||||
public string BoxBillNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 供应商Id
|
||||
/// </summary>
|
||||
public int SupplierId { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间(对应老OPS的创建时间)
|
||||
/// </summary>
|
||||
|
||||
@@ -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; }
|
||||
|
||||
@@ -76,12 +76,13 @@ namespace WMS.Web.Domain.Entitys
|
||||
[Column("AfterQty")]
|
||||
public decimal AfterQty { get; set; }
|
||||
/// <summary>
|
||||
/// 盘点后数量
|
||||
/// 盘点数量
|
||||
/// </summary>
|
||||
[Column("FinalQty")]
|
||||
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