调整箱信息接口

This commit is contained in:
18942506660
2023-11-01 16:29:30 +08:00
parent 57b4116031
commit 0f66efa9e2
10 changed files with 110 additions and 55 deletions

View File

@@ -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; }

View File

@@ -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;

View File

@@ -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);
}

View 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>();
}
}
}