whycrzh
2021-01-28 c8332186836b3dfe1fbd32d7bec7cd29a57e1888
src/main/java/com/fgkj/controller/bts61850/BTS_61850_stateController.java
@@ -5,6 +5,8 @@
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;
@@ -18,6 +20,7 @@
@RequestMapping("bts61850State")
@RestController
@Api(tags = "bts61850State接口")
public class BTS_61850_stateController {
   @Resource
@@ -25,6 +28,7 @@
   //查询BTS_61850_stateService实时数据
   @GetMapping("all")
   @ApiOperation(notes = "",value="查询BTS_61850_stateService实时数据")
   public ServiceModel searchAll() {
      ServiceModel model=service.searchAll();
@@ -32,6 +36,7 @@
   }
   @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);