|
|
@@ -2049,11 +2049,7 @@ public class WaybillOrderService {
|
|
|
.collect(Collectors.toMap(KwtLogisticsOrderAddress::getLOrderId, Function.identity(), (x, y) -> x));
|
|
|
|
|
|
// 6.门卫
|
|
|
- //当天开始时间
|
|
|
- Date startOfDay = DateUtils.getStartOfDay(param.getOneDayTime(), DateUtils.DATE_TIME_PATTERN);
|
|
|
- //当天结算时间
|
|
|
- Date endOfDay = DateUtils.getEndOfDay(param.getOneDayTime());
|
|
|
- List<KwtGatekeeperWaybillOrder> gatekeepers = gatekeeperWaybillOrderRepository.queryGatekeeperByWaybillOrders(param.getEntId(), lOrderIds, Global.ADDRESS_LOAD, startOfDay, endOfDay);
|
|
|
+ List<KwtGatekeeperWaybillOrder> gatekeepers = gatekeeperWaybillOrderRepository.queryGatekeeperByWaybillOrders(param.getEntId(), lOrderIds, Global.ADDRESS_LOAD, param.getStartTime(), param.getEntTime());
|
|
|
if (CollectionUtils.isEmpty(gatekeepers)) {
|
|
|
return new ArrayList<>();
|
|
|
}
|
|
|
@@ -2371,11 +2367,7 @@ public class WaybillOrderService {
|
|
|
.collect(Collectors.toMap(KwtLogisticsOrder::getId, Function.identity(), (x, y) -> x));
|
|
|
|
|
|
// 3.门卫
|
|
|
- //当天开始时间
|
|
|
- Date startOfDay = DateUtils.getStartOfDay(param.getOneDayTime(), DateUtils.DATE_TIME_PATTERN);
|
|
|
- //当天结算时间
|
|
|
- Date endOfDay = DateUtils.getEndOfDay(param.getOneDayTime());
|
|
|
- List<KwtGatekeeperWaybillOrder> gatekeepeSeconds = gatekeeperWaybillOrderRepository.queryGatekeeperByWaybillOrders(mockEntIds, lOrderIds, Global.ADDRESS_UNLOAD, startOfDay, endOfDay);
|
|
|
+ List<KwtGatekeeperWaybillOrder> gatekeepeSeconds = gatekeeperWaybillOrderRepository.queryGatekeeperByWaybillOrders(mockEntIds, lOrderIds, Global.ADDRESS_UNLOAD, param.getStartTime(), param.getEntTime());
|
|
|
if (CollectionUtils.isEmpty(gatekeepeSeconds)) {
|
|
|
return Collections.emptyList();
|
|
|
}
|