Examples of TShopInfo


Examples of com.iteye.tianshi.web.model.base.TShopInfo

      if(StringUtils.hasText(dist.getSponsorCode()) ){
        String sponsor_Name = tDistributorService.findByProperty("distributorCode", dist.getSponsorCode()).get(0).getDistributorName();
        dist.setSponsor_Name(sponsor_Name);
      }
      if(dist.getShopId() != null){
        TShopInfo t = tShopInfoService.findEntity(dist.getShopId());
        dist.setShop_Name(t.getShopName());
        dist.setShop_Code(t.getShopCode());
      }
      if(dist.getRankId()!=null){
        String rankId_Name = rankService.findEntity(dist.getRankId()).getRankName();
        dist.setRankId_Name(rankId_Name);
      }
View Full Code Here

Examples of com.iteye.tianshi.web.model.base.TShopInfo

    TDistributor dist = tDistributorService.findByProperty("distributorCode", order.getDistributorCode()).get(0);
    order.setDistributorName(dist.getDistributorName());
    Long shopId = dist.getShopId();
    dist = null;
   
    TShopInfo shop = tShopInfoService.findEntity(shopId);
    order.setShopCode(shop.getShopCode());
    order.setShopName(shop.getShopName());
    shop = null;
   
    TProductInfo product = tProductInfoService.findByProperty("productCode", order.getProductCode()).get(0);
    order.setProductName(product.getProductName());
    return order;
View Full Code Here

Examples of com.iteye.tianshi.web.model.base.TShopInfo

      String distributorCode = tProductDetail.getDistributorCode();
      disList = tDistributorService.findByProperty("distributorCode", distributorCode);
      if (!disList.isEmpty()) {
        Long shopId = disList.get(0).getShopId();
        if(shopId!=null){
          TShopInfo tShopInfo = tShopInfoService.findEntity(shopId);
          tProductDetail.setShopCode(tShopInfo.getShopCode());
          tProductDetail.setShopName(tShopInfo.getShopName());
        }
        tProductDetail.setDistributorName(disList.get(0).getDistributorName());
      }
      productList = tProductInfoService.findByProperty("productCode", productCode);
      if (!productList.isEmpty()) {
View Full Code Here

Examples of com.iteye.tianshi.web.model.base.TShopInfo

   * @return TShopInfo
   */
  @RequestMapping(value = "/loadTShopInfo", method = RequestMethod.POST)
  @ResponseBody
  public TShopInfo loadDistributor(Long id) {
    TShopInfo tShopInfo = tShopInfoService.findEntity(id);
    return tShopInfo;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.