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

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

The newest version!
package com.mg.common.metadata.dao;

import com.mg.framework.entity.metadata.MObjectEntity;
import com.mg.framework.entity.metadata.MObjectScriptEntity;
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 MObjectScriptDao extends
        JpaRepository,
        QueryDslPredicateExecutor {
    public List findByIsEnable(boolean isEnable);

    public List findByBelongMObjectAndIsEnable(MObjectEntity belongMObject, Boolean isEnable);

    public List findByBelongMObjectAndExecOnInsertAndIsEnable(MObjectEntity belongMObject, Boolean execOnInsert, Boolean isEnable);

    public List findByBelongMObjectAndExecOnUpdateAndIsEnable(MObjectEntity belongMObject, Boolean execOnUpdate, Boolean isEnable);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy