zhangf
2024-08-08 71706ced3375f4c18148516d0477d8fd645de2ee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.gkhy.huataiFourierSpecialGasMonitor.controller;
 
import com.gkhy.huataiFourierSpecialGasMonitor.commons.domain.Result;
import com.gkhy.huataiFourierSpecialGasMonitor.commons.model.PageQuery;
import com.gkhy.huataiFourierSpecialGasMonitor.entity.query.DeviceExcLogPageQuery;
import com.gkhy.huataiFourierSpecialGasMonitor.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;
    }
}