ApplicationContext ctx = new ClassPathXmlApplicationContext("spring.xml");
pushMessageService = (PushMessageService)ctx.getBean(PushMessageService.class);
List<PushMessage> pmList = pushMessageService.getPushMessageById(userId);
2024-04-13 10:45:51