主页-我的课程
This commit is contained in:
@@ -132,7 +132,7 @@ public class BookLabelAndMarketController {
|
||||
}else {
|
||||
List<ShopProductBookLabel> labelList = labelService.list(new LambdaQueryWrapper<ShopProductBookLabel>().eq(ShopProductBookLabel::getPid,id));
|
||||
if (labelList.size() > 0) {
|
||||
return R.error("请先删除子集,设置成最后一集");
|
||||
return R.error("请先删除子集");
|
||||
}else {
|
||||
labelService.removeById(id);
|
||||
return R.ok();
|
||||
@@ -193,7 +193,7 @@ public class BookLabelAndMarketController {
|
||||
}else {
|
||||
List<ShopProductBookMarket> marketList = marketService.list(new LambdaQueryWrapper<ShopProductBookMarket>().eq(ShopProductBookMarket::getPid,id));
|
||||
if (marketList.size() > 0) {
|
||||
return R.error("请先删除子集,设置成最后一集");
|
||||
return R.error("请先删除子集");
|
||||
}else {
|
||||
marketService.removeById(id);
|
||||
return R.ok();
|
||||
|
||||
Reference in New Issue
Block a user