@Autowired
private GovCustomerService service;
private static GovCustomerService govCustomerService;
@PostConstruct //完成对service的注入
public void init() {
govCustomerService = service;
}
util中注入service
最新推荐文章于 2023-08-28 10:06:33 发布