bug
This commit is contained in:
@@ -263,7 +263,7 @@ public class ShopProductServiceImpl extends ServiceImpl<ShopProductDao, ShopProd
|
|||||||
return R.error("不可重复绑定");
|
return R.error("不可重复绑定");
|
||||||
}
|
}
|
||||||
CourseCatalogueEntity courseCatalogueEntity = courseCatalogueDao.selectById(shopProductCourseEntity.getCatalogueId());
|
CourseCatalogueEntity courseCatalogueEntity = courseCatalogueDao.selectById(shopProductCourseEntity.getCatalogueId());
|
||||||
shopProductCourseEntity.setCourseId(courseCatalogueEntity.getId());
|
shopProductCourseEntity.setCourseId(courseCatalogueEntity.getCourseId());
|
||||||
shopProductCourseDao.insert(shopProductCourseEntity);
|
shopProductCourseDao.insert(shopProductCourseEntity);
|
||||||
return R.ok();
|
return R.ok();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user