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.
90 lines
2.4 KiB
C#
90 lines
2.4 KiB
C#
using DS.Module.Core;
|
|
using DS.Module.Core.Data;
|
|
using DS.WMS.Core.Code.Dtos;
|
|
|
|
namespace DS.WMS.Core.Code.Interface;
|
|
|
|
public interface ICodeGoodsService
|
|
{
|
|
/// <summary>
|
|
/// 列表
|
|
/// </summary>
|
|
/// <param name="request"></param>
|
|
/// <returns></returns>
|
|
DataResult<List<CodeGoodsRes>> GetListByPage(PageRequest request);
|
|
|
|
|
|
/// <summary>
|
|
/// 编辑
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
DataResult EditCodeGoods(CodeGoodsReq req);
|
|
|
|
/// <summary>
|
|
/// 获取详情
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
DataResult<CodeGoodsRes> GetCodeGoodsInfo(string id);
|
|
/// <summary>
|
|
/// 列表
|
|
/// </summary>
|
|
/// <param name="request"></param>
|
|
/// <returns></returns>
|
|
DataResult<List<CodeGoodsRes>> GetClientListByPage(PageRequest request);
|
|
/// <summary>
|
|
/// 编辑-客户端
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
DataResult EditClientCodeGoods(CodeGoodsReq req);
|
|
/// <summary>
|
|
/// 获取详情 -客户端
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
public DataResult<CodeGoodsRes> GetClientCodeGoodsInfo(string id);
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// 获取商品列表-基础库
|
|
/// </summary>
|
|
/// <param name="request"></param>
|
|
/// <returns></returns>
|
|
DataResult<List<CodeGoodsRes>> GetCodeGoodsList(PageRequest request);
|
|
/// <summary>
|
|
/// 导入商品列表
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
DataResult ImportCodeGoods(IdModel req);
|
|
|
|
/// <summary>
|
|
/// 获取当前租户已有的商品
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public DataResult<List<string>> GetExistCodeGoodsList();
|
|
|
|
|
|
/// <summary>
|
|
/// 批量删除
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
public DataResult BatchDelCodeGoods(IdModel req);
|
|
|
|
/// <summary>
|
|
/// 回写商品信息
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
public Task<DataResult> WriteBackGoods(CodeGoodsWriteBackReq req);
|
|
/// <summary>
|
|
/// 回写商品信息检测
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
public Task<DataResult> CheckGoods(CodeGoodsWriteBackReq req);
|
|
} |