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