You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
1.8 KiB
74 lines
1.8 KiB
using ce.autofac.extension;
|
|
using learun.util;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace EC.App.AutoWeight.Supplier
|
|
{
|
|
/// <summary>
|
|
/// 汽车衡
|
|
/// Copyright (c) 2019-present 汽车衡
|
|
/// 创建人:lxc
|
|
/// 日 期: 2020-11-10 21:49:17
|
|
/// 描 述: 供应商 aw_supplier
|
|
/// </summary>
|
|
public interface SupplierIBll : IBLL
|
|
{
|
|
#region 获取数据
|
|
|
|
/// <summary>
|
|
/// 获取主表aw_supplier的实体
|
|
/// </summary>
|
|
/// <
|
|
/// name="keyValue">主键</param>
|
|
/// <returns></returns>
|
|
Task<SupplierEntity> GetEntity(string keyValue);
|
|
|
|
/// <summary>
|
|
/// 功能列表
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<IEnumerable<SupplierEntity>> GetList();
|
|
|
|
/// <summary>
|
|
/// 获取主表aw_supplier的所有列表数据
|
|
/// </summary>
|
|
/// <param name="queryJson">查询参数,json字串</param>
|
|
/// <returns></returns>
|
|
Task<IEnumerable<SupplierEntity>> GetList(string queryJson);
|
|
|
|
/// <summary>
|
|
/// 获取主表aw_supplier的分页列表数据
|
|
/// </summary>
|
|
/// <param name="pagination">分页参数</param>
|
|
/// <param name="queryJson">查询参数,json字串</param>
|
|
/// <returns></returns>
|
|
Task<IEnumerable<SupplierEntity>> GetPageList(Pagination pagination, string queryJson);
|
|
|
|
/// <summary>
|
|
/// 获取树形数据
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<IEnumerable<TreeModel>> GetTree();
|
|
|
|
#endregion 获取数据
|
|
|
|
#region 提交数据
|
|
|
|
/// <summary>
|
|
/// 删除
|
|
/// </summary>
|
|
/// <param name="keyValue">主表主键</param>
|
|
Task<int> Delete(string keyValue);
|
|
|
|
/// <summary>
|
|
/// 新增,更新
|
|
/// </summary>
|
|
/// <param name="keyValue">主键值</param>
|
|
/// <param name="entity">aw_supplier实体数据</param>
|
|
/// <returns></returns>
|
|
Task<int> SaveEntity(string keyValue, SupplierEntity entity);
|
|
|
|
#endregion 提交数据
|
|
}
|
|
}
|