28 lines
637 B
C#
28 lines
637 B
C#
|
|
using InSituLaboratory.Entities;
|
|||
|
|
using InSituLaboratory.Entities.ExperimentalStationEntities;
|
|||
|
|
using InSituLaboratory.IService;
|
|||
|
|
using Microsoft.EntityFrameworkCore;
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace InSituLaboratory.Service
|
|||
|
|
{
|
|||
|
|
public class SysStatusService : BaseService, ISysStatusService
|
|||
|
|
{
|
|||
|
|
public SysStatusService(DbContext context) : base(context) { }
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
public IEnumerable<SysStatus> GetSysStauts()
|
|||
|
|
{
|
|||
|
|
return this.Set<SysStatus>().OrderByDescending(n => n.CreateTime);
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|