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.

66 lines
2.3 KiB
C#

using DS.Module.Core;
using DS.WMS.Core.FeeModule.Entity;
using DS.WMS.Core.WmsModule.Entity;
namespace DS.WMS.Core.FeeModule.Interface;
public interface IWmsFeeComonService
{
/// <summary>
/// 初始化库存费率
/// </summary>
/// <param name="wmsId"></param>
/// <param name="doFees"></param>
/// <param name="feeTypeGid"></param>
/// <returns></returns>
public DataResult<List<OP_WMS_FEERATE_STORE_DETAIL>> InitOpWmsStoreRate (Guid wmsId,List<OP_WMS_FEERATE_DO_DETAIL> doFees, Guid? feeTypeGid);
/// <summary>
/// 获取费用记录表
/// </summary>
/// <param name="inDo"></param>
/// <param name="wms"></param>
/// <returns></returns>
public DataResult<OP_WMS_FEEPAYINFO> InitOpWmsPayInfo (OP_WMS_IN_DO inDo, OP_WMS wms);
/// <summary>
/// 获取费用记录表
/// </summary>
/// <param name="inDo"></param>
/// <param name="wms"></param>
/// <returns></returns>
public DataResult<OP_WMS_FEEPAYINFO> InitOpWmsPayInfo(OP_WMS wms);
/// <summary>
/// 入库现结费用
/// </summary>
/// <param name="doFees"></param>
/// <param name="details"></param>
/// <param name="inDo"></param>
/// <returns></returns>
public DataResult<List<Fee>> InitOpWmsFee(List<OP_WMS_FEERATE_DO_DETAIL> doFees,
List<OP_WMS_IN_DO_GOODS> details, OP_WMS_IN_DO inDo, List<CodeFee> codeFees);
/// <summary>
/// 移库费率
/// </summary>
/// <param name="wmsId"></param>
/// <param name="storeRate"></param>
/// <returns></returns>
public DataResult<List<OP_WMS_FEERATE_STORE_DETAIL>> InitMoveOpWmsStoreRate (Guid wmsId, List<OP_WMS_FEERATE_STORE_DETAIL> storeRate);
/// <summary>
/// 获取费率
/// </summary>
/// <param name="feeList"></param>
/// <param name="_currday"></param>
/// <param name="startDay"></param>
/// <returns></returns>
public DataResult<decimal> GetWmsFeeRate(List<OP_WMS_FEERATE_STORE_DETAIL> feeList, DateTime _currday,
DateTime startDay);
/// <summary>
/// 获取库存变化日志
/// </summary>
/// <param name="_currday"></param>
/// <param name="wmsChangelist"></param>
/// <returns></returns>
public DataResult<List<OP_WMS_CHANGE>> GetWmsChangeList(DateTime _currday, List<OP_WMS_CHANGE> wmsChangelist);
}