///**
// * Copyright 2008-2009. Chongqing Communications Industry Services Co.,Ltd Information Technology Branch. All rights reserved. <a>http://www.crunii.com</a>
// */
//package com.crunii.micro.core.test;
//
//import java.util.Date;
//
//import org.apache.commons.logging.Log;
//import org.apache.commons.logging.LogFactory;
//import org.junit.Test;
//import org.springframework.beans.factory.annotation.Autowired;
//
//import com.crunii.micro.common.utils.DateUtil;
//import com.crunii.micro.core.controller.TestController;
//import com.crunii.micro.core.service.OrderService;
//import com.crunii.micro.domain.entity.busi.TOrder;
//
///**
// * @author 田平 create 2018年9月17日下午4:35:06
// */
//public class OrderServiceTest extends BaseTest {
//	protected static final Log log = LogFactory.getLog(TestController.class);
//
//	@Autowired
//	private OrderService orderService;
//
//	@Test
//	public void cacheTest() {
//		System.out.println(orderService.getTOrder("20180918000001"));
//		System.out.println(orderService.getTOrder("20180918000001"));
//	}
//
//	// @Test
//	public void test1() {
//		System.out.println(orderService.getAllTOrders().get(0));
//	}
//
//	// @Test
//	// @Rollback(false)
//	public void test2() {
//		TOrder order = orderService.getTOrder("20180918000001");
//		order.setCustId(DateUtil.format(new Date()));
//		orderService.updateTOrder(order);
//	}
//
//	// @Test
//	// @Rollback(false)
//	public void test3() {
//		TOrder order = orderService.getTOrder("20180918000001");
//		order.setProdCode(order.getProdCode() + DateUtil.format(new Date()));
//		orderService.updateProdCode(order);
//	}
//
//	// @Test
//	// @Rollback(false)
//	public void test4() {
//		log.info("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxRRRRRRRRRRRRRR");
//		orderService.doTestJta();
//	}
//
//}
