2021与蓝度共同重构项目,服务端
liuhaonan
2022-10-25 dda268997ca8f8a364f7c19b45d7a43a50a98efe
ximon-admin/src/main/java/com/sandu/ximon/admin/service/C3mChargingChargeService.java
@@ -59,7 +59,7 @@
        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);
        }
@@ -222,8 +222,8 @@
            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);