데이터셋 태양광 조회 추가
This commit is contained in:
@@ -201,7 +201,7 @@ public class ModelTrainMngDto {
|
|||||||
private Long LandCoverCnt;
|
private Long LandCoverCnt;
|
||||||
|
|
||||||
@Schema(description = "태양광", example = "0")
|
@Schema(description = "태양광", example = "0")
|
||||||
private Long solarCnt;
|
private Long solarPanelCnt;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ public class ModelTrainMngCoreService {
|
|||||||
} else if (addReq.getModelNo().equals(ModelType.G3.getId())) {
|
} else if (addReq.getModelNo().equals(ModelType.G3.getId())) {
|
||||||
datasetEntity.setLandCoverCnt(dataset.getSummary().getLandCoverCnt());
|
datasetEntity.setLandCoverCnt(dataset.getSummary().getLandCoverCnt());
|
||||||
} else if (addReq.getModelNo().equals(ModelType.G4.getId())) {
|
} else if (addReq.getModelNo().equals(ModelType.G4.getId())) {
|
||||||
datasetEntity.setSolarCnt(dataset.getSummary().getSolarCnt());
|
datasetEntity.setSolarCnt(dataset.getSummary().getSolarPanelCnt());
|
||||||
}
|
}
|
||||||
|
|
||||||
datasetEntity.setCreatedUid(userUtil.getId());
|
datasetEntity.setCreatedUid(userUtil.getId());
|
||||||
|
|||||||
Reference in New Issue
Block a user