| | |
| | | package com.doumee.cloud.board; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.config.annotation.LoginNoRequired; |
| | | import com.doumee.core.annotation.excel.ExcelColumn; |
| | |
| | | import com.github.yulichang.wrapper.MPJLambdaWrapper; |
| | | import io.swagger.annotations.*; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | |
| | | * @create 2024/10/28 13:42 |
| | | */ |
| | | |
| | | @Api(tags = "园区物流运行调度看板") |
| | | @Api(tags = "【看板大屏】园区物流运行调度看板") |
| | | @RestController |
| | | @Slf4j |
| | | @RequestMapping(Constants.CLOUD_SERVICE_URL_INDEX+"/board/api/platformJobRun") |
| | | public class PlatformJobRunController extends BaseController { |
| | | |
| | | @ApiModelProperty |
| | | @Autowired |
| | | private PlatformJobJoinMapper platformJobJoinMapper; |
| | | |
| | | @LoginNoRequired |
| | |
| | | data.setTodayOutRata(new BigDecimal(random.nextInt(100))); |
| | | data.setMonthOutRata(data.getTodayOutRata().multiply(new BigDecimal(30))); |
| | | |
| | | |
| | | data.setStockMax(new BigDecimal(random.nextInt(1000))); |
| | | data.setStockTotal(new BigDecimal(data.getStockMax().intValue())); |
| | | return ApiResponse.success(data); |
| | | } |
| | | |
| | |
| | | } |
| | | for (String str:dayList) { |
| | | TransportMeasureVO data = new TransportMeasureVO(); |
| | | data.setPlanTimes(str); |
| | | data.setPlanDate(str); |
| | | data.setPlanTimes(random.nextInt(200)); |
| | | data.setPlanTaskNum(new BigDecimal(random.nextInt(1000))); |
| | | data.setFinishTaskNum(new BigDecimal(data.getPlanTaskNum().intValue())); |
| | | list.add(data); |
| | | } |
| | | return ApiResponse.success(list); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | @LoginNoRequired |