You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

179 lines
6.9 KiB
C#

2 years ago
using DS.Module.Core;
using DS.WMS.Core.App.Dtos;
2 years ago
using DS.WMS.Core.WmsModule.Entity;
namespace DS.WMS.Core.WmsModule.Interface;
public interface IWmsCommonService
{
/// <summary>
/// 初始化库存信息
/// </summary>
/// <param name="wmsInDo"></param>
/// <param name="doGoods"></param>
/// <returns></returns>
public DataResult<OP_WMS> InitOpWms (OP_WMS_IN_DO wmsInDo,OP_WMS_IN_DO_GOODS doGoods);
/// <summary>
/// 初始化库存基础信息
/// </summary>
/// <param name="wms"></param>
/// <param name="doGoods"></param>
/// <returns></returns>
public DataResult<OP_WMS_BASE> InitOpWmsBase (OP_WMS wms,OP_WMS_IN_DO_GOODS doGoods, OP_WMS_IN_PLAN_GOODS planGoods);
/// <summary>
/// 初始化物理库存信息
/// </summary>
/// <param name="wms"></param>
/// <param name="wmsInDo"></param>
/// <param name="doGoods"></param>
/// <returns></returns>
public DataResult<OP_WMS_PHYSICS> InitOpWmsPhysics (OP_WMS wms,OP_WMS_IN_DO wmsInDo,OP_WMS_IN_DO_GOODS doGoods);
/// <summary>
/// 初始化产生库存变动日志
/// </summary>
/// <param name="wms"></param>
/// <param name="wmsInDo"></param>
/// <param name="doGoods"></param>
/// <returns></returns>
public DataResult<OP_WMS_CHANGE> InitOpWmsChange (OP_WMS wms,OP_WMS_IN_DO wmsInDo,OP_WMS_IN_DO_GOODS doGoods);
/// <summary>
/// 初始化产生物理库存变动日志
/// </summary>
/// <param name="wmsId"></param>
/// <param name="physicsId"></param>
/// <param name="doGoods"></param>
/// <returns></returns>
public DataResult<OP_WMS_PHYSICS_CHANGE> InitOpWmsPhysicsChange (Guid wmsId,Guid physicsId,DateTime? doDate,OP_WMS_IN_DO_GOODS doGoods);
/// <summary>
/// 出库确认 变更OP_WMS_CHANGE
/// </summary>
/// <param name="wms"></param>
/// <param name="wmsOutDo"></param>
/// <param name="doGoods"></param>
/// <returns></returns>
public DataResult<OP_WMS_CHANGE> OpWmsOutChange (OP_WMS wms,OP_WMS_OUT_DO wmsOutDo,OP_WMS_OUT_DO_GOODS doGoods);
/// <summary>
/// 出库确认 OP_WMS减库存
/// </summary>
/// <param name="wms"></param>
/// <param name="doGoods"></param>
/// <returns></returns>
public DataResult<OP_WMS> OpWmsOutReduce (OP_WMS wms,OP_WMS_OUT_DO_GOODS doGoods);
/// <summary>
/// 出库确认 OP_WMS_PHYSICS_CHANGE变更
/// </summary>
/// <param name="physics"></param>
/// <param name="wmsOutDo"></param>
/// <param name="doGoods"></param>
/// <returns></returns>
public DataResult<OP_WMS_PHYSICS_CHANGE> OpWmsPhysicsOutChange (OP_WMS_PHYSICS physics,OP_WMS_OUT_DO wmsOutDo,OP_WMS_OUT_DO_GOODS doGoods);
/// <summary>
/// 出库确认 OP_WMS_PHYSICS减库存
/// </summary>
/// <param name="physics"></param>
/// <param name="doGoods"></param>
/// <returns></returns>
public DataResult<OP_WMS_PHYSICS> OpWmsPhysicsOutReduce (OP_WMS_PHYSICS physics,OP_WMS_OUT_DO_GOODS doGoods);
#region 清关移库
/// <summary>
/// 清关移库 原 OP_WMS减库存
/// </summary>
/// <param name="wms"></param>
/// <param name="doGoods"></param>
/// <returns></returns>
public DataResult<OP_WMS> OpWmsReduce_ClearanceMove(OP_WMS wms, ClearanceMovePlanGoodsInput doGoods);
/// <summary>
/// 清关移库 原库存 OP_WMS_CHANGE
/// </summary>
/// <param name="wms"></param>
/// <param name="wmsOutDo"></param>
/// <param name="doGoods"></param>
/// <returns></returns>
public DataResult<OP_WMS_CHANGE> OpWmsChange_ClearanceMove(OP_WMS wms, OP_WMS_CLEARANCE wmsClearance,
ClearanceMovePlanGoodsInput doGoods);
/// <summary>
/// 初始化 新库存 OP_WMS
/// </summary>
/// <param name="wms"></param>
/// <param name="doGoods"></param>
/// <returns></returns>
public DataResult<OP_WMS> OpWmsInit_ClearanceMove(OP_WMS wms, ClearanceMovePlanGoodsInput doGoods);
/// <summary>
/// 清关移库 新库存 OP_WMS_CHANGE 初始化
/// </summary>
/// <param name="wms"></param>
/// <param name="wmsInDo"></param>
/// <param name="doGoods"></param>
/// <returns></returns>
public DataResult<OP_WMS_CHANGE> InitOpWmsChange_ClearanceMove(OP_WMS wms, OP_WMS_CLEARANCE wmsInDo,
ClearanceMovePlanGoodsInput doGoods);
/// <summary>
/// 清关移库 原库存 OP_WMS_PHYSICS减少
/// </summary>
/// <param name="physics"></param>
/// <param name="doGoods"></param>
/// <returns></returns>
public DataResult<OP_WMS_PHYSICS> OpWmsPhysicsReduce_ClearanceMove(OP_WMS_PHYSICS physics,
ClearanceMovePlanGoodsInput doGoods);
/// <summary>
/// 清关移库 原库存 OP_WMS_PHYSICS_CHANGE
/// </summary>
/// <param name="physics"></param>
/// <param name="wmsClearance"></param>
/// <param name="doGoods"></param>
/// <returns></returns>
public DataResult<OP_WMS_PHYSICS_CHANGE> OpWmsPhysicsChange_ClearanceMove(OP_WMS_PHYSICS physics,
OP_WMS_CLEARANCE wmsClearance,
ClearanceMovePlanGoodsInput doGoods);
/// <summary>
/// 清关移库 新库存 初始化OP_WMS_PHYSICS
/// </summary>
/// <param name="wms"></param>
/// <param name="wmsInDo"></param>
/// <param name="doGoods"></param>
/// <returns></returns>
public DataResult<OP_WMS_PHYSICS> InitOpWmsPhysics_ClearanceMove(OP_WMS wms, OP_WMS_CLEARANCE wmsInDo,
ClearanceMovePlanGoodsInput doGoods);
/// <summary>
/// 清关移库 新库存 初始化OpWmsPhysicsChange
/// </summary>
/// <param name="wmsId"></param>
/// <param name="physicsId"></param>
/// <param name="doDate"></param>
/// <param name="doGoods"></param>
/// <returns></returns>
public DataResult<OP_WMS_PHYSICS_CHANGE> InitOpWmsPhysicsChange_ClearanceMove(Guid wmsId, Guid physicsId,
ClearanceMovePlanGoodsInput doGoods);
#endregion
1 year ago
#region 中通冷链审核生成入库确认单
public DataResult<OP_WMS_IN_DO> CreateWmsInDoByZT(OP_WMS_IN_PLAN plan);
public DataResult<List<OP_WMS_IN_DO_GOODS>> CreateWmsInDoGoodsByZT(OP_WMS_IN_PLAN plan, OP_WMS_IN_DO inDoInfo,
List<OP_WMS_IN_PLAN_GOODS> planGoods);
public DataResult<List<OP_WMS_FEERATE_DO_DETAIL>> CreateWmsInDoFeeRateByZT(List<OP_WMS_FEERATE_IN_DETAIL> inFees,
Guid doId);
#endregion
1 year ago
#region 中通冷链审核生成出库确认单
public DataResult<OP_WMS_OUT_DO> CreateWmsOutDoByZT(OP_WMS_OUT_PLAN plan);
public DataResult<List<OP_WMS_OUT_DO_GOODS>> CreateWmsOutDoGoodsByZT(OP_WMS_OUT_DO outDoInfo,
List<OP_WMS_OUT_PLAN_DETAIL> planGoods);
1 year ago
#endregion
1 year ago
#region 中通冷链清关审核生成出库确认单
public DataResult<OP_WMS_OUT_DO> CreateWmsOutDoByZTClearance(OP_WMS_CLEARANCE plan);
public DataResult<List<OP_WMS_OUT_DO_GOODS>> CreateWmsOutDoGoodsByZTClearance(OP_WMS_OUT_DO outDoInfo,
List<OP_WMS_CLEARANCE_DETAIL> planGoods);
#endregion
2 years ago
}