using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FineAdmin.Common; using FineAdmin.IService; using FineAdmin.Model; namespace FineAdmin.Service { public class Lg_SmService:BaseService,ILg_SmService { public dynamic GetListByFilter(Lg_Sm filter, PageInfo pageInfo) { string _where = " where 1=1"; //if (!string.IsNullOrEmpty(filter.Op_Id)) //{ // _where += " and Account=:Account"; //} //if (!string.IsNullOrEmpty(filter.RealName)) //{ // _where += " and RealName=:RealName"; //} //_where = CreateTimeWhereStr(filter.StartEndDate, _where); if (string.IsNullOrEmpty(pageInfo.field)) { pageInfo.field = "Create_Time"; pageInfo.order = "desc"; } return GetListByFilter(filter, pageInfo, _where); } } }