master
lzq 2026-01-04 11:38:29 +08:00
parent ef26284c60
commit ff2c600ae7
4 changed files with 12 additions and 3 deletions

View File

@ -438,6 +438,10 @@ public class DeviceInfoService extends ServiceImpl<DeviceInfoMapper, DeviceInfoE
.build();
}
log.info("进道闸转出道闸,订单号:{}", orderInfoSn);
if (orderInfo.getCheckStatus() == CheckStatus.WeiKanLiao) {
// 播语音
playVoice(sn, cid, "{}未看料", licensePlate);
}
boolean b = orderInfoService.truckLeaving(new TruckLeavingOrderParam()
.setOrderId(orderId)
.setWeight(weight)
@ -475,6 +479,10 @@ public class DeviceInfoService extends ServiceImpl<DeviceInfoMapper, DeviceInfoE
if (SettlementWay.CASH.getTxt().equals(settlementWay)) {
playVoice(sn, cid, "{}请先支付", licensePlate);
}
if (orderInfo.getCheckStatus() == CheckStatus.WeiKanLiao) {
// 播语音
playVoice(sn, cid, "{}未看料", licensePlate);
}
boolean b = orderInfoService.truckLeaving(new TruckLeavingOrderParam()
.setOrderId(orderId)
.setWeight(weight)

View File

@ -542,6 +542,6 @@ public class OrderPagingResult {
private String stationPhone;
private Double stationLng;
private Double stationLat;
private String route;
private List<String> route;
// endregion
}

View File

@ -489,5 +489,7 @@ public class TrainBillResult {
private String stationUscc;
private String stationContacts;
private String stationPhone;
private List<String> route;
// endregion
}

View File

@ -214,10 +214,9 @@ public class OrderInfoService extends ServiceImpl<OrderInfoMapper, OrderInfoEnti
*/
public OrderPagingResult detail(Long id) {
List<String> routes = baseMapper.getRoute(id);
String route = StrUtil.join("--> ", routes);
OrderPagingResult orderPagingResult = baseMapper.detail(Wrappers.<OrderPagingResult>query()
.in("a.id", id));
orderPagingResult.setRoute(route);
orderPagingResult.setRoute(routes);
return orderPagingResult;
}