mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
结算订单添加try catch
This commit is contained in:
@@ -450,12 +450,20 @@ public class NotDelayMerchantProgramLogic extends AbstractProgramLogic {
|
||||
|
||||
// 将卡/vin状态解锁
|
||||
if (!StringUtils.equals("0000000000000000", data.getLogicCard())) {
|
||||
try {
|
||||
cardStatusUnlocked(orderBasicInfo.getLogicCard());
|
||||
} catch (Exception e) {
|
||||
logger.error("【{}】-结算订单:{}, 将卡/vin状态解锁失败", this.getClass().getSimpleName(), orderBasicInfo.getOrderCode(), e);
|
||||
}
|
||||
}
|
||||
|
||||
// 如果是vin启动,将启动锁定状态改为正常
|
||||
if (StringUtils.equals(data.getTransactionIdentifier(), "05")) {
|
||||
try {
|
||||
vinStatusUnlocked(data.getVinCode());
|
||||
} catch (Exception e) {
|
||||
logger.error("【{}】-结算订单:{}, 将启动锁定状态改为正常失败", this.getClass().getSimpleName(), orderBasicInfo.getOrderCode(), e);
|
||||
}
|
||||
}
|
||||
|
||||
// 发送停止充电订阅消息
|
||||
|
||||
Reference in New Issue
Block a user