mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-25 20:35:35 +08:00
代码格式化
This commit is contained in:
@@ -1,20 +1,19 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.AdminLog;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【admin_logs】的数据库操作Mapper
|
||||
* @createDate 2023-02-17 15:40:31
|
||||
* @Entity xyz.playedu.api.domain.AdminLog
|
||||
*/
|
||||
@Mapper
|
||||
public interface AdminLogMapper extends BaseMapper<AdminLog> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.AdminLog;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【admin_logs】的数据库操作Mapper
|
||||
* @createDate 2023-02-17 15:40:31 @Entity xyz.playedu.api.domain.AdminLog
|
||||
*/
|
||||
@Mapper
|
||||
public interface AdminLogMapper extends BaseMapper<AdminLog> {}
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.AdminPermission;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【admin_permissions】的数据库操作Mapper
|
||||
* @createDate 2023-02-21 15:37:02
|
||||
* @Entity xyz.playedu.api.domain.AdminPermission
|
||||
*/
|
||||
@Mapper
|
||||
public interface AdminPermissionMapper extends BaseMapper<AdminPermission> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.AdminPermission;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【admin_permissions】的数据库操作Mapper
|
||||
* @createDate 2023-02-21 15:37:02 @Entity xyz.playedu.api.domain.AdminPermission
|
||||
*/
|
||||
@Mapper
|
||||
public interface AdminPermissionMapper extends BaseMapper<AdminPermission> {}
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.AdminRole;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【admin_roles】的数据库操作Mapper
|
||||
* @createDate 2023-02-21 15:53:27
|
||||
* @Entity xyz.playedu.api.domain.AdminRole
|
||||
*/
|
||||
@Mapper
|
||||
public interface AdminRoleMapper extends BaseMapper<AdminRole> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.AdminRole;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【admin_roles】的数据库操作Mapper
|
||||
* @createDate 2023-02-21 15:53:27 @Entity xyz.playedu.api.domain.AdminRole
|
||||
*/
|
||||
@Mapper
|
||||
public interface AdminRoleMapper extends BaseMapper<AdminRole> {}
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.AdminRolePermission;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【admin_role_permission】的数据库操作Mapper
|
||||
* @createDate 2023-02-21 16:07:01
|
||||
* @Entity xyz.playedu.api.domain.AdminRolePermission
|
||||
*/
|
||||
@Mapper
|
||||
public interface AdminRolePermissionMapper extends BaseMapper<AdminRolePermission> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.AdminRolePermission;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【admin_role_permission】的数据库操作Mapper
|
||||
* @createDate 2023-02-21 16:07:01 @Entity xyz.playedu.api.domain.AdminRolePermission
|
||||
*/
|
||||
@Mapper
|
||||
public interface AdminRolePermissionMapper extends BaseMapper<AdminRolePermission> {}
|
||||
|
||||
@@ -1,18 +1,19 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.AdminUser;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
@Mapper
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【admin_users】的数据库操作Mapper
|
||||
* @createDate 2023-02-11 10:58:52
|
||||
* @Entity xyz.playedu.api.domain.AdminUser
|
||||
*/ public interface AdminUserMapper extends BaseMapper<AdminUser> {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.AdminUser;
|
||||
|
||||
@Mapper
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【admin_users】的数据库操作Mapper
|
||||
* @createDate 2023-02-11 10:58:52 @Entity xyz.playedu.api.domain.AdminUser
|
||||
*/
|
||||
public interface AdminUserMapper extends BaseMapper<AdminUser> {}
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.AdminUserRole;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【admin_user_role】的数据库操作Mapper
|
||||
* @createDate 2023-02-21 16:25:43
|
||||
* @Entity xyz.playedu.api.domain.AdminUserRole
|
||||
*/
|
||||
@Mapper
|
||||
public interface AdminUserRoleMapper extends BaseMapper<AdminUserRole> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.AdminUserRole;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【admin_user_role】的数据库操作Mapper
|
||||
* @createDate 2023-02-21 16:25:43 @Entity xyz.playedu.api.domain.AdminUserRole
|
||||
*/
|
||||
@Mapper
|
||||
public interface AdminUserRoleMapper extends BaseMapper<AdminUserRole> {}
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.AppConfig;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【app_config】的数据库操作Mapper
|
||||
* @createDate 2023-03-09 13:55:39
|
||||
* @Entity xyz.playedu.api.domain.AppConfig
|
||||
*/
|
||||
@Mapper
|
||||
public interface AppConfigMapper extends BaseMapper<AppConfig> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.AppConfig;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【app_config】的数据库操作Mapper
|
||||
* @createDate 2023-03-09 13:55:39 @Entity xyz.playedu.api.domain.AppConfig
|
||||
*/
|
||||
@Mapper
|
||||
public interface AppConfigMapper extends BaseMapper<AppConfig> {}
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.CategoryCourse;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【category_course】的数据库操作Mapper
|
||||
* @createDate 2023-02-24 14:48:26
|
||||
* @Entity xyz.playedu.api.domain.CategoryCourse
|
||||
*/
|
||||
@Mapper
|
||||
public interface CategoryCourseMapper extends BaseMapper<CategoryCourse> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.CategoryCourse;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【category_course】的数据库操作Mapper
|
||||
* @createDate 2023-02-24 14:48:26 @Entity xyz.playedu.api.domain.CategoryCourse
|
||||
*/
|
||||
@Mapper
|
||||
public interface CategoryCourseMapper extends BaseMapper<CategoryCourse> {}
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.CourseChapter;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【course_chapters】的数据库操作Mapper
|
||||
* @createDate 2023-02-26 17:34:01
|
||||
* @Entity xyz.playedu.api.domain.CourseChapter
|
||||
*/
|
||||
@Mapper
|
||||
public interface CourseChapterMapper extends BaseMapper<CourseChapter> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.CourseChapter;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【course_chapters】的数据库操作Mapper
|
||||
* @createDate 2023-02-26 17:34:01 @Entity xyz.playedu.api.domain.CourseChapter
|
||||
*/
|
||||
@Mapper
|
||||
public interface CourseChapterMapper extends BaseMapper<CourseChapter> {}
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.CourseDepartment;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【course_department】的数据库操作Mapper
|
||||
* @createDate 2023-02-24 14:53:52
|
||||
* @Entity xyz.playedu.api.domain.CourseDepartment
|
||||
*/
|
||||
@Mapper
|
||||
public interface CourseDepartmentMapper extends BaseMapper<CourseDepartment> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.CourseDepartment;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【course_department】的数据库操作Mapper
|
||||
* @createDate 2023-02-24 14:53:52 @Entity xyz.playedu.api.domain.CourseDepartment
|
||||
*/
|
||||
@Mapper
|
||||
public interface CourseDepartmentMapper extends BaseMapper<CourseDepartment> {}
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.CourseHour;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【course_hour】的数据库操作Mapper
|
||||
* @createDate 2023-03-15 10:16:45
|
||||
* @Entity xyz.playedu.api.domain.CourseHour
|
||||
*/
|
||||
@Mapper
|
||||
public interface CourseHourMapper extends BaseMapper<CourseHour> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.CourseHour;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【course_hour】的数据库操作Mapper
|
||||
* @createDate 2023-03-15 10:16:45 @Entity xyz.playedu.api.domain.CourseHour
|
||||
*/
|
||||
@Mapper
|
||||
public interface CourseHourMapper extends BaseMapper<CourseHour> {}
|
||||
|
||||
@@ -1,29 +1,29 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.Course;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import xyz.playedu.api.types.mapper.CourseCategoryCountMapper;
|
||||
import xyz.playedu.api.types.paginate.CoursePaginateFiler;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【courses】的数据库操作Mapper
|
||||
* @createDate 2023-03-20 14:25:31
|
||||
* @Entity xyz.playedu.api.domain.Course
|
||||
*/
|
||||
@Mapper
|
||||
public interface CourseMapper extends BaseMapper<Course> {
|
||||
|
||||
List<Course> paginate(CoursePaginateFiler filer);
|
||||
|
||||
Long paginateCount(CoursePaginateFiler filer);
|
||||
|
||||
List<Course> openCoursesAndShow(Integer limit);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.Course;
|
||||
import xyz.playedu.api.types.paginate.CoursePaginateFiler;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【courses】的数据库操作Mapper
|
||||
* @createDate 2023-03-20 14:25:31 @Entity xyz.playedu.api.domain.Course
|
||||
*/
|
||||
@Mapper
|
||||
public interface CourseMapper extends BaseMapper<Course> {
|
||||
|
||||
List<Course> paginate(CoursePaginateFiler filer);
|
||||
|
||||
Long paginateCount(CoursePaginateFiler filer);
|
||||
|
||||
List<Course> openCoursesAndShow(Integer limit);
|
||||
}
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.Department;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【departments】的数据库操作Mapper
|
||||
* @createDate 2023-02-19 12:19:45
|
||||
* @Entity xyz.playedu.api.domain.Department
|
||||
*/
|
||||
@Mapper
|
||||
public interface DepartmentMapper extends BaseMapper<Department> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.Department;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【departments】的数据库操作Mapper
|
||||
* @createDate 2023-02-19 12:19:45 @Entity xyz.playedu.api.domain.Department
|
||||
*/
|
||||
@Mapper
|
||||
public interface DepartmentMapper extends BaseMapper<Department> {}
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.ResourceCategory;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【resource_categories】的数据库操作Mapper
|
||||
* @createDate 2023-03-08 16:50:54
|
||||
* @Entity xyz.playedu.api.domain.ResourceCategory
|
||||
*/
|
||||
@Mapper
|
||||
public interface ResourceCategoryMapper extends BaseMapper<ResourceCategory> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.ResourceCategory;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【resource_categories】的数据库操作Mapper
|
||||
* @createDate 2023-03-08 16:50:54 @Entity xyz.playedu.api.domain.ResourceCategory
|
||||
*/
|
||||
@Mapper
|
||||
public interface ResourceCategoryMapper extends BaseMapper<ResourceCategory> {}
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.ResourceCategoryRelation;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【resource_category】的数据库操作Mapper
|
||||
* @createDate 2023-03-08 16:54:56
|
||||
* @Entity xyz.playedu.api.domain.ResourceCategoryRelation
|
||||
*/
|
||||
@Mapper
|
||||
public interface ResourceCategoryRelationMapper extends BaseMapper<ResourceCategoryRelation> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.ResourceCategoryRelation;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【resource_category】的数据库操作Mapper
|
||||
* @createDate 2023-03-08 16:54:56 @Entity xyz.playedu.api.domain.ResourceCategoryRelation
|
||||
*/
|
||||
@Mapper
|
||||
public interface ResourceCategoryRelationMapper extends BaseMapper<ResourceCategoryRelation> {}
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.ResourceCourseCategory;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【resource_course_category】的数据库操作Mapper
|
||||
* @createDate 2023-03-09 09:54:22
|
||||
* @Entity xyz.playedu.api.domain.ResourceCourseCategory
|
||||
*/
|
||||
@Mapper
|
||||
public interface ResourceCourseCategoryMapper extends BaseMapper<ResourceCourseCategory> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.ResourceCourseCategory;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【resource_course_category】的数据库操作Mapper
|
||||
* @createDate 2023-03-09 09:54:22 @Entity xyz.playedu.api.domain.ResourceCourseCategory
|
||||
*/
|
||||
@Mapper
|
||||
public interface ResourceCourseCategoryMapper extends BaseMapper<ResourceCourseCategory> {}
|
||||
|
||||
@@ -1,30 +1,27 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.Resource;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import xyz.playedu.api.types.mapper.ResourceCategoryCountMapper;
|
||||
import xyz.playedu.api.types.paginate.ResourcePaginateFilter;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【resources】的数据库操作Mapper
|
||||
* @createDate 2023-03-13 10:25:30
|
||||
* @Entity xyz.playedu.api.domain.Resource
|
||||
*/
|
||||
@Mapper
|
||||
public interface ResourceMapper extends BaseMapper<Resource> {
|
||||
|
||||
List<Resource> paginate(ResourcePaginateFilter filter);
|
||||
|
||||
Long paginateCount(ResourcePaginateFilter filter);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.Resource;
|
||||
import xyz.playedu.api.types.paginate.ResourcePaginateFilter;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【resources】的数据库操作Mapper
|
||||
* @createDate 2023-03-13 10:25:30 @Entity xyz.playedu.api.domain.Resource
|
||||
*/
|
||||
@Mapper
|
||||
public interface ResourceMapper extends BaseMapper<Resource> {
|
||||
|
||||
List<Resource> paginate(ResourcePaginateFilter filter);
|
||||
|
||||
Long paginateCount(ResourcePaginateFilter filter);
|
||||
}
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.ResourceVideo;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【resource_videos】的数据库操作Mapper
|
||||
* @createDate 2023-03-08 13:39:06
|
||||
* @Entity xyz.playedu.api.domain.ResourceVideo
|
||||
*/
|
||||
@Mapper
|
||||
public interface ResourceVideoMapper extends BaseMapper<ResourceVideo> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.ResourceVideo;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【resource_videos】的数据库操作Mapper
|
||||
* @createDate 2023-03-08 13:39:06 @Entity xyz.playedu.api.domain.ResourceVideo
|
||||
*/
|
||||
@Mapper
|
||||
public interface ResourceVideoMapper extends BaseMapper<ResourceVideo> {}
|
||||
|
||||
@@ -1,25 +1,27 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.UserCourseHourRecord;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import xyz.playedu.api.types.mapper.UserCourseHourRecordCountMapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【user_course_hour_records】的数据库操作Mapper
|
||||
* @createDate 2023-03-20 16:41:08
|
||||
* @Entity xyz.playedu.api.domain.UserCourseHourRecord
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserCourseHourRecordMapper extends BaseMapper<UserCourseHourRecord> {
|
||||
List<UserCourseHourRecord> getUserLatestRecords(Integer userId, Integer size);
|
||||
|
||||
List<UserCourseHourRecordCountMapper> getUserCourseHourCount(Integer userId, List<Integer> courseIds, Integer isFinished);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.UserCourseHourRecord;
|
||||
import xyz.playedu.api.types.mapper.UserCourseHourRecordCountMapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【user_course_hour_records】的数据库操作Mapper
|
||||
* @createDate 2023-03-20 16:41:08 @Entity xyz.playedu.api.domain.UserCourseHourRecord
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserCourseHourRecordMapper extends BaseMapper<UserCourseHourRecord> {
|
||||
List<UserCourseHourRecord> getUserLatestRecords(Integer userId, Integer size);
|
||||
|
||||
List<UserCourseHourRecordCountMapper> getUserCourseHourCount(
|
||||
Integer userId, List<Integer> courseIds, Integer isFinished);
|
||||
}
|
||||
|
||||
@@ -1,25 +1,26 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.UserCourseRecord;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import xyz.playedu.api.types.paginate.CourseUserPaginateFilter;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【user_course_records】的数据库操作Mapper
|
||||
* @createDate 2023-03-20 16:41:04
|
||||
* @Entity xyz.playedu.api.domain.UserCourseRecord
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserCourseRecordMapper extends BaseMapper<UserCourseRecord> {
|
||||
List<UserCourseRecord> paginate(CourseUserPaginateFilter filter);
|
||||
|
||||
long paginateTotal(CourseUserPaginateFilter filter);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.UserCourseRecord;
|
||||
import xyz.playedu.api.types.paginate.CourseUserPaginateFilter;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【user_course_records】的数据库操作Mapper
|
||||
* @createDate 2023-03-20 16:41:04 @Entity xyz.playedu.api.domain.UserCourseRecord
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserCourseRecordMapper extends BaseMapper<UserCourseRecord> {
|
||||
List<UserCourseRecord> paginate(CourseUserPaginateFilter filter);
|
||||
|
||||
long paginateTotal(CourseUserPaginateFilter filter);
|
||||
}
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.UserDepartment;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【user_department】的数据库操作Mapper
|
||||
* @createDate 2023-02-23 15:08:38
|
||||
* @Entity xyz.playedu.api.domain.UserDepartment
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserDepartmentMapper extends BaseMapper<UserDepartment> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.UserDepartment;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【user_department】的数据库操作Mapper
|
||||
* @createDate 2023-02-23 15:08:38 @Entity xyz.playedu.api.domain.UserDepartment
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserDepartmentMapper extends BaseMapper<UserDepartment> {}
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.UserLearnDurationRecord;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【user_learn_duration_records】的数据库操作Mapper
|
||||
* @createDate 2023-03-22 13:55:17
|
||||
* @Entity xyz.playedu.api.domain.UserLearnDurationRecord
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserLearnDurationRecordMapper extends BaseMapper<UserLearnDurationRecord> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.UserLearnDurationRecord;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【user_learn_duration_records】的数据库操作Mapper
|
||||
* @createDate 2023-03-22 13:55:17 @Entity xyz.playedu.api.domain.UserLearnDurationRecord
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserLearnDurationRecordMapper extends BaseMapper<UserLearnDurationRecord> {}
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.UserLearnDurationStats;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【user_learn_duration_stats】的数据库操作Mapper
|
||||
* @createDate 2023-03-22 13:55:29
|
||||
* @Entity xyz.playedu.api.domain.UserLearnDurationStats
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserLearnDurationStatsMapper extends BaseMapper<UserLearnDurationStats> {
|
||||
|
||||
Long getUserDuration(Integer userId);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.UserLearnDurationStats;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【user_learn_duration_stats】的数据库操作Mapper
|
||||
* @createDate 2023-03-22 13:55:29 @Entity xyz.playedu.api.domain.UserLearnDurationStats
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserLearnDurationStatsMapper extends BaseMapper<UserLearnDurationStats> {
|
||||
|
||||
Long getUserDuration(Integer userId);
|
||||
}
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.UserLoginRecord;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【user_login_records】的数据库操作Mapper
|
||||
* @createDate 2023-03-10 14:06:55
|
||||
* @Entity xyz.playedu.api.domain.UserLoginRecord
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserLoginRecordMapper extends BaseMapper<UserLoginRecord> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.UserLoginRecord;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【user_login_records】的数据库操作Mapper
|
||||
* @createDate 2023-03-10 14:06:55 @Entity xyz.playedu.api.domain.UserLoginRecord
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserLoginRecordMapper extends BaseMapper<UserLoginRecord> {}
|
||||
|
||||
@@ -1,26 +1,27 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.User;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import xyz.playedu.api.types.paginate.UserPaginateFilter;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【users】的数据库操作Mapper
|
||||
* @createDate 2023-03-20 13:37:33
|
||||
* @Entity xyz.playedu.api.domain.User
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserMapper extends BaseMapper<User> {
|
||||
|
||||
List<User> paginate(UserPaginateFilter filter);
|
||||
|
||||
Long paginateCount(UserPaginateFilter filter);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.User;
|
||||
import xyz.playedu.api.types.paginate.UserPaginateFilter;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【users】的数据库操作Mapper
|
||||
* @createDate 2023-03-20 13:37:33 @Entity xyz.playedu.api.domain.User
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserMapper extends BaseMapper<User> {
|
||||
|
||||
List<User> paginate(UserPaginateFilter filter);
|
||||
|
||||
Long paginateCount(UserPaginateFilter filter);
|
||||
}
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.UserUploadImageLog;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【user_upload_image_logs】的数据库操作Mapper
|
||||
* @createDate 2023-03-24 14:32:48
|
||||
* @Entity xyz.playedu.api.domain.UserUploadImageLog
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserUploadImageLogMapper extends BaseMapper<UserUploadImageLog> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import xyz.playedu.api.domain.UserUploadImageLog;
|
||||
|
||||
/**
|
||||
* @author tengteng
|
||||
* @description 针对表【user_upload_image_logs】的数据库操作Mapper
|
||||
* @createDate 2023-03-24 14:32:48 @Entity xyz.playedu.api.domain.UserUploadImageLog
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserUploadImageLogMapper extends BaseMapper<UserUploadImageLog> {}
|
||||
|
||||
Reference in New Issue
Block a user