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.

92 lines
2.6 KiB
C#

4 months ago
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_RentOutService
{
/// <summary>
/// 列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public Task<DataResult<List<CM_RentOutRes>>> GetListByPage(PageRequest request);
/// <summary>
/// 编辑
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
4 months ago
Task<DataResult> EditCM_RentOut(CM_RentOutReq model);
3 months ago
4 months ago
/// <summary>
/// 获取详情
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
DataResult<CM_RentOutRes> GetCM_RentOut(string id);
/// <summary>
/// 删除租出业务
/// </summary>
/// <param name="ids">租箱租出业务ID</param>
/// <returns></returns>
Task<DataResult> DeleteCM_RentOutAsync(params long[] ids);
3 months ago
/// <summary>
/// 租箱租出_确认
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
Task<DataResult> CM_RentOut_Confirm(string id, params long[] ids);
Task<DataResult> CM_RentOut_Confirm(params long[] ids);
/// <summary>
/// 租箱租出_取消
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
Task<DataResult> CM_RentOut_Cancel(string id, params long[] ids);
Task<DataResult> CM_RentOut_Cancel(params long[] ids);
/// <summary>
/// 租箱租出_生成费用
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
Task<DataResult> CM_RentOut_MakeFee(string id);
/// <summary>
/// 租箱租出 待租出 明细_视图
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
3 months ago
Task<DataResult<List<VW_CM_RentOut_NeedRentRes>>> CM_RentOut_NeedRent_View(PageRequest request);
3 months ago
/// <summary>
/// 租箱租出 待退租 明细_视图
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
Task<DataResult<List<VW_CM_RentOut_NeedEndLeaseRes>>> CM_RentOut_NeedEndLease_View(PageRequest request);
3 months ago
/// <summary>
/// 租出业务 添加租箱明细
3 months ago
/// </summary>
/// <param name="ids">当前状态IDs</param>
3 months ago
/// <returns></returns>
Task<DataResult> CM_RentOut_AddCtn(long id, params long[] ids);
/// <summary>
/// 租出业务 添加租箱退租明细
/// </summary>
/// <param name="ids">租箱租出业务明细ID</param>
/// <returns></returns>
Task<DataResult> CM_RentOut_EndLease_AddCtn(long id, params long[] ids);
4 months ago
}