From 55a16a2b0144c30277c7ac01712f347eedfaab41 Mon Sep 17 00:00:00 2001
From: chenhj <1263187585@qq.com>
Date: 星期三, 22 四月 2026 17:49:46 +0800
Subject: [PATCH] feat(common): 优化文件预览接口实现及文件压缩功能

---
 src/main/java/com/ruoyi/staff/controller/PersonalShiftController.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/ruoyi/staff/controller/PersonalShiftController.java b/src/main/java/com/ruoyi/staff/controller/PersonalShiftController.java
index 53e918e..676c672 100644
--- a/src/main/java/com/ruoyi/staff/controller/PersonalShiftController.java
+++ b/src/main/java/com/ruoyi/staff/controller/PersonalShiftController.java
@@ -14,6 +14,7 @@
 import com.ruoyi.staff.utils.StyleYearUtils;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
+import lombok.AllArgsConstructor;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.*;
 
@@ -35,9 +36,9 @@
 @RestController
 @RequestMapping("/personalShift")
 @Api(tags = "浜哄憳鎺掔彮")
+@AllArgsConstructor
 public class PersonalShiftController {
 
-    @Autowired
     private PersonalShiftService personalShiftService;
 
     @ApiOperation("浜哄憳鎺掔彮")

--
Gitblit v1.9.3