he2802 2 年之前
父節點
當前提交
390e703137

+ 3 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/schedule/service/impl/ScheduleServiceImpl.java

@@ -321,6 +321,9 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
     @Override
     @Override
     public String updateGoodsSend(UserQueryBo bo) {
     public String updateGoodsSend(UserQueryBo bo) {
         InformRemindVo informRemindVo = informRemindService.queryByName("商品购买成功无需填写资料");
         InformRemindVo informRemindVo = informRemindService.queryByName("商品购买成功无需填写资料");
+        if(Validator.isEmpty(informRemindVo)){
+            return null;
+        }
         //查找购买后没发送消息的商品,发送购买消息
         //查找购买后没发送消息的商品,发送购买消息
         List<OrderGoodsVo> orderGoodsVo = iOrderGoodsService.selectOrderGoods();
         List<OrderGoodsVo> orderGoodsVo = iOrderGoodsService.selectOrderGoods();
         InformRemindVo informRemindTwoVo = informRemindService.queryByName("商品购买成功需填写资料");
         InformRemindVo informRemindTwoVo = informRemindService.queryByName("商品购买成功需填写资料");