Pu Zhibing
2024-10-31 fa1f416fc8189227124dfb00463360705d8bcb66
ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/service/impl/TChargingPileNotificationServiceImpl.java
@@ -94,22 +94,7 @@
   @Override
   public void saveData(Integer type,Integer siteId,Integer chargingPileId, String phone, String data) {
      TChargingPileNotification notification = new TChargingPileNotification();
      switch (type){
         case 1:
            // 验证码
            notification.setPhone(phone);
            notification.setContent(data);
            break;
         default:
            // 停车占位
            notification.setSiteId(siteId);
            notification.setChargingPileId(chargingPileId);
            notification.setPhone(phone);
            notification.setContent(data);
            break;
      }
      this.save(notification);
      this.baseMapper.saveData(siteId,chargingPileId,phone,data);
   }
}