ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/service/impl/TChargingPileNotificationServiceImpl.java
@@ -84,4 +84,24 @@ pageInfo.setRecords(list); return pageInfo; } @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; } } }