Examples of findSupplier()


Examples of com.lgx8.gateway.service.IGatewayService.findSupplier()

    if(brand!=null) {
      root.put("brand", brand);
      root.put("Brand_List_Url", Constants.BRAND_LIST_URL);
    }
   
    List<Supplier> suppliers = gatewayService.findSupplier();
    if(suppliers!=null&&suppliers.size()>0) {
      root.put("suppliers", suppliers);
    }
   
    /* 将模板和数据模型合并 */
 
View Full Code Here

Examples of com.lgx8.gateway.service.IGatewayService.findSupplier()

      lid = Long.parseLong(id);
    } catch (Exception e1) {
      lid = -1;
    }
   
    Supplier supplier = gatewayService.findSupplier(lid);
   
    if(supplier!=null) {
      root.put("supplier", supplier);
      root.put("Supplier_List_Url", Constants.SUPPLIER_LIST_URL);
    }
View Full Code Here

Examples of com.lgx8.gateway.service.IGatewayService.findSupplier()

        lid = -1;
      }
      ApplicationContext ac = WebApplicationContextUtils.getWebApplicationContext(this.getServletContext());
      IGatewayService gatewayService = (IGatewayService) ac.getBean("gatewayService");
     
      Supplier supplier = gatewayService.findSupplier(lid);
      if(supplier==null) {
        out.print("({'result':'0','msg':'修改的供应商信息不存在!'})");
        out.flush();
        return;
      }
View Full Code Here

Examples of com.lgx8.gateway.service.IGatewayService.findSupplier()

    Template temp = getConfiguration().getTemplate("brand/AddBrand.ftl");
   
    ApplicationContext ac = WebApplicationContextUtils.getWebApplicationContext(this.getServletContext());
    IGatewayService gatewayService = (IGatewayService) ac.getBean("gatewayService");
   
    List<Supplier> suppliers = gatewayService.findSupplier();
   
    if(suppliers!=null&&suppliers.size()>0) {
      root.put("suppliers", suppliers);
    }
   
View Full Code Here

Examples of com.lgx8.gateway.service.IGatewayService.findSupplier()

      try {
        lsupplierid = Long.parseLong(supplierid);
      } catch (Exception e) {
        lsupplierid = -1;
      }
      Supplier supplier = gatewayService.findSupplier(lsupplierid);
      if(supplier==null) {
        out.print("({'result':'0','msg':'添加失败,未找到对应的供应商!'})");
        out.flush();
        return;
      }
View Full Code Here

Examples of com.lgx8.gateway.service.IGatewayService.findSupplier()

      try {
        lsupplierid = Long.parseLong(supplierid);
      } catch (Exception e) {
        lsupplierid = -1;
      }
      Supplier supplier = gatewayService.findSupplier(lsupplierid);
      if(supplier==null) {
        out.print("({'result':'0','msg':'修改失败,未找到对应的供应商!'})");
        out.flush();
        return;
      }
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.