From 2573d09a4a305b7cb4ba9ab82daa8a8e2a4cdeb4 Mon Sep 17 00:00:00 2001
From: cjl <276999030@qq.com>
Date: Tue, 26 Sep 2023 20:02:25 +0800
Subject: [PATCH] feat:补充提交

---
 screen-api/src/main/java/com/moral/api/service/impl/AllocationExtensionServiceImpl.java |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/screen-api/src/main/java/com/moral/api/service/impl/AllocationExtensionServiceImpl.java b/screen-api/src/main/java/com/moral/api/service/impl/AllocationExtensionServiceImpl.java
index a2259b6..ff1f734 100644
--- a/screen-api/src/main/java/com/moral/api/service/impl/AllocationExtensionServiceImpl.java
+++ b/screen-api/src/main/java/com/moral/api/service/impl/AllocationExtensionServiceImpl.java
@@ -16,6 +16,7 @@
 import com.moral.api.service.AllocationExtensionService;
 import com.moral.api.service.AllocationService;
 import com.moral.api.service.FileTableService;
+import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 import org.springframework.transaction.annotation.Transactional;
 
@@ -30,11 +31,11 @@
 @Service
 public class AllocationExtensionServiceImpl extends ServiceImpl<AllocationExtensionMapper, AllocationExtension> implements AllocationExtensionService {
 
-    private final AllocationService allocationService;
+    @Autowired
+    private AllocationService allocationService;
     private final FileTableService fileTableService;
 
-    public AllocationExtensionServiceImpl(AllocationService allocationService, FileTableService fileTableService) {
-        this.allocationService = allocationService;
+    public AllocationExtensionServiceImpl( FileTableService fileTableService) {
         this.fileTableService = fileTableService;
     }
 

--
Gitblit v1.8.0