提交 f3c54b00 authored 作者: 马晨俊's avatar 马晨俊

mcj:更新规则显示

上级 9e9940bf
package com.zjty.project.inspect.dao;
import com.zjty.project.inspect.entity.RuleCollection;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import java.util.List;
/**
* @author mcj
*/
public interface RuleCollectionDao extends JpaRepository<RuleCollection, String>, JpaSpecificationExecutor<RuleCollection> {
/**
* 根据技术id以及关键字查询数据
* @param technologyId 技术id
* @param target 关键字
* @return
*/
RuleCollection findAllByTechnologyIdEqualsAndTargetEquals(String technologyId, String target);
/**
* 根据关键字查询数据
* @param target 关键字
* @return
*/
List<RuleCollection> findAllByTargetLike(String target);
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论