|
@@ -28,6 +28,7 @@ import org.apache.commons.lang3.StringUtils;
|
|
|
import org.apache.dubbo.config.annotation.DubboReference;
|
|
|
import org.apache.dubbo.config.annotation.DubboService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.context.annotation.Lazy;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
@@ -46,7 +47,7 @@ import java.util.stream.Collectors;
|
|
|
*/
|
|
|
@Slf4j
|
|
|
@Service
|
|
|
-@RequiredArgsConstructor(onConstructor = @__(@Autowired))
|
|
|
+@RequiredArgsConstructor(onConstructor = @__({@Autowired, @Lazy}))
|
|
|
@DubboService(interfaceClass = com.chelvc.cloud.vehicle.api.service.DynamicCommentService.class)
|
|
|
public class DynamicCommentServiceImpl implements DynamicCommentService, com.chelvc.cloud.vehicle.api.service.DynamicCommentService {
|
|
|
private final DynamicCommentMapper baseMapper;
|