bai пре 4 година
родитељ
комит
88c21eb221
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      demo/src/main/java/com/framework/mvvm/model/repository/AdmRepository.kt

+ 4 - 0
demo/src/main/java/com/framework/mvvm/model/repository/AdmRepository.kt

@@ -543,6 +543,10 @@ class AdmRepository(
                         it.state = 2
                         it.state = 2
                         problemEquipDao.insProblem(it)
                         problemEquipDao.insProblem(it)
                     }
                     }
+                    areas.forEach {
+                        it.state = 2
+                        serveAreaDao.insertArea(it)
+                    }
                 }
                 }
             }
             }
         } catch (e: Exception) {
         } catch (e: Exception) {