| | |
| | | import com.fgkj.dto.User_inf; |
| | | import com.fgkj.services.bts61850.BTS_61850_stateService; |
| | | import com.fgkj.util.ActionUtil; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | |
| | | @RequestMapping("bts61850State") |
| | | @RestController |
| | | @Api(tags = "bts61850State接口") |
| | | public class BTS_61850_stateController { |
| | | |
| | | @Resource |
| | |
| | | |
| | | //查询BTS_61850_stateService实时数据 |
| | | @GetMapping("all") |
| | | @ApiOperation(notes = "",value="查询BTS_61850_stateService实时数据") |
| | | public ServiceModel searchAll() { |
| | | ServiceModel model=service.searchAll(); |
| | | |
| | |
| | | } |
| | | |
| | | @GetMapping("byCondition") |
| | | @ApiOperation(notes = "",value="BTS_61850设备通信状态查询") |
| | | //11.1BTS_61850设备通信状态查询 |
| | | public ServiceModel serchByCondition(@RequestBody BTS_61850_state bts){ |
| | | // BTS_61850_state bts= ActionUtil.getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, BTS_61850_state.class); |