xuhy
2024-10-31 0af5efbcac903cdc6ba1e7978cb9ac32220e8cde
ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/service/impl/TChargingPileNotificationServiceImpl.java
@@ -98,17 +98,17 @@
      switch (type){
         case 1:
            // 验证码
            notification.setPhone(phone);
            notification.setContent(data);
            notification.setSiteId(null);
            notification.setChargingPileId(null);
            break;
         default:
            // 停车占位
            notification.setSiteId(siteId);
            notification.setChargingPileId(chargingPileId);
            notification.setPhone(phone);
            notification.setContent(data);
            break;
      }
      notification.setPhone(phone);
      notification.setContent(data);
      this.save(notification);
   }