|
|
@@ -5782,6 +5782,17 @@ public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public boolean disposeQuestion(Long goodsId) {
|
|
|
+ Goods goods = getById(goodsId);
|
|
|
+ if (Objects.isNull(goods)) {
|
|
|
+ throw new CustomException("商品ID有误");
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+
|
|
|
private void updateHandoutsId(Long goodsId, Long tenantId, Long handoutsId) {
|
|
|
baseMapper.updateHandoutsId(goodsId, tenantId, handoutsId);
|
|
|
}
|