提交 d34550cb authored 作者: czq's avatar czq

czq

接口bug修改
上级 5ebe36dc
...@@ -68,6 +68,7 @@ public class DependencyServiceImpl implements DependencyService { ...@@ -68,6 +68,7 @@ public class DependencyServiceImpl implements DependencyService {
@Override @Override
public ServerResponse findDependency(Dependency dependency) { public ServerResponse findDependency(Dependency dependency) {
Specification<Dependency> spec = Specifications.<Dependency>and() Specification<Dependency> spec = Specifications.<Dependency>and()
.like(dependency.getName()!=null,"name","%"+dependency.getName()+"%")
.eq(dependency.getType()!=null,"type",dependency.getType()) .eq(dependency.getType()!=null,"type",dependency.getType())
.eq("status",1) .eq("status",1)
.build(); .build();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论