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.
83 lines
2.7 KiB
C#
83 lines
2.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Myshipping.Application
|
|
{
|
|
public interface IParaService
|
|
{
|
|
/// <summary>
|
|
/// 保存品名参数
|
|
/// </summary>
|
|
/// <param name="model">品名参数</param>
|
|
/// <returns>返回回执</returns>
|
|
Task<long> SaveParaGoodsInfo(ParaGoodsDto model);
|
|
|
|
/// <summary>
|
|
/// 作废品名参数
|
|
/// </summary>
|
|
/// <param name="Ids">品名参数主键数组</param>
|
|
/// <returns>返回回执</returns>
|
|
Task<string> DeleteParaGoodsInfo(long[] Ids);
|
|
|
|
/// <summary>
|
|
/// 主键获取品名参数
|
|
/// </summary>
|
|
/// <param name="Id">品名主键</param>
|
|
/// <returns>返回回执</returns>
|
|
Task<ParaGoodsDto> GetParaGoodsInfo(long Id);
|
|
|
|
/// <summary>
|
|
/// 检索品名参数
|
|
/// </summary>
|
|
/// <param name="queryItem">检索值</param>
|
|
/// <returns>返回回执</returns>
|
|
Task<List<ParaGoodsDto>> QueryParaGoodsInfo(string queryItem, int top = 10);
|
|
|
|
///// <summary>
|
|
///// 保存品名分类参数
|
|
///// </summary>
|
|
///// <param name="model">品名分类参数</param>
|
|
///// <returns>返回回执</returns>
|
|
//Task<CommonWebApiResult> SaveParaGoodsCategoryInfo(ParaGoodsCategoryDto model);
|
|
|
|
///// <summary>
|
|
///// 主键获取品名分类参数
|
|
///// </summary>
|
|
///// <param name="Id">品名分类主键</param>
|
|
///// <returns>返回回执</returns>
|
|
//Task<CommonWebApiResult> GetParaGoodsCategoryInfo(long Id);
|
|
|
|
///// <summary>
|
|
///// 检索品名分类参数
|
|
///// </summary>
|
|
///// <param name="queryItem">检索值</param>
|
|
///// <returns>返回回执</returns>
|
|
//Task<CommonWebApiResult> QueryParaGoodsCategoryInfo(string queryItem);
|
|
|
|
|
|
///// <summary>
|
|
///// 保存约号参数
|
|
///// </summary>
|
|
///// <param name="model">约号参数</param>
|
|
///// <returns>返回回执</returns>
|
|
//Task<CommonWebApiResult> SaveParaContractNoInfo(ParaGoodsCategoryDto model);
|
|
|
|
///// <summary>
|
|
///// 主键获取约号参数
|
|
///// </summary>
|
|
///// <param name="Id">约号主键</param>
|
|
///// <returns>返回回执</returns>
|
|
//Task<CommonWebApiResult> GetParaContractNoInfo(long Id);
|
|
|
|
///// <summary>
|
|
///// 检索约号参数
|
|
///// </summary>
|
|
///// <param name="queryItem">检索值</param>
|
|
///// <returns>返回回执</returns>
|
|
//Task<CommonWebApiResult> QuerytParaContractNoInfo(string queryItem);
|
|
}
|
|
}
|