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.

81 lines
2.2 KiB
C#

using DS.Module.Core;
using DS.WMS.ContainerManagement.Info.Dtos;
using DS.WMS.ContainerManagement.Info.Entity;
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_CtnScrapService
{
/// <summary>
/// 列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public Task<DataResult<List<CM_CtnScrapRes>>> GetListByPage(PageRequest request);
/// <summary>
/// 编辑
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
Task<DataResult> EditCM_CtnScrap(CM_CtnScrapReq model);
/// <summary>
/// 获取详情
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
DataResult<CM_CtnScrapRes> GetCM_CtnScrap(string id);
/// <summary>
/// 删除报废业务
/// </summary>
/// <param name="ids">租箱租入业务ID</param>
/// <returns></returns>
Task<DataResult> DeleteCM_CtnScrapAsync(params long[] ids);
/// <summary>
/// 报废明细_待取用_视图
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
Task<DataResult<List<VW_CM_SellCtn_NeedSellRes>>> CM_CtnScrap_Detail_View(PageRequest request);
/// <summary>
/// 添加报废业务明细
/// </summary>
/// <param name="ids">卖箱业务ID</param>
/// <returns></returns>
Task<DataResult> CM_CtnScrap_AddCtn(long id, params long[] ids);
/// <summary>
/// 买箱_确认
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
Task<DataResult> CM_CtnScrap_Confirm(string id, params long[] ids);
Task<DataResult> CM_CtnScrap_Confirm(params long[] ids);
/// <summary>
/// 买箱_取消
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
Task<DataResult> CM_CtnScrap_Cancel(string id, params long[] ids);
Task<DataResult> CM_CtnScrap_Cancel(params long[] ids);
/// <summary>
/// 买箱_生成费用
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
Task<DataResult> CM_CtnScrap_MakeFee(string id);
}