mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-23 04:25:21 +08:00
update 预约充电响应
This commit is contained in:
@@ -3051,7 +3051,7 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
|
||||
sendStartCharging = false;
|
||||
} else if (StartModeEnum.VIN_CODE.getValue().equals(dto.getStartMode())) {
|
||||
sendStartCharging = false;
|
||||
} else if (StartTypeEnum.APPOINTMENT.getValue().equals(orderInfo.getStartType())) {
|
||||
} else if (StartTypeEnum.RESERVED.getValue().equals(orderInfo.getStartType())) {
|
||||
sendStartCharging = false;
|
||||
} else if (OrderStatusEnum.STAY_RETROACTIVE_AMOUNT.getValue().equals(orderInfo.getOrderStatus())) {
|
||||
sendStartCharging = false;
|
||||
@@ -3548,7 +3548,7 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
|
||||
}
|
||||
}
|
||||
|
||||
if (StringUtils.equals(dto.getStartType(), StartTypeEnum.APPOINTMENT.getValue())) {
|
||||
if (StringUtils.equals(dto.getStartType(), StartTypeEnum.RESERVED.getValue())) {
|
||||
orderBasicInfo.setAppointmentTime(DateUtils.parseDate(dto.getAppointmentTime(), DateUtils.YYYY_MM_DD_HH_MM_SS));
|
||||
}
|
||||
|
||||
|
||||
@@ -24,8 +24,6 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.net.InetAddress;
|
||||
import java.net.UnknownHostException;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
@@ -477,7 +475,7 @@ public class YKCPushCommandServiceImpl implements YKCPushCommandService {
|
||||
* @param command
|
||||
*/
|
||||
@Override
|
||||
public void pushReserveChargingCommand(ReserveChargingCommand command) {
|
||||
public void pushReservedChargingCommand(ReservedChargingCommand command) {
|
||||
// 交易流水号
|
||||
String transactionCode = command.getTransactionCode();
|
||||
byte[] transactionCodeArr = BytesUtil.str2Bcd(transactionCode);
|
||||
|
||||
Reference in New Issue
Block a user