Commit 51902470 authored by luzhuang's avatar luzhuang

fix:allNewCount

parent 46aa7275
......@@ -20,4 +20,7 @@ public class HomeParamDTO {
@ApiModelProperty(value = "标签集合")
private List<BLabel> labels;
@ApiModelProperty(value = "allNewCount")
private int allNewCount;
}
......@@ -93,6 +93,7 @@ public class BLabelServiceImpl implements BLabelService {
if("1".equals(b.getIsNew()))
newLessons.add(b);
}
paramDTO.setAllNewCount(newLessons.size());
LogUtil.addnNewLog("-----------addNewLable----------当前查询课程总个数--"+lessons.size()+"--------------------");
//遍历分类数据
List<QueryCourseResDTO> dtoList = bCourseRepository.queryFirstLevel(curUser.getCorpId(),20);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment