zoujiajian 7 달 전
부모
커밋
6bdf482db4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      netflix-web/src/main/java/com/cyksj/web/controller/manage/goods/CmsGoodsDonController.java

+ 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());
             }