卡订单启动服务信息处理优化
This commit is contained in:
parent
8bf1f6ac60
commit
1355e2a0f2
@ -99,7 +99,12 @@ public class PileStartChargingDataLogic implements ServiceLogic {
|
||||
REDIS.setCacheMapValue("gun:".concat(connectorId), "ac.on", false);
|
||||
resultStr = "00";
|
||||
} else {
|
||||
resultStr = r.getMsg();
|
||||
String internalError = r.getMsg();
|
||||
if (internalError.startsWith("0") || internalError.startsWith("1")) {
|
||||
resultStr = internalError;
|
||||
} else {
|
||||
log.error(internalError);
|
||||
}
|
||||
}
|
||||
cardNo = StringUtils.leftPad(iccardInfo.getCardno(), 16, "0");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user