// Path: tsharding-client/src/test/java/com/mogujie/service/tsharding/bean/ShopOrder.java
// public class ShopOrder extends BaseOrder {
// 
// }
// 
// Path: tsharding-client/src/test/java/com/mogujie/service/tsharding/dao/ShopOrderDao.java
// public interface ShopOrderDao {
// 
//     /**
//      * 根据店铺级订单ID获取订单信息（同一个买家）
//      *
//      * @param listShopOrderIds 店铺级订单ID集合
//      * @return List<XdShopOrder>
//      */
//     List<ShopOrder> getShopOrderByShopOrderIds(List<Long> listShopOrderIds);
// 
// }
// 
// Path: tsharding-client/src/test/java/com/mogujie/service/tsharding/mapper/ShopOrderMapper.java
// @DataSourceRouting(handler = TShardingRoutingHandler.class)
// public interface ShopOrderMapper {
// 
//     @ShardingExtensionMethod(type = MapperResourceEnhancer.class, method = "enhancedShardingSQL")
//     public ShopOrder getShopOrderByShopOrderId(@ShardingOrderPara Long shopOrderId);
// 
//     @ShardingExtensionMethod(type = MapperResourceEnhancer.class, method = "enhancedShardingSQL")
//     public List<ShopOrder> getShopOrderByShopOrderIds(@ShardingOrderPara List<Long> shopOrderIds);
// 
// 
//     @ShardingExtensionMethod(type = MapperResourceEnhancer.class, method = "enhancedShardingSQL")
//     int batchUpdateShopOrderByShopOrderIds(@ShardingOrderPara @Param("shopOrderIds") List<Long> shopOrderIds, @Param("shopOrder") ShopOrder shopOrder);
// 
// }


import com.mogujie.service.tsharding.bean.ShopOrder;
import com.mogujie.service.tsharding.dao.ShopOrderDao;
import com.mogujie.service.tsharding.mapper.ShopOrderMapper;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.Assert;
import java.util.ArrayList;
import java.util.List;
package com.mogujie.service.tsharding.test;



/**
 * @author by jiuru on 16/7/14.
 */
public class TShardingTest extends BaseTest {

    private final Logger logger = LoggerFactory.getLogger(TShardingTest.class);

    @Autowired
    private ShopOrderDao shopOrderDao;


    @Autowired
// Path: tsharding-client/src/test/java/com/mogujie/service/tsharding/bean/ShopOrder.java
// public class ShopOrder extends BaseOrder {
// 
// }
// 
// Path: tsharding-client/src/test/java/com/mogujie/service/tsharding/dao/ShopOrderDao.java
// public interface ShopOrderDao {
// 
//     /**
//      * 根据店铺级订单ID获取订单信息（同一个买家）
//      *
//      * @param listShopOrderIds 店铺级订单ID集合
//      * @return List<XdShopOrder>
//      */
//     List<ShopOrder> getShopOrderByShopOrderIds(List<Long> listShopOrderIds);
// 
// }
// 
// Path: tsharding-client/src/test/java/com/mogujie/service/tsharding/mapper/ShopOrderMapper.java
// @DataSourceRouting(handler = TShardingRoutingHandler.class)
// public interface ShopOrderMapper {
// 
//     @ShardingExtensionMethod(type = MapperResourceEnhancer.class, method = "enhancedShardingSQL")
//     public ShopOrder getShopOrderByShopOrderId(@ShardingOrderPara Long shopOrderId);
// 
//     @ShardingExtensionMethod(type = MapperResourceEnhancer.class, method = "enhancedShardingSQL")
//     public List<ShopOrder> getShopOrderByShopOrderIds(@ShardingOrderPara List<Long> shopOrderIds);
// 
// 
//     @ShardingExtensionMethod(type = MapperResourceEnhancer.class, method = "enhancedShardingSQL")
//     int batchUpdateShopOrderByShopOrderIds(@ShardingOrderPara @Param("shopOrderIds") List<Long> shopOrderIds, @Param("shopOrder") ShopOrder shopOrder);
// 
// }


// Path: tsharding-client/src/test/java/com/mogujie/service/tsharding/test/TShardingTest.java
import com.mogujie.service.tsharding.bean.ShopOrder;
import com.mogujie.service.tsharding.dao.ShopOrderDao;
import com.mogujie.service.tsharding.mapper.ShopOrderMapper;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.Assert;
import java.util.ArrayList;
import java.util.List;

package com.mogujie.service.tsharding.test;



/**
 * @author by jiuru on 16/7/14.
 */
public class TShardingTest extends BaseTest {

    private final Logger logger = LoggerFactory.getLogger(TShardingTest.class);

    @Autowired
    private ShopOrderDao shopOrderDao;


    @Autowired
    private ShopOrderMapper shopOrderMapper;