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.

70 lines
2.0 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_RentOneWayService
{
/// <summary>
/// 列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public Task<DataResult<List<CM_RentOneWayRes>>> GetListByPage(PageRequest request);
/// <summary>
/// 编辑
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
Task<DataResult> EditCM_RentOneWay(CM_RentOneWayReq model);
/// <summary>
/// 获取详情
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
DataResult<CM_RentOneWayRes> GetCM_RentOneWay(string id);
/// <summary>
/// 删除单程业务
/// </summary>
/// <param name="ids">单程业务业务ID</param>
/// <returns></returns>
Task<DataResult> DeleteCM_RentOneWayAsync(params long[] ids);
3 months ago
3 months ago
/// <summary>
/// 单程_确认
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
Task<DataResult> CM_RentOneWay_Confirm(string id, params long[] ids);
3 months ago
3 months ago
Task<DataResult> CM_RentOneWay_Confirm(params long[] ids);
/// <summary>
/// 单程_取消
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
Task<DataResult> CM_RentOneWay_Cancel(string id, params long[] ids);
Task<DataResult> CM_RentOneWay_Cancel(params long[] ids);
/// <summary>
/// 单程业务 添加明细
/// </summary>
/// <param name="ids">当前状态IDs</param>
/// <returns></returns>
Task<DataResult> CM_RentOneWay_AddCtn(long id, params long[] ids);
/// <summary>
/// 单程业务 待租出 明细_视图
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
Task<DataResult<List<VW_CM_RentOneWay_NeedRentRes>>> CM_RentOneWay_NeedRent_View(PageRequest request);
4 months ago
}