|
@@ -85,26 +85,18 @@ public class AlarmConfigurationController {
|
|
|
@ApiImplicitParam(name = "pagesize", value = "每页显示多少行", required = true, dataType = "Integer", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "name", value = "名称", required = false, dataType = "string", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "wpId", value = "风场编号", required = false, dataType = "string", paramType = "query"),
|
|
|
- @ApiImplicitParam(name = "modelId", value = "型号编号", required = false, dataType = "string", paramType = "query"),
|
|
|
- @ApiImplicitParam(name = "rank", value = "级别", required = false, dataType = "string", paramType = "query"),
|
|
|
- @ApiImplicitParam(name = "category", value = "类别(booststation:升压站报警,windturbine:风机报警)", required = false, dataType = "string", paramType = "query"),
|
|
|
- @ApiImplicitParam(name = "enabled", value = "是否可用", required = false, dataType = "string", paramType = "query"),
|
|
|
- @ApiImplicitParam(name = "relatedparts", value = "部件", required = false, dataType = "string", paramType = "query")})
|
|
|
+ @ApiImplicitParam(name = "modelId", value = "型号编号", required = false, dataType = "string", paramType = "query")})
|
|
|
|
|
|
public AjaxResult queryByPage(HttpServletRequest request,
|
|
|
@RequestParam(value = "pagenum") Integer pageNum,
|
|
|
@RequestParam(value = "pagesize") Integer pageSize,
|
|
|
@RequestParam(value = "name", required = false) String name,
|
|
|
@RequestParam(value = "wpId", required = false) String wpId,
|
|
|
- @RequestParam(value = "modelId", required = false) String modelId,
|
|
|
- @RequestParam(value = "rank", required = false) String rank,
|
|
|
- @RequestParam(value = "category", required = false) String category,
|
|
|
- @RequestParam(value = "enabled", required = false) String enabled,
|
|
|
- @RequestParam(value = "relatedparts", required = false) String relatedparts
|
|
|
+ @RequestParam(value = "modelId", required = false) String modelId
|
|
|
) {
|
|
|
Page<ProEconAlarmConfiguration> page = new Page(pageNum, pageSize);
|
|
|
|
|
|
- IPage<ProEconAlarmConfiguration> pageResult = alarmConfigurationService.pageQueryAll(page, name, wpId, modelId, rank, category, enabled, relatedparts);
|
|
|
+ IPage<ProEconAlarmConfiguration> pageResult = alarmConfigurationService.pageQueryAll(page, name, wpId, modelId);
|
|
|
|
|
|
|
|
|
if (StringUtils.notEmp(pageResult)) {
|