操控平台后端代码
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.

24 lines
829 B

using Admin.Bodk.Device.Entities.TaskChain;
using Admin.NET.Core;
namespace Admin.Bodk.Device.Services;
public class TaskChainService
{
private readonly SqlSugarRepository<TaskChain> _repository;
public TaskChainService(SqlSugarRepository<TaskChain> repository)
{
_repository = repository;
}
// public async Task<SqlSugarPagedList<TaskChain>> GetTaskChainList(TaskChainInput input)
// {
// return await _repository.AsQueryable()
// .WhereIF(!string.IsNullOrWhiteSpace(input.Name), m => m.Name.Contains(input.Name))
// .WhereIF(input.EquipmentId > 0, m => m.EquipmentId == input.EquipmentId)
// .WhereIF(input.PositionId > 0, m => m.PositionId == input.PositionId)
// .ToPagedListAsync(input.Page, input.PageSize);
// }
}