mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-05 06:27:59 +08:00
update 获取支付delay模式
This commit is contained in:
@@ -2508,9 +2508,9 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 获取延时分账模式 延时分账的使用撤销方法退款,实时分账的使用退款方法
|
// 获取延时分账模式 延时分账的使用撤销方法退款,实时分账的使用退款方法
|
||||||
String expend = callbackRecord.getExpend();
|
String description = callbackRecord.getDescription();
|
||||||
JSONObject expendJsonObject = JSON.parseObject(expend);
|
JSONObject descriptionJsonObject = JSON.parseObject(description);
|
||||||
String payMode = expendJsonObject.getString("payMode");
|
String payMode = descriptionJsonObject.getString("payMode");
|
||||||
BigDecimal refundAmt = null; // 交易退款金额
|
BigDecimal refundAmt = null; // 交易退款金额
|
||||||
if (StringUtils.equalsIgnoreCase(payMode, Constants.ADAPAY_PAY_MODE_DELAY)) {
|
if (StringUtils.equalsIgnoreCase(payMode, Constants.ADAPAY_PAY_MODE_DELAY)) {
|
||||||
// 延迟分账未确认调撤销调撤销接口退款
|
// 延迟分账未确认调撤销调撤销接口退款
|
||||||
|
|||||||
@@ -575,7 +575,7 @@ public class PileConnectorInfoServiceImpl implements IPileConnectorInfoService {
|
|||||||
// 只修改一个枪口的状态
|
// 只修改一个枪口的状态
|
||||||
num = pileConnectorInfoMapper.updateConnectorStatus(pileConnectorCode, status);
|
num = pileConnectorInfoMapper.updateConnectorStatus(pileConnectorCode, status);
|
||||||
deleteRedisByPileSn(pileSn);
|
deleteRedisByPileSn(pileSn);
|
||||||
redisCache.setCacheObject(redisKey, status, CacheConstants.cache_expire_time_1h);
|
redisCache.setCacheObject(redisKey, status, CacheConstants.cache_expire_time_10m);
|
||||||
|
|
||||||
// TODO 推送联联平台 设备状态变化推送接口 ConnectorStatusInfo
|
// TODO 推送联联平台 设备状态变化推送接口 ConnectorStatusInfo
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user