whyczh
2022-04-26 9ee305981ada210216981915aa627bfd6003a915
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
package com.whyc.controller;
 
import com.whyc.dto.A059StationInfDTO;
import com.whyc.dto.Response;
import com.whyc.service.A059StationInfService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
 
import javax.annotation.Resource;
 
@RestController
@Api(tags = "配置信息-A059")
@RequestMapping("A059StationInf")
public class A059StationInfController {
    @Resource
    private A059StationInfService service;
 
    @GetMapping("/getAll")
    @ApiOperation("获取A059配置信息")
    public Response<A059StationInfDTO> getA059StationInfList(@RequestParam int pageNum, @RequestParam int pageSize){
        return service.getA059StationInfListAndBattInf(pageNum,pageSize);
    }
 
}