Commit c72faff4 authored by chenzhao's avatar chenzhao

修改bug

parent 39075e49
......@@ -145,6 +145,12 @@ public class EquipmentSpecificAlarmController extends AbstractBaseController {
@ApiOperation(httpMethod = "GET", value = "装备分页查询", notes = "装备分页查询")
public ResponseModel getEqPage(int pageNum, int pageSize, AlarmDTO dto) {
Page page = new Page<>(pageNum, pageSize);
if ("全部".equals(dto.getWarehouseStructureName())){
dto.setWarehouseStructureName(null);
}
if ("all".equals(dto.getStatus())){
dto.setStatus(null);
}
Page<EquipSpecificAlarmDTO> pageBean = iEquipmentSpecificAlarmService.getEqPage(page, dto);
return CommonResponseUtil.success(pageBean);
}
......
......@@ -224,7 +224,7 @@ FROM
WI.id,
WI.unit as unitName,
WI.name as perfQuotaName,
si.`value`,
(case when si.value_label is null then si.value else si.value_label end) as value,
WI.group_name
FROM
wl_equipment_specific_index si,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment