| | |
| | | import com.ruoyi.system.service.UserService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "月份分页查询") |
| | | @PostMapping("page") |
| | | public Result<?> performanceShiftPage(Integer size, Integer current, String time, String userName, String laboratory) { |
| | | @GetMapping("page") |
| | | public Result<?> performanceShiftPage(@Param("size") Integer size,@Param("current") Integer current,@Param("time") String time,@Param("userName") String userName,@Param("laboratory") String laboratory) { |
| | | return Result.success(performanceShiftService.performanceShiftPage(new Page<>(current, size), time, userName, laboratory)); |
| | | } |
| | | |
| | | @ApiOperation(value = "年份分页查询") |
| | | @PostMapping("pageYear") |
| | | @GetMapping("pageYear") |
| | | public Result<?> performanceShiftPageYear(Integer size, Integer current, String time, String userName, String laboratory) { |
| | | return Result.success(performanceShiftService.performanceShiftPageYear(new Page<>(current, size), time, userName, laboratory)); |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | @ApiOperation("班次:查询人员列表") |
| | | @GetMapping("/getUserList") |
| | | public Result<?> getUserList(){ |
| | | return Result.success(performanceShiftService.getUserList()); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "临时接口-添加7月份8月份的数据") |
| | | @GetMapping("temporaryInterface") |
| | | public void temporaryInterface() { |