-
Notifications
You must be signed in to change notification settings - Fork 43
synCacheUse
jwpttcg66 edited this page Apr 18, 2017
·
3 revisions
OrderService orderService = (OrderService) classPathXmlApplicationContext.getBean("orderService");
EntityServiceProxyFactory entityServiceProxyFactory = (EntityServiceProxyFactory) classPathXmlApplicationContext.getBean("entityServiceProxyFactory");
orderService = entityServiceProxyFactory.createProxyService(orderService);
Order order = new Order();
order.setUserId(TestConstants.userId);
order.setId((long) i);
order.setStatus("测试插入" + i);
orderService.insertOrder(order);