提现订单fix bug
This commit is contained in:
parent
c438e4b3b9
commit
2a4dfe2b24
@ -2821,18 +2821,18 @@ public class LakalaApiServiceImpl implements LakalaApiService {
|
||||
// 更改分账状态:分账成功
|
||||
shopOrderLklService.updateSeparateStatusByReceiveLogNo(logNo, CommonConstant.Sta_Separate_Success, "");
|
||||
|
||||
// RMK 本次分账成功后,给商户和接收方 D1提现到银行卡
|
||||
// 本次分账成功后,给商户和接收方 D1提现到银行卡
|
||||
if (CollUtil.isNotEmpty(detailDatas)) {
|
||||
int idx = 1;
|
||||
for (JSONObject detailData : detailDatas.jsonIter()) {
|
||||
String recvNo = detailData.getStr("recv_no");
|
||||
String amt = detailData.getStr("amt");
|
||||
if (StrUtil.isNotBlank(recvNo) && StrUtil.isNotBlank(amt)) {
|
||||
String outSeparateNoTemp = String.format("%s_%s", outSeparateNo, idx);
|
||||
String outSeparateNoTemp = String.format("%s_%d", outSeparateNo, idx);
|
||||
Boolean drawSuccess = ewalletWithDrawD1(recvNo, outSeparateNoTemp, amt, JSONUtil.toJsonStr(detailDatas));
|
||||
idx++;
|
||||
log.info("[拉卡拉分账通知] 账户D1提现{},商户号={},分账单号={},金额={}分",
|
||||
Boolean.TRUE.equals(drawSuccess) ? "成功" : "失败", recvNo, outSeparateNo, amt);
|
||||
Boolean.TRUE.equals(drawSuccess) ? "成功" : "失败", recvNo, outSeparateNoTemp, amt);
|
||||
idx++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user