部门列表api返回部门的学员数量

This commit is contained in:
none
2023-04-12 13:55:22 +08:00
parent 3fda4b6926
commit 9344f81772
7 changed files with 63 additions and 36 deletions

View File

@@ -9,6 +9,9 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import xyz.playedu.api.domain.Department;
import xyz.playedu.api.types.mapper.DepartmentsUserCountMapRes;
import java.util.List;
/**
* @author tengteng
@@ -16,4 +19,6 @@ import xyz.playedu.api.domain.Department;
* @createDate 2023-02-19 12:19:45 @Entity xyz.playedu.api.domain.Department
*/
@Mapper
public interface DepartmentMapper extends BaseMapper<Department> {}
public interface DepartmentMapper extends BaseMapper<Department> {
List<DepartmentsUserCountMapRes> getDepartmentsUserCount();
}