Your Name
2023-03-17 e20c58a63d3827d9c55cd5f387568fb0916b9590
service-common/src/main/java/com/java110/common/cmd/chargeMachine/ListChargeMachinePortCmd.java
@@ -74,7 +74,7 @@
            chargeMachinePortDtos = chargeMachinePortV1InnerServiceSMOImpl.queryChargeMachinePorts(chargeMachinePortDto);
            //调用 第三方查询 插槽状态
            queryPortState(chargeMachinePortDtos);
           // queryPortState(chargeMachinePortDtos);
        } else {
            chargeMachinePortDtos = new ArrayList<>();
        }
@@ -86,14 +86,14 @@
        cmdDataFlowContext.setResponseEntity(responseEntity);
    }
    private void queryPortState(List<ChargeMachinePortDto> chargeMachinePortDtos) {
        if (chargeMachinePortDtos == null || chargeMachinePortDtos.size() < 1) {
            return;
        }
        for (ChargeMachinePortDto chargeMachinePortDto : chargeMachinePortDtos) {
            chargeMachinePortDto.setStateName("空闲");
        }
    }
//    private void queryPortState(List<ChargeMachinePortDto> chargeMachinePortDtos) {
//        if (chargeMachinePortDtos == null || chargeMachinePortDtos.size() < 1) {
//            return;
//
//        }
//
//        for (ChargeMachinePortDto chargeMachinePortDto : chargeMachinePortDtos) {
//            chargeMachinePortDto.setStateName("空闲");
//        }
//    }
}