| | |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | |
| | | performanceShiftService.exportToExcel(time,userName,laboratory,isMonth,response); |
| | | } |
| | | |
| | | @ApiOperation(value = "删除排班数据") |
| | | @DeleteMapping("delShift") |
| | | @PreAuthorize("@ss.hasPermi('performance:class:del')") |
| | | public Result<?> delShift(@RequestBody PerformanceShiftAddDto performanceShiftAddDto) { |
| | | return Result.success(performanceShiftService.delShift(performanceShiftAddDto)); |
| | | } |
| | | |
| | | } |