| | |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.config.annotation.LoginNoRequired; |
| | | import com.doumee.core.haikang.model.cars.response.CarsAlarmResultListResponse; |
| | | import com.doumee.core.model.ApiResponse; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.dao.business.join.PlatformJobJoinMapper; |
| | |
| | | return ApiResponse.success(data); |
| | | } |
| | | @LoginNoRequired |
| | | @ApiOperation("汽车告警事件集合数据") |
| | | @GetMapping("/carsEventList") |
| | | public ApiResponse<List<CarsAlarmResultListResponse>> carsEventList() { |
| | | List<CarsAlarmResultListResponse> data = boardService.carsEventList(); |
| | | return ApiResponse.success(data); |
| | | } |
| | | |
| | | @LoginNoRequired |
| | | @ApiOperation("根据车牌号查询作业信息和合同信息集合") |
| | | @PostMapping("/getCarsJobDetails") |
| | | public ApiResponse<CarsJobAndContractVO> getCarsJobDetails(@RequestBody CarsJobAndContractDTO param) { |
| | |
| | | @ApiOperation("今日入库量统计") |
| | | @GetMapping("/totalInList") |
| | | public ApiResponse<List<GeneralVO>> totalInList() { |
| | | List<GeneralVO> list = new ArrayList<>(); |
| | | for (int i = 1; i < 4; i++) { |
| | | Random random = new Random(); |
| | | GeneralVO data = new GeneralVO(); |
| | | data.setName("厂区名称_"+i); |
| | | data.setNum(BigDecimal.valueOf(random.nextInt(1000))); |
| | | list.add(data); |
| | | } |
| | | List<GeneralVO> list = boardService.todayTotalInList(); |
| | | return ApiResponse.success(list); |
| | | } |
| | | |