Browse Source

1.拉取订单数据总数不正确bug修复

single_db
zhenghaoyu 1 year ago
parent
commit
c90e3652c2
  1. 7
      blade-service/logpm-patch/src/main/java/com/logpm/patch/service/impl/SyncOrderInfoServiceImpl.java

7
blade-service/logpm-patch/src/main/java/com/logpm/patch/service/impl/SyncOrderInfoServiceImpl.java

@ -1247,7 +1247,12 @@ public class SyncOrderInfoServiceImpl implements ISyncOrderInfoService {
log.warn("#################saveOrderInfo: 未查询单订单信息 orderCode={}",orderCode);
throw new CustomerException(403,"未查询单订单信息");
}
Integer total = orderCountEntity.getTotal();
Integer total = 0;
List<AdvanceEntity> advanceList = advanceClient.getAdvanceList(orderCode);
for (AdvanceEntity entity : advanceList) {
total = total + entity.getTotal();
}
WayBillEntity wayBillEntity = wayBillClient.getByWayBillByAdvanceId(advanceId);

Loading…
Cancel
Save