| | |
| | | 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; |
| | | |
| | | /** |
| | |
| | | @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)); |
| | | } |
| | | |