| | |
| | | package com.yuanchu.limslaboratory.controller; |
| | | |
| | | import com.baomidou.mybatisplus.core.toolkit.ObjectUtils; |
| | | import com.yuanchu.limslaboratory.annotation.AuthHandler; |
| | | import com.yuanchu.limslaboratory.pojo.Inspection; |
| | | import com.yuanchu.limslaboratory.service.PlanService; |
| | | import com.yuanchu.limslaboratory.vo.Result; |
| | | import io.swagger.annotations.Api; |
| | |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | |
| | | @ApiImplicitParam(name = "code", value = "申请单编号", dataTypeClass = String.class), |
| | | @ApiImplicitParam(name = "beginTime", value = "检验开始时间", dataTypeClass = String.class), |
| | | @ApiImplicitParam(name = "endTime", value = "检验结束时间", dataTypeClass = String.class), |
| | | @ApiImplicitParam(name = "status", value = "检验结果", dataTypeClass = Integer.class) |
| | | @ApiImplicitParam(name = "status", value = "检验结果", dataTypeClass = Integer.class), |
| | | @ApiImplicitParam(name = "isLookMe", value = "是否只看我", dataTypeClass = Boolean.class) |
| | | }) |
| | | @GetMapping("/selectAllPlan") |
| | | @AuthHandler |
| | | public Result selectAllPlan(String code, String beginTime, String endTime, Integer status) { |
| | | System.out.println(planService.selectAllPlan(code, beginTime, endTime, status).toString()); |
| | | return Result.success(planService.selectAllPlan(code, beginTime, endTime, status)); |
| | | public Result selectAllPlan(String code, String beginTime, String endTime, Integer status,boolean isLookMe) { |
| | | return Result.success(planService.selectAllPlan(code, beginTime, endTime, status,isLookMe)); |
| | | } |
| | | |
| | | @ApiOperation("分配-->选择检验人") |