|
|
@ -26,7 +26,7 @@ public class EquipAlarmRecordController : ControllerBase
|
|
|
|
/// <param name="typeCode">设备类型:-1-查询全部;0-充电机;1-电表;2-水冷机;3-plc<</param>
|
|
|
|
/// <param name="typeCode">设备类型:-1-查询全部;0-充电机;1-电表;2-水冷机;3-plc<</param>
|
|
|
|
/// <param name="equipCode">设备编码</param>
|
|
|
|
/// <param name="equipCode">设备编码</param>
|
|
|
|
/// <returns></returns>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost("/QueryEquipAlarmPage")]
|
|
|
|
[HttpPost("QueryEquipAlarmPage")]
|
|
|
|
public Result<PageResult<EquipAlarmRecord>> QueryEquipAlarmPage([FromBody] QueryAlarmReq req)
|
|
|
|
public Result<PageResult<EquipAlarmRecord>> QueryEquipAlarmPage([FromBody] QueryAlarmReq req)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return equipAlarmRecordService.QueryEquipAlarmPage(req);
|
|
|
|
return equipAlarmRecordService.QueryEquipAlarmPage(req);
|
|
|
@ -38,7 +38,7 @@ public class EquipAlarmRecordController : ControllerBase
|
|
|
|
/// <param name="typeCode">设备类型:-1-查询全部;0-充电机;1-电表;2-水冷机;3-plc</param>
|
|
|
|
/// <param name="typeCode">设备类型:-1-查询全部;0-充电机;1-电表;2-水冷机;3-plc</param>
|
|
|
|
/// <param name="equipCode">设备编码</param>
|
|
|
|
/// <param name="equipCode">设备编码</param>
|
|
|
|
/// <returns></returns>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost("/QueryEquipAlarmProcessPage")]
|
|
|
|
[HttpPost("QueryEquipAlarmProcessPage")]
|
|
|
|
public Result<PageResult<EquipAlarmProcessRecord>> QueryEquipAlarmProcessPage([FromBody] QueryAlarmReq req)
|
|
|
|
public Result<PageResult<EquipAlarmProcessRecord>> QueryEquipAlarmProcessPage([FromBody] QueryAlarmReq req)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return equipAlarmRecordService.QueryEquipAlarmProcessPage(req);
|
|
|
|
return equipAlarmRecordService.QueryEquipAlarmProcessPage(req);
|
|
|
|