http://www.zzvips.com/article/221388.html
    三种注入方式(属性注入,构造器注入,set方法注入)
    https://wenku.baidu.com/view/cf612d074b2fb4daa58da0116c175f0e7cd1190e.html
    https://www.xiaohongshu.com/discovery/item/61b8383b0000000001027b4a

    首先加@Component注解目的是让spring托管,另外注入YwSbpzService 我们采用set方式进行注入即可
    @Component
    public class SxzdEncodeUtil {
    private static final Logger log = LoggerFactory.getLogger(SxzdDecoder.class);
    private static YwSbpzService ywSbpzServiceStatic;
    @Autowired
    public void setYwSbpzServiceStatic(YwSbpzService ywSbpzService){
    //ywSbpzService注入进来的
    SxzdEncodeUtil.ywSbpzServiceStatic = ywSbpzService;
    }
    }