| | |
| | | if (byId == null) { |
| | | throw new BusinessException("c3Id不存在"); |
| | | } |
| | | String s = chargingService.setRate(byId.getC3Mac(), chargeEntities); |
| | | String s = chargingService.setRate(byId.getC3Mac(), chargeEntities,false); |
| | | if (!"操作成功".equals(s)) { |
| | | throw new BusinessException("设置失败,失败原因: " + s); |
| | | } |
| | |
| | | System.out.println("----- " + collect); |
| | | |
| | | //获取当前时间 |
| | | // LocalTime localTime = LocalTime.now(); |
| | | LocalTime localTime = LocalTime.of(18, 00); |
| | | LocalTime localTime = LocalTime.now(); |
| | | // LocalTime localTime = LocalTime.of(18, 00); |
| | | System.out.println("time"+localTime); |
| | | |
| | | C3mChargingCharge temp1 = collect.get(collect.size() - 1); |