spotless 적용

This commit is contained in:
2026-01-16 15:10:11 +09:00
parent 1acadc4626
commit 3367214929

View File

@@ -246,6 +246,7 @@ public class InferenceResultCoreService {
*
* @param request 추론 실행 정보
*/
@Transactional
public void update(SaveInferenceAiDto request) {
MapSheetLearnEntity entity =
mapSheetLearnRepository
@@ -272,8 +273,7 @@ public class InferenceResultCoreService {
private void applyModelUpdate(MapSheetLearnEntity entity, SaveInferenceAiDto request) {
switch (request.getType()) {
case "M1" ->
applyModelFields(
case "M1" -> applyModelFields(
request,
entity::setM1ModelBatchId,
entity::setM1ModelStartDttm,
@@ -282,8 +282,7 @@ public class InferenceResultCoreService {
entity::setM1RunningJobs,
entity::setM1CompletedJobs,
entity::setM1FailedJobs);
case "M2" ->
applyModelFields(
case "M2" -> applyModelFields(
request,
entity::setM2ModelBatchId,
entity::setM2ModelStartDttm,
@@ -292,8 +291,7 @@ public class InferenceResultCoreService {
entity::setM2RunningJobs,
entity::setM2CompletedJobs,
entity::setM2FailedJobs);
case "M3" ->
applyModelFields(
case "M3" -> applyModelFields(
request,
entity::setM3ModelBatchId,
entity::setM3ModelStartDttm,
@@ -420,6 +418,7 @@ public class InferenceResultCoreService {
*
* @param id learn 테이블 id
*/
@Transactional
public void upsertGeomData(Long id) {
Long analId = inferenceResultRepository.upsertGroupsFromMapSheetAnal(id);
inferenceResultRepository.upsertGroupsFromInferenceResults(analId);
@@ -434,6 +433,7 @@ public class InferenceResultCoreService {
* @param failMapIds 실패한 도엽 목록
* @param type 모델타입
*/
@Transactional
public void saveFail5k(UUID uuid, List<Long> failMapIds, String type) {
mapSheetLearn5kRepository.saveFail5k(uuid, failMapIds, type);
}