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.

75 lines
2.0 KiB
C#

using DS.Module.Core;
using DS.Module.Core.Data;
using DS.WMS.Core.Info.Dtos;
using DS.WMS.Core.Op.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Op.Interface
{
/// <summary>
///
/// </summary>
public interface IShippingBillService
{
/// <summary>
///
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
public Task<DataResult<List<ShippingBillShortRes>>> GetShippingBillShortList(string id);
/// <summary>
/// 列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
DataResult<List<ShippingBillRes>> GetListByPage(PageRequest request);
/// <summary>
/// 编辑
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
DataResult EditShippingBill(ShippingBillReq model);
/// <summary>
/// 批量保存
/// </summary>
/// <param name="list"></param>
/// <returns></returns>
public Task<DataResult> SaveShippingBillAsync(List<ShippingBillReq> list);
/// <summary>
/// 获取详情
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
DataResult<ShippingBillRes> GetShippingBillInfo(string id);
/// <summary>
/// 删除
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
public DataResult DelShippingBill(string id);
/// <summary>
/// 批量删除
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public DataResult BatchDelShippingBill(IdModel req);
/// <summary>
/// 舱单发送
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public Task<DataResult<string>> SendShippingBill(ShippingBillSendReq req);
}
}