| | |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.yuanchu.mom.annotation.ValueAuth; |
| | | import com.yuanchu.mom.annotation.ValueClassify; |
| | | import com.yuanchu.mom.dto.SampleOrderDto; |
| | | import com.yuanchu.mom.service.ReportService; |
| | |
| | | public class ReportController { |
| | | |
| | | private ReportService reportService; |
| | | @ValueClassify("个人首页") |
| | | @ValueAuth |
| | | @ApiOperation(value = "每日业务统计") |
| | | @GetMapping("/businessStatisticsByDay") |
| | | public Result businessStatisticsByDay(){ |
| | | return Result.success(reportService.businessStatisticsByDay()); |
| | | } |
| | | @ValueClassify("个人首页") |
| | | @ValueAuth |
| | | @ApiOperation(value = "检测项目统计") |
| | | @GetMapping("/testProductByDay") |
| | | public Result testProductByDay(){ |
| | | return Result.success(reportService.testProductByDay()); |
| | | } |
| | | @ValueClassify("个人首页") |
| | | @ValueAuth |
| | | @ApiOperation(value = "首页-->日历任务图") |
| | | @GetMapping("/calendarWorkByWeek") |
| | | public Result calendarWorkByWeek(){ |
| | |
| | | public Result addSchedule(String time, String text){ |
| | | return Result.success(reportService.addSchedule(time,text)); |
| | | } |
| | | @ValueClassify("个人首页") |
| | | @ValueAuth |
| | | @ApiOperation(value = "首页-->我的日程") |
| | | @PostMapping("/ScheduleByMe") |
| | | public Result ScheduleByMe(String date){ |