修改面板快捷新增时的种类联动
This commit is contained in:
@@ -75,7 +75,7 @@ class RealmOperateHelper() {
|
||||
GeometryTools.createPoint(
|
||||
point.longitude,
|
||||
point.latitude
|
||||
), it
|
||||
) , it
|
||||
)
|
||||
)
|
||||
} else {
|
||||
|
||||
@@ -33,6 +33,9 @@ interface ScProblemTypeDao {
|
||||
@Query("select DISTINCT CLASS_TYPE from ScProblemType order by CLASS_TYPE")
|
||||
suspend fun findClassTypeList(): List<String>?
|
||||
|
||||
@Query("select DISTINCT CLASS_TYPE from ScProblemType where ELEMENT_CODE=:code")
|
||||
suspend fun findClassTypeByCode(code: Int): String?
|
||||
|
||||
/**
|
||||
* 获取问题类型,并去重
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user