Compare commits
2 Commits
3da4b73c59
...
98e3c35d9a
| Author | SHA1 | Date | |
|---|---|---|---|
| 98e3c35d9a | |||
| d48e96ba82 |
@@ -142,6 +142,9 @@ public class ModelTrainDetailDto {
|
|||||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||||
private Long landCoverCnt;
|
private Long landCoverCnt;
|
||||||
|
|
||||||
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||||
|
private Long solarPanelCnt;
|
||||||
|
|
||||||
public MappingDataset(
|
public MappingDataset(
|
||||||
Long modelId,
|
Long modelId,
|
||||||
Long datasetId,
|
Long datasetId,
|
||||||
@@ -152,7 +155,8 @@ public class ModelTrainDetailDto {
|
|||||||
Long buildingCnt,
|
Long buildingCnt,
|
||||||
Long containerCnt,
|
Long containerCnt,
|
||||||
Long wasteCnt,
|
Long wasteCnt,
|
||||||
Long landCoverCnt) {
|
Long landCoverCnt,
|
||||||
|
Long solarPanelCnt) {
|
||||||
this.modelId = modelId;
|
this.modelId = modelId;
|
||||||
this.datasetId = datasetId;
|
this.datasetId = datasetId;
|
||||||
this.dataType = dataType;
|
this.dataType = dataType;
|
||||||
@@ -163,6 +167,7 @@ public class ModelTrainDetailDto {
|
|||||||
this.containerCnt = containerCnt;
|
this.containerCnt = containerCnt;
|
||||||
this.wasteCnt = wasteCnt;
|
this.wasteCnt = wasteCnt;
|
||||||
this.landCoverCnt = landCoverCnt;
|
this.landCoverCnt = landCoverCnt;
|
||||||
|
this.solarPanelCnt = solarPanelCnt;
|
||||||
this.dataTypeName = getDataTypeName(this.dataType);
|
this.dataTypeName = getDataTypeName(this.dataType);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -157,7 +157,8 @@ public class ModelDetailRepositoryImpl implements ModelDetailRepositoryCustom {
|
|||||||
modelDatasetEntity.buildingCnt,
|
modelDatasetEntity.buildingCnt,
|
||||||
modelDatasetEntity.containerCnt,
|
modelDatasetEntity.containerCnt,
|
||||||
modelDatasetEntity.wasteCnt,
|
modelDatasetEntity.wasteCnt,
|
||||||
modelDatasetEntity.landCoverCnt))
|
modelDatasetEntity.landCoverCnt,
|
||||||
|
modelDatasetEntity.solarCnt))
|
||||||
.from(modelMasterEntity)
|
.from(modelMasterEntity)
|
||||||
.innerJoin(modelDatasetEntity)
|
.innerJoin(modelDatasetEntity)
|
||||||
.on(modelMasterEntity.id.eq(modelDatasetEntity.model.id))
|
.on(modelMasterEntity.id.eq(modelDatasetEntity.model.id))
|
||||||
|
|||||||
Reference in New Issue
Block a user