All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mg.common.metadata.dao.MObjectDao Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
package com.mg.common.metadata.dao;

import com.mg.framework.entity.metadata.MObjectEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.querydsl.QueryDslPredicateExecutor;

import java.util.List;

/**
 * Created by liukefu on 2015/8/20.
 */

public interface MObjectDao extends
        JpaRepository,
        QueryDslPredicateExecutor {
    public List findByIsEnable(boolean isEnable);

    public List findByNameAndIsEnable(String name, boolean isEnable);

    public List findByTableNameAndIsEnable(String tableName, boolean isEnable);

    public List findByModuleNameAndIsEnable(String moduleName, boolean isEnable);

    public List findByModuleNameAndIsManageAndIsEnable(String moduleName, boolean isManage, boolean isEnable);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy