| | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import pojo.AjaxResult; |
| | | |
| | | import java.lang.reflect.InvocationTargetException; |
| | | import java.text.ParseException; |
| | | |
| | | /** |
| | | * @author gonghl |
| | | * @since 2024/8/1 下午 5:41 |
| | |
| | | return AjaxResult.success(tMonitorService.home(monitorQuery)); |
| | | } |
| | | |
| | | @GetMapping("/video") |
| | | public AjaxResult videoHome(HomeQuery monitorQuery) throws ParseException, InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException { |
| | | return AjaxResult.success(tMonitorService.videoHome(monitorQuery)); |
| | | } |
| | | |
| | | @GetMapping("/car") |
| | | public AjaxResult carHome(HomeQuery monitorQuery) throws ParseException, InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException { |
| | | return AjaxResult.success(tMonitorService.carHome(monitorQuery)); |
| | | } |
| | | @GetMapping("/face") |
| | | public AjaxResult faceHome(HomeQuery monitorQuery) throws ParseException, InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException { |
| | | return AjaxResult.success(tMonitorService.faceHome(monitorQuery)); |
| | | } |
| | | |
| | | @GetMapping("/workOrder") |
| | | public AjaxResult workOrder(HomeQuery monitorQuery) { |
| | | return AjaxResult.success(workOrderService.home(monitorQuery)); |