zoujiajian 2 yıl önce
ebeveyn
işleme
35b7ca100e

+ 1 - 1
netflix-web/src/main/java/com/cyksj/web/controller/manage/goods/GoodsDonQuestionController.java

@@ -62,7 +62,7 @@ public class GoodsDonQuestionController {
 			goodsDonQaService.updateById(byId);
 			goodsDonQaRelateMapper.update(null, Wrappers.lambdaUpdate(GoodsDonQaRelate.class)
 					.set(GoodsDonQaRelate::getDeleted, 0)
-					.eq(GoodsDonQaRelate::getGoodsId, id)
+					.eq(GoodsDonQaRelate::getQuestionId, id)
 					.eq(GoodsDonQaRelate::getDeleted, 1));
 			refreshCacheService.goodsQuestionCache();
 		}