|
@@ -27,9 +27,15 @@ public class EquoperationrecordController {
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
EquoperationrecordService equoperationrecordService;
|
|
EquoperationrecordService equoperationrecordService;
|
|
|
|
+
|
|
/**
|
|
/**
|
|
- * 按场站获取所有风机
|
|
|
|
|
|
+ *
|
|
|
|
+ * @param pageNum 当前页
|
|
|
|
+ * @param pageSize 每页显示条数
|
|
|
|
+ * @param startTime 开始时间
|
|
|
|
+ * @param endTime 结束时间
|
|
* @param wtid 风机编号
|
|
* @param wtid 风机编号
|
|
|
|
+ * @param type 类型
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@CrossOrigin(origins = "*",maxAge = 3600)
|
|
@CrossOrigin(origins = "*",maxAge = 3600)
|
|
@@ -39,9 +45,11 @@ public class EquoperationrecordController {
|
|
@RequestParam(value = "pagesize") Integer pageSize,
|
|
@RequestParam(value = "pagesize") Integer pageSize,
|
|
@RequestParam(value = "starttime", required = false) String startTime,
|
|
@RequestParam(value = "starttime", required = false) String startTime,
|
|
@RequestParam(value = "endtime", required = false) String endTime,
|
|
@RequestParam(value = "endtime", required = false) String endTime,
|
|
- @RequestParam(value = "wtid",required = false)String wtid) {
|
|
|
|
|
|
+ @RequestParam(value = "wtid",required = false)String wtid,
|
|
|
|
+ @RequestParam(value = "type",required = false)String type)
|
|
|
|
+ {
|
|
Page page = new Page(pageNum, pageSize);
|
|
Page page = new Page(pageNum, pageSize);
|
|
- IPage<Map> list = equoperationrecordService.getEquoperationrecordPageList(page,startTime,endTime,wtid);
|
|
|
|
|
|
+ IPage<Map> list = equoperationrecordService.getEquoperationrecordPageList(page,startTime,endTime,wtid,type);
|
|
return AjaxResult.successData(list);
|
|
return AjaxResult.successData(list);
|
|
}
|
|
}
|
|
|
|
|