| | |
| | | import com.fgkj.dto.ServiceModel; |
| | | import com.fgkj.services.history.BtsStateChangeInfService; |
| | | 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("btsStateChange") |
| | | @RestController |
| | | @Api |
| | | @Api(tags = "btsStateChange接口") |
| | | public class BtsStateChangeInfController { |
| | | |
| | | @Resource |
| | |
| | | |
| | | //按照时间顺序显示设备的事件信息 |
| | | @GetMapping("byCondition") |
| | | @ApiOperation(notes = "",value="按照时间顺序显示设备的事件信息") |
| | | public ServiceModel serchByCondition(@RequestBody BtsStateChangeInf binf) { |
| | | // BtsStateChangeInf binf=getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, BtsStateChangeInf.class); |
| | | ServiceModel model=service.serchByCondition(binf); |