chore: 更新 .gitignore 文件
- 添加 .vscode 目录到 IntelliJ IDEA 忽略列表 - 新增 /logs/、/ruoyi-admin/logs/ 和 /.vscode/ 目录到忽略列表
This commit is contained in:
@@ -90,6 +90,9 @@ public class TpCoursesServiceImpl implements ITpCoursesService {
|
||||
public Map<String, Object> queryCount(TpCoursesBo bo) {
|
||||
LambdaQueryWrapper<TpCourses> lqw = buildQueryWrapper(bo);
|
||||
List<TpCoursesVo> list = baseMapper.selectVoList(lqw);
|
||||
if (list.isEmpty()) {
|
||||
return new HashMap<>();
|
||||
}
|
||||
List<TpOrder> orderList = orderMapper.selectList(new LambdaQueryWrapper<TpOrder>().in(TpOrder::getCourseId, list.stream().map(TpCoursesVo::getId).toList()).ne(TpOrder::getPayState, 1));
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
map.put("count", list.size());
|
||||
|
||||
Reference in New Issue
Block a user