whycrzg
2021-02-20 43b44501d0dd1c1fb1a2ee82e98b0f05963892b2
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
32
33
34
35
36
37
package com.fgkj.controller.ram;
 
import com.fgkj.dto.JhState;
import com.fgkj.dto.ServiceModel;
import com.fgkj.services.ram.JhStateService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;
 
import javax.annotation.Resource;
 
@RequestMapping("jhState")
@RestController
@Api(tags = "jhState接口")
public class JhStateController{
 
    @Resource
    private JhStateService service;
 
    
    //根据设备id查询设备均衡供电模块的信息
    @PostMapping("byCondition")
    @ApiOperation(notes = "",value="byInfo")
    public ServiceModel serchByCondition(@RequestBody JhState jh) {
        ServiceModel model=service.serchByCondition(jh);
 
        return model;
    }
    
    
    
    
 
    
    
 
}