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.

75 lines
2.1 KiB
C#

using DS.Module.Core;
using DS.WMS.ContainerManagement.Info.Dtos;
using DS.WMS.Core.Info.Dtos;
using DS.WMS.Core.Op.View;
using DS.WMS.Core.Sys.Dtos;
namespace DS.WMS.ContainerManagement.Info.Interface;
public interface ICM_SellCtnService
{
/// <summary>
/// 列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public Task<DataResult<List<CM_SellCtnRes>>> GetListByPage(PageRequest request);
/// <summary>
/// 编辑
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
Task<DataResult> EditCM_SellCtn(CM_SellCtnReq model);
/// <summary>
/// 获取详情
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
DataResult<CM_SellCtnRes> GetCM_SellCtn(string id);
/// <summary>
/// 删除卖箱业务
/// </summary>
/// <param name="ids">卖箱业务ID</param>
/// <returns></returns>
Task<DataResult> DeleteCM_SellCtnAsync(params long[] ids);
/// <summary>
/// 卖箱_确认
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
Task<DataResult> CM_SellCtn_Confirm(string id, params long[] ids);
Task<DataResult> CM_SellCtn_Confirm(params long[] ids);
/// <summary>
/// 卖箱_取消
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
Task<DataResult> CM_SellCtn_Cancel(string id, params long[] ids);
Task<DataResult> CM_SellCtn_Cancel(params long[] ids);
/// <summary>
/// 卖箱_生成费用
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
Task<DataResult> CM_SellCtn_MakeFee(string id);
/// <summary>
/// 卖箱明细_视图
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
Task<DataResult<List<VW_CM_SellCtn_NeedSellRes>>> CM_SellCtn_Detail_View(PageRequest request);
/// <summary>
/// 删除租入业务
/// </summary>
/// <param name="ids">卖箱业务ID</param>
/// <returns></returns>
Task<DataResult> CM_SellCtn_AddCtn(long id, params long[] ids);
}