| | |
| | | package com.yuanchu.mom.controller; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.yuanchu.mom.annotation.ValueAuth; |
| | | import com.yuanchu.mom.annotation.ValueClassify; |
| | | import com.yuanchu.mom.service.ReportService; |
| | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | @RestController |
| | | @AllArgsConstructor |
| | |
| | | public Result manHourByPerson(String startTime,String endTime,String sonLaboratory){ |
| | | return Result.success(reportService.manHourByPerson(startTime,endTime,sonLaboratory)); |
| | | } |
| | | |
| | | @ValueClassify("统计图表") |
| | | @ApiOperation(value = "查询站点的检验时长") |
| | | @PostMapping("/timeByStation") |
| | | public Result timeByStation(String startTime, String endTime, Page page,String sonLaboratory){ |
| | | return Result.success(reportService.timeByStation(startTime,endTime,page,sonLaboratory)); |
| | | } |
| | | } |