|
|
|
|
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="QuerySearch">品名参数台账查询请求</param>
|
|
|
|
|
/// <returns>返回结果</returns>
|
|
|
|
|
Task<dynamic> GetParaGoodsPageAsync(QueryParaGoodsDto QuerySearch);
|
|
|
|
|
|
|
|
|
|
///// <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);
|
|
|
|
|
}
|
|
|
|
|
}
|