package com.gkhy.testFourierSpecialGasMonitor.controller;
|
|
import com.gkhy.testFourierSpecialGasMonitor.commons.domain.Result;
|
import com.gkhy.testFourierSpecialGasMonitor.commons.model.PageQuery;
|
import com.gkhy.testFourierSpecialGasMonitor.entity.query.DeviceExcLogPageQuery;
|
import com.gkhy.testFourierSpecialGasMonitor.service.DeviceExceptionLogService;
|
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
import javax.annotation.Resource;
|
|
/**
|
* @author Mr.huang
|
* @decription
|
* @date 2023/8/10 9:06
|
*/
|
@RestController
|
@RequestMapping("/deviceExcLog")
|
public class DeviceExcLogController {
|
|
@Resource
|
private DeviceExceptionLogService deviceExceptionLogService;
|
|
@PostMapping("/page")
|
public Result deviceExcLogPage(@RequestBody PageQuery<DeviceExcLogPageQuery> pageQuery){
|
Result result = deviceExceptionLogService.deviceExcLogPage(pageQuery);
|
return result;
|
}
|
}
|