Quellcode durchsuchen

运单列表返回对应的门卫id数据

donglang vor 2 Tagen
Ursprung
Commit
3d0b46c36f

+ 2 - 2
sckw-modules/sckw-transport/src/main/java/com/sckw/transport/service/KwtWaybillOrderV1Service.java

@@ -3225,9 +3225,9 @@ public class KwtWaybillOrderV1Service {
         List<KwtGatekeeperWaybillOrder> gatekeeperList = gatekeeperWaybillOrderRepository.queryGatekeeperWaybillOrderByWOrderIds(wOrderId);
 
         if (CollectionUtils.isNotEmpty(gatekeeperList)) {
-            gatekeeperMap = gatekeeperList.stream()
-                    .collect(Collectors.groupingBy(KwtGatekeeperWaybillOrder::getWOrderId));
+            gatekeeperMap = gatekeeperList.stream().collect(Collectors.groupingBy(KwtGatekeeperWaybillOrder::getWOrderId));
         }
+        log.info("门卫订单查询完成,result: {}", JSON.toJSONString(gatekeeperList));
 
         // 转换为响应对象
         log.debug("开始转换为响应对象");