[charter]
[判空处理]
This commit is contained in:
yangyakun
2023-10-11 20:11:22 +08:00
parent 5fcd44f139
commit fe0865df99

View File

@@ -1147,10 +1147,12 @@ object CharterPassengerModel {
fun sendTripInfo() {
//发送前后屏出站消息 3代表出站
orderInfo?.let {
CharterSendTripInfoManager.sendCharterTripInfo(
LEAVE_STATION,
it.lineName!!, it.startSiteName!!, it.siteName!!, false
)
if(!it.lineName.isNullOrEmpty()&&!it.startSiteName.isNullOrEmpty()&&!it.siteName.isNullOrEmpty()) {
CharterSendTripInfoManager.sendCharterTripInfo(
LEAVE_STATION,
it.lineName, it.startSiteName!!, it.siteName!!, false
)
}
}
}