1、问题记录增加要素编码存储2.回传问题增加未测评判断业务

This commit is contained in:
qiji4215
2023-06-29 17:16:36 +08:00
parent b9d85640aa
commit 827e6b31b8
5 changed files with 36 additions and 17 deletions

View File

@@ -30,8 +30,8 @@ interface ScProblemTypeDao {
/**
* 获取问题分类,并去重
*/
@Query("select DISTINCT CLASS_TYPE from ScProblemType order by CLASS_TYPE")
suspend fun findClassTypeList(): List<String>?
@Query("select * from ScProblemType group by CLASS_TYPE")
suspend fun findClassTypeList(): List<ScProblemTypeBean>?
@Query("select DISTINCT CLASS_TYPE from ScProblemType where ELEMENT_CODE=:code")
suspend fun findClassTypeByCode(code: Int): String?