Examples of combLike()


Examples of com.sm.framework.util.queryModel.QueryModel.combLike()

   */
  public List<Role> queryRoleListPage(Role role, Page page) {
    QueryModel queryModel = new QueryModel();
    if (null != role) {
      // ���ս�ɫ����ģ����ѯ
      queryModel.combLike("Name", role.getName());
    }
    queryModel.setOrder("id DESC");
    return super.queryPageByModel(queryModel, page);
  }

View Full Code Here

Examples of com.sm.framework.util.queryModel.QueryModel.combLike()

  public List<Account> queryAccountListPage(Account account, Page page) {

    QueryModel model = new QueryModel();

    if (null != account) {
      model.combLike("account", account.getAccount());
    }
    // ����id��Ѱ
    model.setOrder("id DESC");
    return super.queryByModel(model);
  }
View Full Code Here

Examples of com.sm.framework.util.queryModel.QueryModel.combLike()

   * @return 2012-12-7 ����9:42:29 ��С��
   */
  public List<BaseType> queryBaseTypeListPage(BaseType baseType, Page page) {
    QueryModel queryModel = new QueryModel();
    if (null != baseType) {
      queryModel.combLike("typeName", baseType.getTypeName());
    }
    queryModel.setOrder("id DESC");
    return super.queryByModel(queryModel);

  }
View Full Code Here

Examples of com.sm.framework.util.queryModel.QueryModel.combLike()

   * @return 2012-12-9 ����9:31:47 ��С��
   */
  public List<Operation> queryOprationListPage(Operation operation, Page page) {
    QueryModel queryModel = new QueryModel();
    if (null != operation) {
      queryModel.combLike("title", operation.getTitle());
      queryModel.combLike("module", operation.getModule());
      queryModel.combLike("resource", operation.getResource());
    }
    queryModel.setOrder("id DESC");
    return super.queryPageByModel(queryModel, page);
View Full Code Here

Examples of com.sm.framework.util.queryModel.QueryModel.combLike()

   */
  public List<Operation> queryOprationListPage(Operation operation, Page page) {
    QueryModel queryModel = new QueryModel();
    if (null != operation) {
      queryModel.combLike("title", operation.getTitle());
      queryModel.combLike("module", operation.getModule());
      queryModel.combLike("resource", operation.getResource());
    }
    queryModel.setOrder("id DESC");
    return super.queryPageByModel(queryModel, page);
  }
View Full Code Here

Examples of com.sm.framework.util.queryModel.QueryModel.combLike()

  public List<Operation> queryOprationListPage(Operation operation, Page page) {
    QueryModel queryModel = new QueryModel();
    if (null != operation) {
      queryModel.combLike("title", operation.getTitle());
      queryModel.combLike("module", operation.getModule());
      queryModel.combLike("resource", operation.getResource());
    }
    queryModel.setOrder("id DESC");
    return super.queryPageByModel(queryModel, page);
  }
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.