| | |
| | | * @create 2024/10/28 13:42 |
| | | */ |
| | | |
| | | @Api(tags = "【看板大屏】园区物流运行调度看板") |
| | | @Api(tags = "【看板大屏】园区物流运行调度看板真实") |
| | | @RestController |
| | | @Slf4j |
| | | @RequestMapping(Constants.CLOUD_SERVICE_URL_INDEX+"/board/api/platformJobRunAct") |
| | | @RequestMapping(Constants.CLOUD_SERVICE_URL_INDEX+"/board/api/platformJobRun") |
| | | public class PlatformJobRunActController extends BaseController { |
| | | |
| | | @Autowired |
| | |
| | | BoardCarsListVO data = boardService.platformJobCarsList(); |
| | | return ApiResponse.success(data); |
| | | } |
| | | |
| | | @LoginNoRequired |
| | | @ApiOperation("根据车牌号查询作业信息和合同信息集合") |
| | | @PostMapping("/getCarsJobDetails") |
| | |
| | | @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); |
| | | } |
| | | |
| | |
| | | @LoginNoRequired |
| | | @ApiOperation("库存情况") |
| | | @GetMapping("/stockList") |
| | | public ApiResponse<List<GeneralVO>> stockList() { |
| | | List<GeneralVO> list = new ArrayList<>(); |
| | | for (int i = 1; i < 10; i++) { |
| | | Random random = new Random(); |
| | | GeneralVO data = new GeneralVO(); |
| | | data.setName("名称"+i); |
| | | data.setNum(BigDecimal.valueOf(random.nextInt(1000))); |
| | | list.add(data); |
| | | } |
| | | public ApiResponse< BoardStockListVO > stockList() { |
| | | BoardStockListVO list = boardService.stockList(); |
| | | return ApiResponse.success(list); |
| | | } |
| | | |