提交 51d5e0a7 authored 作者: malei's avatar malei

feat(school-sysUser): BookRecommend

1.培养层次下没有数据不显示表头 References:N/A
上级 1bf7fd9f
...@@ -30,11 +30,11 @@ public class BookRecommendController { ...@@ -30,11 +30,11 @@ public class BookRecommendController {
@Autowired @Autowired
private FgResouceClient fgResouceClient; private FgResouceClient fgResouceClient;
// @ApiOperation(value = "测试接口",notes = "测试接口") @ApiOperation(value = "测试接口",notes = "测试接口")
// @GetMapping(value = SchoolRequestPath.ADD) @GetMapping(value = SchoolRequestPath.ADD)
// public CallBack<Boolean> add() throws Exception { public CallBack<Boolean> add(Integer depth) throws Exception {
// return bookService.insertBookRecommendList() ? CallBack.success() : CallBack.fail(); return bookService.insertBookRecommendList(depth) ? CallBack.success() : CallBack.fail();
// } }
@ApiOperation(value = "推荐环节-查询列表;status为默认传值,必须传;0:已提交, 1:未提交, 2:已退回",notes = "推荐环节-查询列表;status为默认传值,必须传;0:已提交, 1:未提交, 2:已退回") @ApiOperation(value = "推荐环节-查询列表;status为默认传值,必须传;0:已提交, 1:未提交, 2:已退回",notes = "推荐环节-查询列表;status为默认传值,必须传;0:已提交, 1:未提交, 2:已退回")
@GetMapping(value = SchoolRequestPath.PAGE) @GetMapping(value = SchoolRequestPath.PAGE)
......
...@@ -575,7 +575,7 @@ public class BookRecommendServiceImpl extends BaseModelServiceImpl<BookRecommend ...@@ -575,7 +575,7 @@ public class BookRecommendServiceImpl extends BaseModelServiceImpl<BookRecommend
}); });
return item; return item.stream().filter(v -> !(v.getDetails() == null || v.getDetails().size() ==0)).collect(Collectors.toList());
} }
@Override @Override
......
package com.zrqx.school.sysuser.service.book;
import com.zrqx.core.form.school.sysuser.fg.book.LastSubmitForm;
import com.zrqx.core.vo.schoolsysuser.fg.book.RecommendDetailsVo;
import java.util.List;
/**
* 待提交数据查询接口
* Created by ml on 2019/9/3.
*/
@FunctionalInterface
public interface PendingSubmitData {
List<RecommendDetailsVo> query(LastSubmitForm form);
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论