zoujiajian 7 maanden geleden
bovenliggende
commit
6bdf482db4

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

@@ -183,7 +183,7 @@ public class CmsGoodsDonController {
             goodsDonCategoryService.handleGoodsRelate(goods.getId(), spu.getCategoryList());
             goodsDonService.updateById(goods);
             //关闭订阅提醒 且已上架
-            if (spu.getStatus() && (dbGoodsDon.getIsSubscribeAlert() && !spu.getIsSubscribeAlert())) {
+            if (dbGoodsDon.getStatus() && (dbGoodsDon.getIsSubscribeAlert() && !spu.getIsSubscribeAlert())) {
                 //通知之前 订阅该平台的用户
                 goodsSubscribeAlertService.alertBeforeSubscribeByGoodsId(spu.getId());
             }