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.
 
 
 
 

39 lines
897 B

using ce.autofac.extension;
using learun.util;
using System.Collections.Generic;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace EC.App.AutoWeight.Auth
{
public interface AuthIBll : IBLL
{
#region 获取数据
Task<AuthEntity> GetEntity(string keyValue);
Task<IEnumerable<AuthEntity>> GetList(JObject queryParam);
Task<IEnumerable<AuthEntity>> GetPageList(Pagination pagination, JObject queryParam);
#endregion 获取数据
#region 提交数据
/// <summary>
/// 删除
/// </summary>
/// <param name="keyValue">主表主键</param>
Task<int> Delete(string keyValue);
/// <summary>
/// 新增,更新
/// </summary>
/// <param name="keyValue">主键值</param>
/// <param name="entity">aw_driver实体数据</param>
/// <returns></returns>
Task<int> SaveEntity(string keyValue, AuthEntity entity);
#endregion 提交数据
}
}