using JiepeiWMS.Common; using JiepeiWMS.IRepository.Base; using JiepeiWMS.IServices; using JiepeiWMS.Model.Models; using JiepeiWMS.Services.BASE; using System.Collections.Generic; using System.Threading.Tasks; namespace JiepeiWMS.Services { public class TopicServices: BaseServices, ITopicServices { IBaseRepository _dal; public TopicServices(IBaseRepository dal) { this._dal = dal; base.BaseDal = dal; } /// /// 获取开Bug专题分类(缓存) /// /// [Caching(AbsoluteExpiration = 60)] public async Task> GetTopics() { return await base.Query(a => !a.tIsDelete && a.tSectendDetail == "tbug"); } } }