| | |
| | | package com.yuanchu.limslaboratory.controller; |
| | | |
| | | import com.yuanchu.limslaboratory.annotation.AuthHandler; |
| | | import com.yuanchu.limslaboratory.pojo.Dto.SelectQualificationRateDto; |
| | | import com.yuanchu.limslaboratory.service.QualificationRateStatisticsService; |
| | | import com.yuanchu.limslaboratory.vo.Result; |
| | |
| | | |
| | | @ApiOperation("查询申请物料单供应商列表") |
| | | @GetMapping("/getSupplierList") |
| | | @AuthHandler |
| | | public Result<?> getSupplierList() { |
| | | return Result.success(service.getSupplierList()); |
| | | } |
| | | |
| | | @ApiOperation("查询检验样品合格率统计") |
| | | @GetMapping("/getTestSampleStatistics") |
| | | @AuthHandler |
| | | public Result<?> getTestSampleStatistics(SelectQualificationRateDto dto){ |
| | | System.out.println("getTestSampleStatistics______________>"+dto); |
| | | return Result.success(service.getTestSampleStatistics(dto)); |
| | |
| | | |
| | | @ApiOperation("查询供应商不合格统计次数") |
| | | @GetMapping("/getSupplierNoPassStatistics") |
| | | @AuthHandler |
| | | public Result<?> getSupplierNoPassStatistics(SelectQualificationRateDto dto){ |
| | | System.out.println("getSupplierNoPassStatistics++++++++++++++++>"+dto); |
| | | return Result.success(service.getSupplierNoPassStatistics(dto)); |
| | |
| | | |
| | | @ApiOperation("查询不合格项目统计") |
| | | @GetMapping("/getNoPassProjectStatistics") |
| | | @AuthHandler |
| | | public Result<?> getNoPassProjectStatistics(SelectQualificationRateDto dto){ |
| | | System.out.println("getNoPassProjectStatistics===============>"+dto); |
| | | return Result.success(service.getNoPassProjectStatistics(dto)); |
| | |
| | | |
| | | @ApiOperation("获取样品名称") |
| | | @GetMapping("/getSampleOptions") |
| | | @AuthHandler |
| | | public Result<?> getSampleOptions(){ |
| | | return Result.success(service.getSampleOptions()); |
| | | } |