查询设备设备表含义
This commit is contained in:
parent
9957478cb1
commit
af1d92975d
@ -5,6 +5,7 @@ using DOAN.Model.huate_group.CloudMonitor.Dto;
|
||||
using DOAN.Service.huate_group.CloudMonitor;
|
||||
using DOAN.Service.huate_group.CloudMonitor.IService;
|
||||
using DOAN.Admin.WebApi.Filters;
|
||||
using Aliyun.OSS;
|
||||
|
||||
//创建时间:2024-08-21
|
||||
namespace DOAN.Admin.WebApi.Controllers.Business
|
||||
@ -26,6 +27,16 @@ namespace DOAN.Admin.WebApi.Controllers.Business
|
||||
_ZiyuanDevice01Service = ZiyuanDevice01Service;
|
||||
}
|
||||
|
||||
//TODO 查询设备设备表含义
|
||||
[HttpGet("reflect")]
|
||||
public IActionResult GetReflectDevice()
|
||||
{
|
||||
|
||||
var response = _ZiyuanDevice01Service.GetReflectDevice();
|
||||
return SUCCESS(response);
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查询小房间热熔焊接列表
|
||||
/// </summary>
|
||||
|
||||
@ -16,6 +16,8 @@ namespace DOAN.Service.huate_group.CloudMonitor.IService
|
||||
ZiyuanDevice01 AddZiyuanDevice01(ZiyuanDevice01 parm);
|
||||
int UpdateZiyuanDevice01(ZiyuanDevice01 parm);
|
||||
|
||||
List<ReflexAccount> GetReflectDevice();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -15,6 +15,10 @@ namespace DOAN.Service.huate_group.CloudMonitor
|
||||
[AppService(ServiceType = typeof(IZiyuanDevice01Service), ServiceLifetime = LifeTime.Transient)]
|
||||
public class ZiyuanDevice01Service : BaseService<ZiyuanDevice01>, IZiyuanDevice01Service
|
||||
{
|
||||
public List<ReflexAccount> GetReflectDevice()
|
||||
{
|
||||
return Context.Queryable<ReflexAccount>().ToList();
|
||||
}
|
||||
/// <summary>
|
||||
/// 查询小房间热熔焊接列表
|
||||
/// </summary>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user