com.mg.common.instance.dao.InstanceDao Maven / Gradle / Ivy
The newest version!
package com.mg.common.instance.dao;
import com.mg.common.entity.InstanceEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.querydsl.QueryDslPredicateExecutor;
import java.util.List;
/**
* 实例数据层
*/
public interface InstanceDao extends
JpaRepository,
QueryDslPredicateExecutor {
List findInstanceByName(String name);
List findInstanceByToken(String token);
}