public void testQueryClientOrderById() throws Exception { ClientorderFacade facade = (ClientorderFacade) SpringContextUtil.getApplicationContext().getBean("springClientorderFacade"); OrderBO orderBo = facade.queryClientOrderById("client001"); System.out.println(orderBo); }
public void testQueryClientOrder() throws Exception { ClientorderFacade facade = (ClientorderFacade) SpringContextUtil.getApplicationContext().getBean("springClientorderFacade"); QueryOrderBO queryOrderBo = new QueryOrderBO(); queryOrderBo.setClientName("zhangsan"); queryOrderBo.setOrderDateFrom("2010-01-15 13:38:23"); queryOrderBo.setOrderDateTo("2011-08-23 15:42:18"); queryOrderBo.setOrderNo("client001"); ReturnBO<ClientOrderBO> returnBo = facade.queryClientOrder(queryOrderBo); System.out.println("********List<ClientOrderBO>********** : " + returnBo); }