performance-server/src/main/java/com/ruoyi/performance/controller/PerformanceShiftController.java
@@ -9,6 +9,7 @@
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;
@@ -76,4 +77,11 @@
        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));
    }
}