| | |
| | | package com.ruoyi.home.controller; |
| | | |
| | | import com.ruoyi.approve.pojo.ApproveProcess; |
| | | import com.ruoyi.energy.vo.EnergyStatisticsVo; |
| | | import com.ruoyi.framework.aspectj.lang.annotation.Log; |
| | | import com.ruoyi.framework.aspectj.lang.enums.BusinessType; |
| | | import com.ruoyi.framework.web.controller.BaseController; |
| | | import com.ruoyi.framework.web.domain.AjaxResult; |
| | | import com.ruoyi.framework.web.domain.R; |
| | | import com.ruoyi.home.annotation.DefaultType; |
| | | import com.ruoyi.home.dto.*; |
| | | import com.ruoyi.home.service.HomeService; |
| | | import com.ruoyi.dto.MapDto; |
| | | import com.ruoyi.productionPlan.service.SalesDeliveryService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | return AjaxResult.success(homeService.manage()); |
| | | } |
| | | |
| | | @GetMapping("/planTrends") |
| | | @ApiOperation("首页-计划与生产趋势") |
| | | public AjaxResult planTrends(@DefaultType Integer type) { |
| | | List<PlanTrendsDto> list = homeService.planTrends(type); |
| | | return AjaxResult.success(list); |
| | | } |
| | | |
| | | } |