Package edu.zzuli.model.orm.po

Examples of edu.zzuli.model.orm.po.GG_LBGN


 
  public void deleteGG_XTGN(String ids) {
    if (ids != null && !"".equals(ids)) {
      String[] idsArr = ids.split(",");
      for (String id : idsArr) {
        this.baseDaoEntity.getHibernateDao().delete(new GG_LBGN(),new StringBuffer(" gnid = '" + id + "'"));
        this.baseDaoEntity.getHibernateDao().delete(new GG_XTGN(id));
      }
    }
  }
View Full Code Here


  public void deleteBasePO(BasePO basePO) {
    this.baseDaoEntity.getHibernateDao().delete(basePO, basePO.getStrKeyWhere());
  }
 
  public void saveGnqx(String czlbId,String xtgns) {
    this.baseDaoEntity.getHibernateDao().delete(new GG_LBGN(), new StringBuffer(" LBID = '" + czlbId + "'"));
    String[] xtgnArr = xtgns.split(",");
    List gg_lbgnList = new ArrayList();
    for (String xtgn : xtgnArr) {
      GG_LBGN gg_lbgn = new GG_LBGN();
      gg_lbgn.setGG_CZLB(new GG_CZLB(czlbId));
      gg_lbgn.setGG_XTGN(new GG_XTGN(xtgn));
      gg_lbgnList.add(gg_lbgn);
    }
    if (gg_lbgnList.size() > 0) {
      this.baseDaoEntity.getHibernateDao().save(gg_lbgnList);
    }
View Full Code Here

  public void deleteGG_CZLB(String ids) {
    if (ids != null && !"".equals(ids)) {
      String[] idsArr = ids.split(",");
      for (String lbid : idsArr) {
        if (lbid.length() == 32) {
          this.baseDaoEntity.getHibernateDao().delete(new GG_LBGN(),new StringBuffer(" lbid = '" + lbid + "'"));
          this.baseDaoEntity.getHibernateDao().delete(new GG_CZLB(lbid));
        }
      }
    }
  }
View Full Code Here

  public void deleteBasePO(BasePO basePO) {
    this.baseDaoEntity.getHibernateDao().delete(basePO, basePO.getStrKeyWhere());
  }
 
  public void saveGnqx(String czlbId,String xtgns) {
    this.baseDaoEntity.getHibernateDao().delete(new GG_LBGN(), new StringBuffer(" LBID = '" + czlbId + "'"));
    if (xtgns != null && xtgns.length() > 0) {
      String[] xtgnArr = xtgns.split(",");
      List gg_lbgnList = new ArrayList();
      for (String xtgn : xtgnArr) {
        GG_LBGN gg_lbgn = new GG_LBGN();
        gg_lbgn.setGG_CZLB(new GG_CZLB(czlbId));
        gg_lbgn.setGG_XTGN(new GG_XTGN(xtgn));
        gg_lbgnList.add(gg_lbgn);
      }
      if (gg_lbgnList.size() > 0) {
        this.baseDaoEntity.getHibernateDao().save(gg_lbgnList);
      }
View Full Code Here

 
  public void deleteGG_CZLB(String ids) {
    if (ids != null && !"".equals(ids)) {
      String[] idsArr = ids.split(",");
      for (String lbid : idsArr) {
        this.baseDaoEntity.getHibernateDao().delete(new GG_LBGN(),new StringBuffer(" lbid = '" + lbid + "'"));
        this.baseDaoEntity.getHibernateDao().delete(new GG_CZLB(lbid));
      }
    }
  }
View Full Code Here

  public void deleteBasePO(BasePO basePO) {
    this.baseDaoEntity.getHibernateDao().delete(basePO, basePO.getStrKeyWhere());
  }
 
  public void saveGnqx(String czlbId,String xtgns) {
    this.baseDaoEntity.getHibernateDao().delete(new GG_LBGN(), new StringBuffer(" LBID = '" + czlbId + "'"));
    String[] xtgnArr = xtgns.split(",");
    List gg_lbgnList = new ArrayList();
    for (String xtgn : xtgnArr) {
      GG_LBGN gg_lbgn = new GG_LBGN();
      gg_lbgn.setGG_CZLB(new GG_CZLB(czlbId));
      gg_lbgn.setGG_XTGN(new GG_XTGN(xtgn));
      gg_lbgnList.add(gg_lbgn);
    }
    if (gg_lbgnList.size() > 0) {
      this.baseDaoEntity.getHibernateDao().save(gg_lbgnList);
    }
View Full Code Here

TOP

Related Classes of edu.zzuli.model.orm.po.GG_LBGN

Copyright © 2018 www.massapicom. 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.