[KC-108] 모델 조회 수정
This commit is contained in:
@@ -142,6 +142,7 @@ public class ModelMngDto {
|
||||
private String clsModelFileName;
|
||||
private String clsModelVersion;
|
||||
private Double priority;
|
||||
private String recentUseDttm;
|
||||
}
|
||||
|
||||
@Schema(name = "ModelAddReq", description = "모델 등록 req")
|
||||
@@ -198,6 +199,7 @@ public class ModelMngDto {
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public static class ModelMetricAddReq {
|
||||
|
||||
private Long modelUid;
|
||||
private Long modelVerUid;
|
||||
private double f1Score;
|
||||
|
||||
@@ -89,7 +89,9 @@ public class ModelMngRepositoryImpl extends QuerydslRepositorySupport
|
||||
modelMngEntity.clsModelPath,
|
||||
modelMngEntity.clsModelFileName,
|
||||
modelMngEntity.clsModelVersion,
|
||||
modelMngEntity.priority))
|
||||
modelMngEntity.priority,
|
||||
Expressions.stringTemplate(
|
||||
"to_char({0}, 'YYYY-MM-DD')", modelMngEntity.recentUseDttm)))
|
||||
.from(modelMngEntity)
|
||||
.innerJoin(modelResultMetricEntity)
|
||||
.on(modelMngEntity.modelUid.eq(modelResultMetricEntity.modelUid))
|
||||
|
||||
Reference in New Issue
Block a user