Esempio n. 1
0
  public String toShop() {
    String sellerID = getRequest().getParameter("sellerID");
    if (StringUtils.isBlank(sellerID)) {
      return null;
    }
    e.clear();
    // e.setOwner_id(sellerID);
    e = sellerService.selectById(sellerID);
    IndexImg indexImg1 = new IndexImg();
    indexImg1.setOwner_id(sellerID);
    // indexImg = indexImgService.getSellerImg(indexImg);
    // e.setIndexIMG(indexImg.getPicture());
    indexImgs = indexImgService.selectList(indexImg1);

    net.jeeshop.services.front.sellerproduct.bean.Product p =
        new net.jeeshop.services.front.sellerproduct.bean.Product();
    p.setOwner_id(sellerID);
    p.setStatus(2);
    List<net.jeeshop.services.front.sellerproduct.bean.Product> products =
        productService.selectList(p);
    e.setProducts(products);
    return "toSellerShop";
  }
Esempio n. 2
0
package net.jeeshop.services.front.sellerorderdetail.bean;