Пример #1
0
 /**
  * 根据条件查询店铺信息、店铺授权信息
  *
  * @param shopBean
  * @return
  */
 @Transactional(readOnly = true)
 public List<ShopBean> findShopBean(ShopBean shopBean) {
   Shop shopQuery = new Shop();
   shopQuery.setPlatformType(shopBean.getPlatformType());
   shopQuery.setId(shopBean.getShopId());
   // 查询所有店铺及授权信息
   List<Shop> shopList = shopService.getShopAndAuth(shopQuery);
   return convertShopList2ShopBeanList(shopList);
 }
Пример #2
0
 /**
  * 查询店铺信息、店铺授权信息
  *
  * @return
  */
 @Transactional(readOnly = true)
 public List<ShopBean> findShopBean() {
   // 查询所有店铺及授权信息
   List<Shop> shopList = shopService.getShopAndAuth(null);
   return convertShopList2ShopBeanList(shopList);
 }