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