diff --git a/algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/serviceimpl/line/IDataIntegrityServiceImpl.java b/algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/serviceimpl/line/IDataIntegrityServiceImpl.java index bd47f4f..4250537 100644 --- a/algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/serviceimpl/line/IDataIntegrityServiceImpl.java +++ b/algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/serviceimpl/line/IDataIntegrityServiceImpl.java @@ -16,6 +16,7 @@ import lombok.RequiredArgsConstructor; import org.apache.commons.collections4.ListUtils; import org.springframework.stereotype.Service; +import javax.annotation.Resource; import java.util.ArrayList; import java.util.List; import java.util.Objects; @@ -29,8 +30,8 @@ import java.util.stream.Collectors; @Service @RequiredArgsConstructor public class IDataIntegrityServiceImpl implements IDataIntegrityService { - - private final CommTerminalGeneralClient commTerminalGeneralClient; + @Resource + private CommTerminalGeneralClient commTerminalGeneralClient; @Override