|
|
|
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_RentInService
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// 列表
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="request"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
public Task<DataResult<List<CM_RentInRes>>> GetListByPage(PageRequest request);
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 编辑
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="model"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
Task<DataResult> EditCM_RentIn(CM_RentInReq model);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取详情
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="id"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
DataResult<CM_RentInRes> GetCM_RentIn(string id);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 删除租入业务
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="ids">租箱租入业务ID</param>
|
|
|
|
/// <returns></returns>
|
|
|
|
Task<DataResult> DeleteCM_RentInAsync(params long[] ids);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 租箱租入_确认
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="id"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
Task<DataResult> CM_RentIn_Confirm(string id, params long[] ids);
|
|
|
|
|
|
|
|
Task<DataResult> CM_RentIn_Confirm(params long[] ids);
|
|
|
|
/// <summary>
|
|
|
|
/// 租箱租入_取消
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="id"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
Task<DataResult> CM_RentIn_Cancel(string id, params long[] ids);
|
|
|
|
Task<DataResult> CM_RentIn_Cancel(params long[] ids);
|
|
|
|
/// <summary>
|
|
|
|
/// 租箱租入_生成费用
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="id"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
Task<DataResult> CM_RentIn_MakeFee(string id);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 租箱租入明细_视图
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="id"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
Task<DataResult<List<VW_CM_NeedEndLease_DetailRes>>> CM_RentIn_Detail_View(PageRequest request);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 删除租入业务
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="ids">租箱租入业务ID</param>
|
|
|
|
/// <returns></returns>
|
|
|
|
Task<DataResult> CM_RentIn_AddCtn(long id, params long[] ids);
|
|
|
|
}
|