| | |
| | | import org.jeecg.modules.mdc.entity.MdcOverallEquipmentEfficiency; |
| | | import org.jeecg.modules.mdc.service.IMdcOverallEquipmentEfficiencyService; |
| | | import org.jeecg.modules.mdc.vo.MdcOverallEquipmentEfficiencyVo; |
| | | import org.jeecg.modules.mdc.vo.OeeStatisticsChartVo; |
| | | import org.jeecg.modules.mdc.vo.OeeStatisticsVo; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @Description: OEE设备综合效率表 |
| | |
| | | return Result.OK(pageList); |
| | | } |
| | | |
| | | /** |
| | | * |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "OEE设备综合效率表-oee统计") |
| | | @ApiOperation(value = "OEE设备综合效率表-oee统计", notes = "OEE设备综合效率表-oee统计") |
| | | @GetMapping("/oeeStatisticsList") |
| | | public Result oeeStatisticsList(String date) { |
| | | List<OeeStatisticsVo> result = mdcOverallEquipmentEfficiencyService.oeeStatisticsList(date); |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | @AutoLog(value = "OEE设备综合效率表-oee统计柱状图") |
| | | @ApiOperation(value = "OEE设备综合效率表-oee统计柱状图", notes = "OEE设备综合效率表-oee统计柱状图") |
| | | @GetMapping("/oeeStatisticsChart") |
| | | public Result oeeStatisticsChart(String date, String equipmentType) { |
| | | List<OeeStatisticsChartVo> result = mdcOverallEquipmentEfficiencyService.oeeStatisticsChart(date, equipmentType); |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | |
| | | } |