|
|
|
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>
|
|
|
|
Task<DataResult> EditCM_RentOut(CM_RentOutReq model);
|
|
|
|
|
|
|
|
/// <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);
|
|
|
|
|
|
|
|
/// <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>
|
|
|
|
Task<DataResult<List<VW_CM_RentOut_NeedRentRes>>> CM_RentOut_NeedRent_View(PageRequest request);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 租箱租出 待退租 明细_视图
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="id"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
Task<DataResult<List<VW_CM_NeedEndLease_DetailRes>>> CM_RentOut_NeedEndLease_View(PageRequest request);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 删除租出业务
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="ids">租箱租出业务ID</param>
|
|
|
|
/// <returns></returns>
|
|
|
|
Task<DataResult> CM_RentOut_AddCtn(long id, params long[] ids);
|
|
|
|
}
|