Jelajahi Sumber

学习埋点改成统一表,并修改对应名称注释等

honorfire 7 bulan lalu
induk
melakukan
66b412d6e4

+ 45 - 46
snowy-plugin/snowy-plugin-disk/snowy-plugin-disk-func/src/main/java/vip/xiaonuo/disk/controller/CourseStudentProgressController.java → snowy-plugin/snowy-plugin-disk/snowy-plugin-disk-func/src/main/java/vip/xiaonuo/disk/controller/CourseStudentBurialpointController.java

@@ -20,7 +20,6 @@ import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
 import com.github.xiaoymin.knife4j.annotations.ApiSupport;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
-import org.apache.commons.lang3.StringUtils;
 import org.springframework.validation.annotation.Validated;
 import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.PostMapping;
@@ -30,13 +29,12 @@ import vip.xiaonuo.auth.core.util.StpLoginUserUtil;
 import vip.xiaonuo.common.annotation.CommonLog;
 import vip.xiaonuo.common.pojo.CommonResult;
 import vip.xiaonuo.common.pojo.CommonValidList;
-import vip.xiaonuo.disk.domain.CourseStudentProgress;
-import vip.xiaonuo.disk.param.courseclasshourfilerelate.CourseRelateIdParam;
+import vip.xiaonuo.disk.domain.CourseStudentBurialpoint;
 import vip.xiaonuo.disk.param.coursestudentprogress.CourseStudentProgressAddParam;
 import vip.xiaonuo.disk.param.coursestudentprogress.CourseStudentProgressEditParam;
 import vip.xiaonuo.disk.param.coursestudentprogress.CourseStudentProgressIdParam;
 import vip.xiaonuo.disk.param.coursestudentprogress.CourseStudentProgressPageParam;
-import vip.xiaonuo.disk.service.CourseStudentProgressService;
+import vip.xiaonuo.disk.service.CourseStudentBurialpointService;
 
 import javax.annotation.Resource;
 import javax.servlet.http.HttpServletRequest;
@@ -48,32 +46,32 @@ import java.util.Map;
 import java.util.stream.Collectors;
 
 /**
- * 课程学生-学习进度表控制器
+ * 课程学生-学习埋点表控制器
  *
  * @author honorfire
  * @date  2025/07/30 14:57
  */
-@Api(tags = "课程学生-学习进度表控制器")
+@Api(tags = "课程学生-学习埋点表控制器")
 @ApiSupport(author = "SNOWY_TEAM", order = 1)
 @RestController
 @Validated
-public class CourseStudentProgressController {
+public class CourseStudentBurialpointController {
 
     @Resource
-    private CourseStudentProgressService courseStudentProgressService;
+    private CourseStudentBurialpointService courseStudentBurialpointService;
 
     /**
-     * 获取课程学生-学习进度表分页
+     * 获取课程学生-学习埋点表分页
      *
      * @author honorfire
      * @date  2025/07/30 14:57
      */
     @ApiOperationSupport(order = 1)
-    @ApiOperation("获取课程学生-学习进度表分页")
-    @SaCheckPermission("/disk/coursestudentprogress/page")
-    @GetMapping("/disk/coursestudentprogress/page")
-    public CommonResult<Page<CourseStudentProgress>> page(CourseStudentProgressPageParam courseStudentProgressPageParam) {
-        return CommonResult.data(courseStudentProgressService.page(courseStudentProgressPageParam));
+    @ApiOperation("获取课程学生-学习埋点表分页")
+    @SaCheckPermission("/disk/coursestudentburialpoint/page")
+    @GetMapping("/disk/coursestudentburialpoint/page")
+    public CommonResult<Page<CourseStudentBurialpoint>> page(CourseStudentProgressPageParam courseStudentProgressPageParam) {
+        return CommonResult.data(courseStudentBurialpointService.page(courseStudentProgressPageParam));
     }
 
     /**
@@ -85,24 +83,25 @@ public class CourseStudentProgressController {
     @ApiOperationSupport(order = 2)
     @ApiOperation("课程学生学习进度表-添加")
     @CommonLog("课程学生学习进度表-添加")
-    @PostMapping("/disk/coursestudentprogress/add")
+    @PostMapping("/disk/coursestudentburialpoint/add")
     public CommonResult<String> add(@RequestBody @Valid CourseStudentProgressAddParam courseStudentProgressAddParam) {
         Map param=new HashMap();
-        CourseStudentProgress courseStudentProgress=BeanUtil.toBean(courseStudentProgressAddParam, CourseStudentProgress.class);
+        CourseStudentBurialpoint courseStudentBurialpoint =BeanUtil.toBean(courseStudentProgressAddParam, CourseStudentBurialpoint.class);
         String userId =StpLoginUserUtil.getLoginUser().getId();
-        courseStudentProgress.setUserId(userId);
+        courseStudentBurialpoint.setUserId(userId);
         //进度不能覆盖,查询该学生该课程上一次的学习进度,如果本次进度不大于最高的进度,就只存最高的进度
         param.put("userId", userId);
-        param.put("hourId", courseStudentProgress.getHourId());
-        List<CourseStudentProgress> alreadyList=courseStudentProgressService.wrapperList(param);
-        List<String> alreadyProgressList=CollStreamUtil.toList(alreadyList, CourseStudentProgress::getProgress);
+        param.put("hourId", courseStudentBurialpoint.getHourId());
+        List<CourseStudentBurialpoint> alreadyList= courseStudentBurialpointService.wrapperList(param);
+        List<String> alreadyProgressList=CollStreamUtil.toList(alreadyList, CourseStudentBurialpoint::getProgress);
         //将String转为Long
         List<Long> alreadyProgressLongList=alreadyProgressList.stream().map(Long::parseLong).collect(Collectors.toList());
         //取出最大的进度
         Long maxProgress=alreadyProgressLongList.stream().max(Long::compareTo).orElse(0L);
-        if(Long.valueOf(courseStudentProgressAddParam.getProgress()).longValue()<maxProgress.longValue())courseStudentProgress.setProgress(String.valueOf(maxProgress));
+        if(Long.valueOf(courseStudentProgressAddParam.getProgress()).longValue()<maxProgress.longValue())
+            courseStudentBurialpoint.setProgress(String.valueOf(maxProgress));
 
-        courseStudentProgressService.addOne(courseStudentProgress);
+        courseStudentBurialpointService.addOne(courseStudentBurialpoint);
         return CommonResult.ok();
     }
 
@@ -114,68 +113,68 @@ public class CourseStudentProgressController {
      */
     @ApiOperationSupport(order = 5)
     @ApiOperation("课程学生学习进度-查询最近一次进度")
-    @GetMapping("/disk/coursestudentprogress/theLastDetail")
-    public CommonResult<CourseStudentProgress> theLastDetail(@Valid CourseStudentProgressPageParam courseStudentProgressPageParam, HttpServletRequest req) {
+    @GetMapping("/disk/coursestudentburialpoint/theLastDetail")
+    public CommonResult<CourseStudentBurialpoint> theLastDetail(@Valid CourseStudentProgressPageParam courseStudentProgressPageParam, HttpServletRequest req) {
         Map param=new HashMap();
         param.put("userId", StpLoginUserUtil.getLoginUser().getId());
         param.put("hourId", req.getParameter("hourId"));
         //是否查询最近一次进度,0否1是
         param.put("isLast", "1");
-        List<CourseStudentProgress> alreadyList=courseStudentProgressService.wrapperList(param);
-        CourseStudentProgress courseStudentProgress=null;
+        List<CourseStudentBurialpoint> alreadyList= courseStudentBurialpointService.wrapperList(param);
+        CourseStudentBurialpoint courseStudentBurialpoint =null;
         if(alreadyList.size()>0)
         {
-            courseStudentProgress=alreadyList.get(0);
+            courseStudentBurialpoint =alreadyList.get(0);
         }
-        return CommonResult.data(courseStudentProgress);
+        return CommonResult.data(courseStudentBurialpoint);
     }
 
 
     /**
-     * 编辑课程学生-学习进度
+     * 编辑课程学生-学习埋点
      *
      * @author honorfire
      * @date  2025/07/30 14:57
      */
     @ApiOperationSupport(order = 3)
-    @ApiOperation("编辑课程学生-学习进度表")
-    @CommonLog("编辑课程学生-学习进度表")
-    @PostMapping("/disk/coursestudentprogress/edit")
+    @ApiOperation("编辑课程学生-学习埋点表")
+    @CommonLog("编辑课程学生-学习埋点表")
+    @PostMapping("/disk/coursestudentburialpoint/edit")
     public CommonResult<String> edit(@RequestBody @Valid CourseStudentProgressEditParam courseStudentProgressEditParam) {
-        CourseStudentProgress courseStudentProgress=BeanUtil.toBean(courseStudentProgressEditParam, CourseStudentProgress.class);
-        courseStudentProgressService.editOne(courseStudentProgress);
+        CourseStudentBurialpoint courseStudentBurialpoint =BeanUtil.toBean(courseStudentProgressEditParam, CourseStudentBurialpoint.class);
+        courseStudentBurialpointService.editOne(courseStudentBurialpoint);
         return CommonResult.ok();
     }
 
     /**
-     * 删除课程学生-学习进度
+     * 删除课程学生-学习埋点
      *
      * @author honorfire
      * @date  2025/07/30 14:57
      */
     @ApiOperationSupport(order = 4)
-    @ApiOperation("删除课程学生-学习进度表")
-    @CommonLog("删除课程学生-学习进度表")
-    @SaCheckPermission("/disk/coursestudentprogress/delete")
-    @PostMapping("/disk/coursestudentprogress/delete")
+    @ApiOperation("删除课程学生-学习埋点表")
+    @CommonLog("删除课程学生-学习埋点表")
+    @SaCheckPermission("/disk/coursestudentburialpoint/delete")
+    @PostMapping("/disk/coursestudentburialpoint/delete")
     public CommonResult<String> delete(@RequestBody @Valid @NotEmpty(message = "集合不能为空")
                                                    CommonValidList<CourseStudentProgressIdParam> courseStudentProgressIdParamList) {
-        courseStudentProgressService.delete(courseStudentProgressIdParamList);
+        courseStudentBurialpointService.delete(courseStudentProgressIdParamList);
         return CommonResult.ok();
     }
 
     /**
-     * 获取课程学生-学习进度表详情
+     * 获取课程学生-学习埋点表详情
      *
      * @author honorfire
      * @date  2025/07/30 14:57
      */
     @ApiOperationSupport(order = 5)
-    @ApiOperation("获取课程学生-学习进度表详情")
-    @SaCheckPermission("/disk/coursestudentprogress/detail")
-    @GetMapping("/disk/coursestudentprogress/detail")
-    public CommonResult<CourseStudentProgress> detail(@Valid CourseStudentProgressIdParam courseStudentProgressIdParam) {
-        return CommonResult.data(courseStudentProgressService.detail(courseStudentProgressIdParam));
+    @ApiOperation("获取课程学生-学习埋点表详情")
+    @SaCheckPermission("/disk/coursestudentburialpoint/detail")
+    @GetMapping("/disk/coursestudentburialpoint/detail")
+    public CommonResult<CourseStudentBurialpoint> detail(@Valid CourseStudentProgressIdParam courseStudentProgressIdParam) {
+        return CommonResult.data(courseStudentBurialpointService.detail(courseStudentProgressIdParam));
     }
 
 }

+ 2 - 2
snowy-plugin/snowy-plugin-disk/snowy-plugin-disk-func/src/main/java/vip/xiaonuo/disk/domain/CourseStudentProgress.java → snowy-plugin/snowy-plugin-disk/snowy-plugin-disk-func/src/main/java/vip/xiaonuo/disk/domain/CourseStudentBurialpoint.java

@@ -27,8 +27,8 @@ import java.util.Date;
  **/
 @Getter
 @Setter
-@TableName("COURSE_STUDENT_PROGRESS")
-public class CourseStudentProgress {
+@TableName("COURSE_STUDENT_BURIALPOINT")
+public class CourseStudentBurialpoint {
 
     /** ID */
     @TableId

+ 2 - 2
snowy-plugin/snowy-plugin-disk/snowy-plugin-disk-func/src/main/java/vip/xiaonuo/disk/domain/CourseStudentProgressEnum.java → snowy-plugin/snowy-plugin-disk/snowy-plugin-disk-func/src/main/java/vip/xiaonuo/disk/domain/CourseStudentBurialpointEnum.java

@@ -21,14 +21,14 @@ import lombok.Getter;
  * @date  2025/07/30 14:57
  **/
 @Getter
-public enum CourseStudentProgressEnum {
+public enum CourseStudentBurialpointEnum {
 
     /** 测试 */
     TEST("TEST");
 
     private final String value;
 
-    CourseStudentProgressEnum(String value) {
+    CourseStudentBurialpointEnum(String value) {
         this.value = value;
     }
 }

+ 2 - 2
snowy-plugin/snowy-plugin-disk/snowy-plugin-disk-func/src/main/java/vip/xiaonuo/disk/mapper/CourseStudentProgressMapper.java → snowy-plugin/snowy-plugin-disk/snowy-plugin-disk-func/src/main/java/vip/xiaonuo/disk/mapper/CourseStudentBurialpointMapper.java

@@ -13,7 +13,7 @@
 package vip.xiaonuo.disk.mapper;
 
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import vip.xiaonuo.disk.domain.CourseStudentProgress;
+import vip.xiaonuo.disk.domain.CourseStudentBurialpoint;
 
 /**
  * 课程学生-学习进度表Mapper接口
@@ -21,5 +21,5 @@ import vip.xiaonuo.disk.domain.CourseStudentProgress;
  * @author honorfire
  * @date  2025/07/30 14:57
  **/
-public interface CourseStudentProgressMapper extends BaseMapper<CourseStudentProgress> {
+public interface CourseStudentBurialpointMapper extends BaseMapper<CourseStudentBurialpoint> {
 }

+ 1 - 1
snowy-plugin/snowy-plugin-disk/snowy-plugin-disk-func/src/main/java/vip/xiaonuo/disk/mapper/mapping/CourseStudentProgressMapper.xml → snowy-plugin/snowy-plugin-disk/snowy-plugin-disk-func/src/main/java/vip/xiaonuo/disk/mapper/mapping/CourseStudentBurialpointMapper.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="vip.xiaonuo.disk.mapper.CourseStudentProgressMapper">
+<mapper namespace="vip.xiaonuo.disk.mapper.CourseStudentBurialpointMapper">
 
 </mapper>

+ 8 - 8
snowy-plugin/snowy-plugin-disk/snowy-plugin-disk-func/src/main/java/vip/xiaonuo/disk/service/CourseStudentProgressService.java → snowy-plugin/snowy-plugin-disk/snowy-plugin-disk-func/src/main/java/vip/xiaonuo/disk/service/CourseStudentBurialpointService.java

@@ -14,7 +14,7 @@ package vip.xiaonuo.disk.service;
 
 import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 import com.baomidou.mybatisplus.extension.service.IService;
-import vip.xiaonuo.disk.domain.CourseStudentProgress;
+import vip.xiaonuo.disk.domain.CourseStudentBurialpoint;
 import vip.xiaonuo.disk.param.coursestudentprogress.CourseStudentProgressAddParam;
 import vip.xiaonuo.disk.param.coursestudentprogress.CourseStudentProgressEditParam;
 import vip.xiaonuo.disk.param.coursestudentprogress.CourseStudentProgressIdParam;
@@ -29,7 +29,7 @@ import java.util.Map;
  * @author honorfire
  * @date  2025/07/30 14:57
  **/
-public interface CourseStudentProgressService extends IService<CourseStudentProgress> {
+public interface CourseStudentBurialpointService extends IService<CourseStudentBurialpoint> {
 
     /**
      * 获取课程学生-学习进度表分页
@@ -37,7 +37,7 @@ public interface CourseStudentProgressService extends IService<CourseStudentProg
      * @author honorfire
      * @date  2025/07/30 14:57
      */
-    Page<CourseStudentProgress> page(CourseStudentProgressPageParam courseStudentProgressPageParam);
+    Page<CourseStudentBurialpoint> page(CourseStudentProgressPageParam courseStudentProgressPageParam);
 
     /**
      * 课程学生学习进度-封装列表
@@ -45,7 +45,7 @@ public interface CourseStudentProgressService extends IService<CourseStudentProg
      * @author honorfire
      * @date  2025/07/30 14:57
      */
-    List<CourseStudentProgress> wrapperList(Map param);
+    List<CourseStudentBurialpoint> wrapperList(Map param);
 
     /**
      * 添加课程学生-学习进度表
@@ -61,7 +61,7 @@ public interface CourseStudentProgressService extends IService<CourseStudentProg
      * @author honorfire
      * @date  2025/07/30 14:57
      */
-    CourseStudentProgress addOne(CourseStudentProgress courseStudentProgress);
+    CourseStudentBurialpoint addOne(CourseStudentBurialpoint courseStudentBurialpoint);
 
     /**
      * 编辑课程学生-学习进度表
@@ -77,7 +77,7 @@ public interface CourseStudentProgressService extends IService<CourseStudentProg
      * @author honorfire
      * @date  2025/07/30 14:57
      */
-    CourseStudentProgress editOne(CourseStudentProgress courseStudentProgress);
+    CourseStudentBurialpoint editOne(CourseStudentBurialpoint courseStudentBurialpoint);
 
     /**
      * 删除课程学生-学习进度表
@@ -93,7 +93,7 @@ public interface CourseStudentProgressService extends IService<CourseStudentProg
      * @author honorfire
      * @date  2025/07/30 14:57
      */
-    CourseStudentProgress detail(CourseStudentProgressIdParam courseStudentProgressIdParam);
+    CourseStudentBurialpoint detail(CourseStudentProgressIdParam courseStudentProgressIdParam);
 
     /**
      * 获取课程学生-学习进度表详情
@@ -101,6 +101,6 @@ public interface CourseStudentProgressService extends IService<CourseStudentProg
      * @author honorfire
      * @date  2025/07/30 14:57
      **/
-    CourseStudentProgress queryEntity(String id);
+    CourseStudentBurialpoint queryEntity(String id);
 
 }

+ 28 - 29
snowy-plugin/snowy-plugin-disk/snowy-plugin-disk-func/src/main/java/vip/xiaonuo/disk/service/impl/CourseStudentProgressServiceImpl.java → snowy-plugin/snowy-plugin-disk/snowy-plugin-disk-func/src/main/java/vip/xiaonuo/disk/service/impl/CourseStudentBurialpointServiceImpl.java

@@ -24,14 +24,13 @@ import org.springframework.transaction.annotation.Transactional;
 import vip.xiaonuo.common.enums.CommonSortOrderEnum;
 import vip.xiaonuo.common.exception.CommonException;
 import vip.xiaonuo.common.page.CommonPageRequest;
-import vip.xiaonuo.disk.domain.Chapter;
-import vip.xiaonuo.disk.domain.CourseStudentProgress;
-import vip.xiaonuo.disk.mapper.CourseStudentProgressMapper;
+import vip.xiaonuo.disk.domain.CourseStudentBurialpoint;
+import vip.xiaonuo.disk.mapper.CourseStudentBurialpointMapper;
 import vip.xiaonuo.disk.param.coursestudentprogress.CourseStudentProgressAddParam;
 import vip.xiaonuo.disk.param.coursestudentprogress.CourseStudentProgressEditParam;
 import vip.xiaonuo.disk.param.coursestudentprogress.CourseStudentProgressIdParam;
 import vip.xiaonuo.disk.param.coursestudentprogress.CourseStudentProgressPageParam;
-import vip.xiaonuo.disk.service.CourseStudentProgressService;
+import vip.xiaonuo.disk.service.CourseStudentBurialpointService;
 
 import java.util.List;
 import java.util.Map;
@@ -43,18 +42,18 @@ import java.util.Map;
  * @date  2025/07/30 14:57
  **/
 @Service
-public class CourseStudentProgressServiceImpl extends ServiceImpl<CourseStudentProgressMapper, CourseStudentProgress> implements CourseStudentProgressService {
+public class CourseStudentBurialpointServiceImpl extends ServiceImpl<CourseStudentBurialpointMapper, CourseStudentBurialpoint> implements CourseStudentBurialpointService {
 
 
     @Override
-    public Page<CourseStudentProgress> page(CourseStudentProgressPageParam courseStudentProgressPageParam) {
-        QueryWrapper<CourseStudentProgress> queryWrapper = new QueryWrapper<>();
+    public Page<CourseStudentBurialpoint> page(CourseStudentProgressPageParam courseStudentProgressPageParam) {
+        QueryWrapper<CourseStudentBurialpoint> queryWrapper = new QueryWrapper<>();
         if(ObjectUtil.isAllNotEmpty(courseStudentProgressPageParam.getSortField(), courseStudentProgressPageParam.getSortOrder())) {
             CommonSortOrderEnum.validate(courseStudentProgressPageParam.getSortOrder());
             queryWrapper.orderBy(true, courseStudentProgressPageParam.getSortOrder().equals(CommonSortOrderEnum.ASC.getValue()),
                     StrUtil.toUnderlineCase(courseStudentProgressPageParam.getSortField()));
         } else {
-            queryWrapper.lambda().orderByAsc(CourseStudentProgress::getId);
+            queryWrapper.lambda().orderByAsc(CourseStudentBurialpoint::getId);
         }
         return this.page(CommonPageRequest.defaultPage(), queryWrapper);
     }
@@ -66,22 +65,22 @@ public class CourseStudentProgressServiceImpl extends ServiceImpl<CourseStudentP
      * @date  2025/07/30 14:57
      */
     @Override
-    public List<CourseStudentProgress> wrapperList(Map param)
+    public List<CourseStudentBurialpoint> wrapperList(Map param)
     {
-        QueryWrapper<CourseStudentProgress> queryWrapper = new QueryWrapper<>();
+        QueryWrapper<CourseStudentBurialpoint> queryWrapper = new QueryWrapper<>();
         if(ObjectUtil.isNotEmpty(param.get("userId")))
         {
-            queryWrapper.lambda().eq(CourseStudentProgress::getUserId, param.get("userId"));
+            queryWrapper.lambda().eq(CourseStudentBurialpoint::getUserId, param.get("userId"));
         }
         if(ObjectUtil.isNotEmpty(param.get("hourId")))
         {
-            queryWrapper.lambda().eq(CourseStudentProgress::getHourId, param.get("hourId"));
+            queryWrapper.lambda().eq(CourseStudentBurialpoint::getHourId, param.get("hourId"));
         }
         if(ObjectUtil.isNotEmpty(param.get("isLast")))
         {
             if("1".equals(param.get("isLast")))
             {
-                queryWrapper.lambda().orderByDesc(CourseStudentProgress::getCreateTime);
+                queryWrapper.lambda().orderByDesc(CourseStudentBurialpoint::getCreateTime);
             }
         }
 
@@ -92,8 +91,8 @@ public class CourseStudentProgressServiceImpl extends ServiceImpl<CourseStudentP
     @Transactional(rollbackFor = Exception.class)
     @Override
     public void add(CourseStudentProgressAddParam courseStudentProgressAddParam) {
-        CourseStudentProgress courseStudentProgress = BeanUtil.toBean(courseStudentProgressAddParam, CourseStudentProgress.class);
-        this.save(courseStudentProgress);
+        CourseStudentBurialpoint courseStudentBurialpoint = BeanUtil.toBean(courseStudentProgressAddParam, CourseStudentBurialpoint.class);
+        this.save(courseStudentBurialpoint);
     }
 
     /**
@@ -104,19 +103,19 @@ public class CourseStudentProgressServiceImpl extends ServiceImpl<CourseStudentP
      */
     @Transactional(rollbackFor = Exception.class)
     @Override
-    public CourseStudentProgress addOne(CourseStudentProgress courseStudentProgress)
+    public CourseStudentBurialpoint addOne(CourseStudentBurialpoint courseStudentBurialpoint)
     {
-        this.save(courseStudentProgress);
-        return courseStudentProgress;
+        this.save(courseStudentBurialpoint);
+        return courseStudentBurialpoint;
     }
 
 
     @Transactional(rollbackFor = Exception.class)
     @Override
     public void edit(CourseStudentProgressEditParam courseStudentProgressEditParam) {
-        CourseStudentProgress courseStudentProgress = this.queryEntity(courseStudentProgressEditParam.getId());
-        BeanUtil.copyProperties(courseStudentProgressEditParam, courseStudentProgress);
-        this.updateById(courseStudentProgress);
+        CourseStudentBurialpoint courseStudentBurialpoint = this.queryEntity(courseStudentProgressEditParam.getId());
+        BeanUtil.copyProperties(courseStudentProgressEditParam, courseStudentBurialpoint);
+        this.updateById(courseStudentBurialpoint);
     }
 
     /**
@@ -127,10 +126,10 @@ public class CourseStudentProgressServiceImpl extends ServiceImpl<CourseStudentP
      */
     @Transactional(rollbackFor = Exception.class)
     @Override
-    public CourseStudentProgress editOne(CourseStudentProgress courseStudentProgress)
+    public CourseStudentBurialpoint editOne(CourseStudentBurialpoint courseStudentBurialpoint)
     {
-        this.updateById(courseStudentProgress);
-        return courseStudentProgress;
+        this.updateById(courseStudentBurialpoint);
+        return courseStudentBurialpoint;
     }
 
     @Transactional(rollbackFor = Exception.class)
@@ -141,17 +140,17 @@ public class CourseStudentProgressServiceImpl extends ServiceImpl<CourseStudentP
     }
 
     @Override
-    public CourseStudentProgress detail(CourseStudentProgressIdParam courseStudentProgressIdParam) {
+    public CourseStudentBurialpoint detail(CourseStudentProgressIdParam courseStudentProgressIdParam) {
         return this.queryEntity(courseStudentProgressIdParam.getId());
     }
 
     @Override
-    public CourseStudentProgress queryEntity(String id) {
-        CourseStudentProgress courseStudentProgress = this.getById(id);
-        if(ObjectUtil.isEmpty(courseStudentProgress)) {
+    public CourseStudentBurialpoint queryEntity(String id) {
+        CourseStudentBurialpoint courseStudentBurialpoint = this.getById(id);
+        if(ObjectUtil.isEmpty(courseStudentBurialpoint)) {
             throw new CommonException("课程学生-学习进度表不存在,id值为:{}", id);
         }
-        return courseStudentProgress;
+        return courseStudentBurialpoint;
     }
 
 }