| | |
| | | import org.jeecg.common.aspect.annotation.AutoLog; |
| | | import org.jeecg.common.system.vo.LoginUser; |
| | | import org.jeecg.modules.mdc.service.MdcEfficiencyReportService; |
| | | import org.jeecg.modules.mdc.vo.MdcEfficiencyReportQueryVo; |
| | | import org.jeecg.modules.mdc.vo.MdcEfficiencyReportShiftQueryVo; |
| | | import org.jeecg.modules.mdc.vo.MdcEfficiencyVo; |
| | | import org.jeecg.modules.mdc.vo.*; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | |
| | | public Result efficiencyShiftList(MdcEfficiencyReportShiftQueryVo vo) { |
| | | LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
| | | String userId = user.getId(); |
| | | MdcEfficiencyVo result = mdcEfficiencyReportService.efficiencyShiftList(userId, vo); |
| | | MdcEfficiencyShiftVo result = mdcEfficiencyReportService.efficiencyShiftList(userId, vo); |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | @AutoLog(value = "设备效率报表-统计分析列表") |
| | | @ApiOperation(value = "设备效率报表-统计分析列表", notes = "设备效率报表-统计分析列表") |
| | | @GetMapping("/dayStatisticalRate") |
| | | public Result dayStatisticalRate(MdcEfficiencyReportQueryVo vo) { |
| | | LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
| | | String userId = user.getId(); |
| | | StatisticalAnalysisVo result = mdcEfficiencyReportService.dayStatisticalRate(userId, vo); |
| | | return Result.OK(result); |
| | | } |
| | | |