lwhhszx hai 1 ano
pai
achega
ef99af05e4

+ 2 - 0
src/main/java/cn/cslg/pas/controller/InvalidStatutesController.java

@@ -11,6 +11,7 @@ import cn.cslg.pas.service.business.InvalidStatutesService;
 import io.swagger.v3.oas.annotations.Operation;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.context.annotation.Lazy;
 import org.springframework.web.bind.annotation.*;
 
 import java.util.List;
@@ -25,6 +26,7 @@ import java.util.List;
 @RestController
 public class InvalidStatutesController {
     @Autowired
+
     private InvalidStatutesService invalidStatutesService;
 
     @Operation(summary = "添加无效法条")

+ 2 - 0
src/main/java/cn/cslg/pas/service/business/InvalidStatutesService.java

@@ -14,6 +14,7 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.BeanUtils;
 import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.context.annotation.Lazy;
 import org.springframework.stereotype.Service;
 import org.springframework.transaction.annotation.Transactional;
 import org.springframework.web.bind.annotation.RequestBody;
@@ -37,6 +38,7 @@ public class InvalidStatutesService extends ServiceImpl<InvalidStatutesMapper, I
     @Autowired
     private PatentClaimService patentClaimService;
     @Autowired
+    @Lazy
     private ProofGroupService proofGroupService;
 
     /**