com.mg.common.metadata.dao.MObjectDao Maven / Gradle / Ivy
The 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);
}