|
|
@@ -1288,6 +1288,13 @@ object BusinessManager {
|
|
|
if (isSuccess == false) {
|
|
|
LogUtil.e("Lock take report fail")
|
|
|
ToastUtils.tip(R.string.lock_take_report_fail)
|
|
|
+ if (mDeviceTakeList.any { it.deviceType == DEVICE_TYPE_LOCK && it.ticketId == info.ticketId }) {
|
|
|
+ sendLoadingEventMsg(
|
|
|
+ MyApplication.instance?.applicationContext?.getString(
|
|
|
+ R.string.take_out_lock_tip,
|
|
|
+ mDeviceTakeList.count { it.deviceType == DEVICE_TYPE_LOCK && it.ticketId == info.ticketId })
|
|
|
+ )
|
|
|
+ }
|
|
|
return@runOnMain
|
|
|
}
|
|
|
// 检查是不是要发钥匙了
|