| | |
| | | import com.fgkj.dto.ServiceModel; |
| | | import com.fgkj.services.Fbsdev_Statechange_infService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | |
| | | |
| | | @RequestMapping("fbsDevStateChangeInf") |
| | | @RestController |
| | | @Api |
| | | @Api(tags = "fbsDevStateChangeInf接口") |
| | | public class Fbsdev_Statechange_infController{ |
| | | |
| | | @Resource |
| | |
| | | |
| | | //根据设备id,时间等条件筛选设备 |
| | | @GetMapping("byCondition") |
| | | @ApiOperation(notes = "",value="根据设备id,时间等条件筛选设备") |
| | | public ServiceModel serchByCondition(@RequestBody Fbsdev_Statechange_inf state_inf){ |
| | | // Fbsdev_Statechange_inf state_inf=getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, Fbsdev_Statechange_inf.class); |
| | | ServiceModel model=service.serchByCondition(state_inf); |