he2802 3 rokov pred
rodič
commit
71cce9fa81

+ 1 - 1
zhongzheng-admin/src/main/java/com/zhongzheng/controller/course/CourseBusinessController.java

@@ -118,7 +118,7 @@ public class CourseBusinessController extends BaseController {
     @Log(title = "业务层次", businessType = BusinessType.UPDATE)
     @PostMapping("/editLearningOrder")
     public AjaxResult<Void> editLearningOrder(@RequestBody CourseBusinessEditBo bo) {
-        return toAjax(iCourseBusinessService.editModel(bo) ? 1 : 0);
+        return toAjax(iCourseBusinessService.editLearningOrder(bo) ? 1 : 0);
     }
 
 

+ 3 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/goods/service/impl/GoodsServiceImpl.java

@@ -320,6 +320,9 @@ public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements
                 throw new CustomException("该商品已被购买过,无法改变状态");
             }
         }
+        if(entity.getGoodsType().longValue()==1&&entity.getGoodsId().longValue()>0){
+
+        }
     }
 
     @Override