mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-19 18:45:03 +08:00
update NPE异常
This commit is contained in:
@@ -437,6 +437,10 @@ public class JsowellTask {
|
|||||||
//更新map
|
//更新map
|
||||||
for (String orderCode : orderCodes) {
|
for (String orderCode : orderCodes) {
|
||||||
OrderBasicInfo orderBasicInfo = orderMap.get(orderCode);
|
OrderBasicInfo orderBasicInfo = orderMap.get(orderCode);
|
||||||
|
if (Objects.isNull(orderBasicInfo)) {
|
||||||
|
// log.error("未查询到订单:{}", orderCode);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
AdapayUnsplitRecord adapayUnsplitRecord = map.get(orderCode);
|
AdapayUnsplitRecord adapayUnsplitRecord = map.get(orderCode);
|
||||||
adapayUnsplitRecord.setDueRefundAmount(orderBasicInfo.getRefundAmount());
|
adapayUnsplitRecord.setDueRefundAmount(orderBasicInfo.getRefundAmount());
|
||||||
adapayUnsplitRecord.setSettleAmount(orderBasicInfo.getSettleAmount());
|
adapayUnsplitRecord.setSettleAmount(orderBasicInfo.getSettleAmount());
|
||||||
|
|||||||
Reference in New Issue
Block a user