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.
|
- namespace BPA.MES.Base.Application.Services
- {
- /// <summary>
- /// 名 称 :
- /// 创 建 人 :yangxiao
- /// 创建时间 : 2023/8/21 10:59:30
- /// 描 述 :
- /// </summary>
- public interface ICRUDService
- {
- /// <summary>
- /// 增加
- /// </summary>
- /// <returns></returns>
- Task<bool> Add<T>(T input);
- /// <summary>
- /// 移除
- /// </summary>
- /// <returns></returns>
- Task<bool> Del<T>(T input);
- /// <summary>
- /// 更新
- /// </summary>
- /// <returns></returns>
- Task<bool> Update<T>(T input);
- /// <summary>
- /// 不分页列表
- /// </summary>
- /// <returns></returns>
- Task<List<DeviceRecipeOutput>> List<T>(T input);
- /// <summary>
- /// 分页列表
- /// </summary>
- /// <returns></returns>
- Task<SqlSugarPagedList<DeviceRecipeOutput>> PagedList<T>(T input);
- /// <summary>
- /// 查询单条
- /// </summary>
- /// <param name="Id"></param>
- /// <returns></returns>
- Task<DeviceRecipeOutput> Detail(string Id);
- }
- }
|