适应新数据格式
This commit is contained in:
@@ -20,7 +20,7 @@ import io.ktor.server.application.*
|
||||
import io.ktor.server.tomcat.jakarta.*
|
||||
|
||||
|
||||
//const val VIDEO_INPUT_PATH = "/tmp/"
|
||||
//const val VIDEO_INPUT_PATH = "./tmp/"
|
||||
const val VIDEO_INPUT_PATH = "C:/tmp/"
|
||||
|
||||
/**
|
||||
|
||||
@@ -33,7 +33,7 @@ object ImageDao {
|
||||
fun getImageList(name: String): List<ImageAnalyticsRequest> {
|
||||
return transaction {
|
||||
ScaImagesTable.selectAll()
|
||||
.where { ScaImagesTable.name like "%$name%" }
|
||||
.where { ScaImagesTable.name like "%用例$name%" }
|
||||
.orderBy(ScaImagesTable.upload_datetime, SortOrder.DESC)
|
||||
.map {
|
||||
ImageAnalyticsRequest(
|
||||
|
||||
Reference in New Issue
Block a user