瀏覽代碼

Merge branch 'master' into wzbs

Frankensteinly 6 月之前
父節點
當前提交
d43031d63a
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      app/src/main/java/com/grkj/iscs/BusinessManager.kt

+ 4 - 0
app/src/main/java/com/grkj/iscs/BusinessManager.kt

@@ -1022,6 +1022,10 @@ object BusinessManager {
             if (!lockList.isNullOrEmpty()) {
                 bo.lockList = mutableListOf()
                 lockList.forEachIndexed { index, s ->
+                    if (s.isNullOrEmpty()) {
+                        LogUtil.w("Lock nfc is null or empty")
+                        return@forEachIndexed
+                    }
                     bo.lockList?.add(LockListBO(index + 1, s))
                 }
             }