Examples of UuidQueryModel


Examples of com.common.web.support.uuid.vo.UuidQueryModel

    DaoFactory.getUuidDAO().delete(m);
  }

  @Override
  public UuidModel getByUuid(int uuid) {
    return DaoFactory.getUuidDAO().getByUuid(new UuidQueryModel(), uuid);
  }
View Full Code Here

Examples of com.common.web.support.uuid.vo.UuidQueryModel

    return DaoFactory.getUuidDAO().getByUuid(new UuidQueryModel(), uuid);
  }

  @Override
  public List<UuidModel> getAll(int fromNum,int toNum) {
    return DaoFactory.getUuidDAO().getAll(new UuidQueryModel(),fromNum,toNum);
  }
View Full Code Here

Examples of com.common.web.support.uuid.vo.UuidQueryModel

  }

  @Override
  public int getNextUuid(String tblName) {
    //1:应该跟据表名做前缀,去数据库tbl_uuid里面查找数据
    UuidQueryModel uqm = new UuidQueryModel();
    uqm.setPreFix(tblName);
   
    List<UuidModel> list = this.getByCondition(uqm,1,100);
    if(list==null || list.size()==0){
      //2:如果找不到,说明是第一次用,那么nextUuid=1,同时向tbl_uuid新增一条数据
      UuidModel um = new UuidModel();
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.