Merge pull request 'feat/infer_dev_260211' (#91) from feat/infer_dev_260211 into develop

Reviewed-on: #91
This commit was merged in pull request #91.
This commit is contained in:
2026-02-24 18:00:55 +09:00
7 changed files with 21 additions and 27 deletions

View File

@@ -142,8 +142,8 @@ public class MapLayerRepositoryImpl implements MapLayerRepositoryCustom {
Projections.constructor( Projections.constructor(
LayerDto.TileUrlDto.class, LayerDto.TileUrlDto.class,
mapSheetMngTileEntity.mngYyyy, mapSheetMngTileEntity.mngYyyy,
mapSheetMngTileEntity.tag,
mapSheetMngTileEntity.url, mapSheetMngTileEntity.url,
mapSheetMngTileEntity.tag,
mapSheetMngTileEntity.minLon, mapSheetMngTileEntity.minLon,
mapSheetMngTileEntity.minLat, mapSheetMngTileEntity.minLat,
mapSheetMngTileEntity.maxLon, mapSheetMngTileEntity.maxLon,
@@ -168,8 +168,8 @@ public class MapLayerRepositoryImpl implements MapLayerRepositoryCustom {
Projections.constructor( Projections.constructor(
LayerDto.TileUrlDto.class, LayerDto.TileUrlDto.class,
mapSheetMngTileEntity.mngYyyy, mapSheetMngTileEntity.mngYyyy,
mapSheetMngTileEntity.tag,
mapSheetMngTileEntity.url, mapSheetMngTileEntity.url,
mapSheetMngTileEntity.tag,
mapSheetMngTileEntity.minLon, mapSheetMngTileEntity.minLon,
mapSheetMngTileEntity.minLat, mapSheetMngTileEntity.minLat,
mapSheetMngTileEntity.maxLon, mapSheetMngTileEntity.maxLon,
@@ -202,8 +202,8 @@ public class MapLayerRepositoryImpl implements MapLayerRepositoryCustom {
Projections.constructor( Projections.constructor(
LayerDto.TileUrlDto.class, LayerDto.TileUrlDto.class,
mapSheetMngTileEntity.mngYyyy, mapSheetMngTileEntity.mngYyyy,
mapSheetMngTileEntity.tag,
mapSheetMngTileEntity.url, mapSheetMngTileEntity.url,
mapSheetMngTileEntity.tag,
mapSheetMngTileEntity.minLon, mapSheetMngTileEntity.minLon,
mapSheetMngTileEntity.minLat, mapSheetMngTileEntity.minLat,
mapSheetMngTileEntity.maxLon, mapSheetMngTileEntity.maxLon,

View File

@@ -9,7 +9,6 @@ import java.util.List;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.extern.log4j.Log4j2; import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
@Log4j2 @Log4j2
@@ -32,16 +31,16 @@ public class GukYuinApiLabelJobService {
return "local".equalsIgnoreCase(profile); return "local".equalsIgnoreCase(profile);
} }
@Scheduled(cron = "0 0 2 * * *") // @Scheduled(cron = "0 0 2 * * *")
public void runTask() { public void runTask() {
findLabelingCompleteSend(null); findLabelingCompleteSend(null);
} }
/** 어제 라벨링 검수 완료된 것 -> 국유인에 전송 */ /** 어제 라벨링 검수 완료된 것 -> 국유인에 전송 */
public void findLabelingCompleteSend(LocalDate baseDate) { public void findLabelingCompleteSend(LocalDate baseDate) {
if (isLocalProfile()) { // if (isLocalProfile()) {
return; // return;
} // }
List<GeomUidDto> list = gukYuinLabelJobCoreService.findYesterdayLabelingCompleteList(baseDate); List<GeomUidDto> list = gukYuinLabelJobCoreService.findYesterdayLabelingCompleteList(baseDate);
if (list.isEmpty()) { if (list.isEmpty()) {

View File

@@ -12,7 +12,6 @@ import java.util.List;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.extern.log4j.Log4j2; import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
@Log4j2 @Log4j2
@@ -36,11 +35,11 @@ public class GukYuinApiPnuJobService {
} }
/** 국유인 등록 완료 후, 탐지객체 조회해서 PNU 업데이트 하는 스케줄링 하루 1번 새벽 1시에 실행 */ /** 국유인 등록 완료 후, 탐지객체 조회해서 PNU 업데이트 하는 스케줄링 하루 1번 새벽 1시에 실행 */
@Scheduled(cron = "0 0 1 * * *") // @Scheduled(cron = "0 0 1 * * *")
public void findGukYuinContListPnuUpdate() { public void findGukYuinContListPnuUpdate() {
if (isLocalProfile()) { // if (isLocalProfile()) {
return; // return;
} // }
List<LearnKeyDto> list = List<LearnKeyDto> list =
gukYuinPnuJobCoreService.findGukyuinApplyStatusUidList( gukYuinPnuJobCoreService.findGukyuinApplyStatusUidList(

View File

@@ -9,7 +9,6 @@ import java.util.List;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.extern.log4j.Log4j2; import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
@Log4j2 @Log4j2
@@ -33,11 +32,11 @@ public class GukYuinApiStatusJobService {
} }
/** 국유인 연동 후, 100% 되었는지 확인하는 스케줄링 매 10분마다 호출 */ /** 국유인 연동 후, 100% 되었는지 확인하는 스케줄링 매 10분마다 호출 */
@Scheduled(cron = "0 0/10 * * * *") // @Scheduled(cron = "0 0/10 * * * *")
public void findGukYuinMastCompleteYn() { public void findGukYuinMastCompleteYn() {
if (isLocalProfile()) { // if (isLocalProfile()) {
return; // return;
} // }
List<LearnKeyDto> list = List<LearnKeyDto> list =
gukYuinJobCoreService.findGukyuinApplyStatusUidList( gukYuinJobCoreService.findGukyuinApplyStatusUidList(

View File

@@ -16,7 +16,6 @@ import java.util.stream.Collectors;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.extern.log4j.Log4j2; import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
@Log4j2 @Log4j2
@@ -39,16 +38,16 @@ public class GukYuinApiStbltJobService {
return "local".equalsIgnoreCase(profile); return "local".equalsIgnoreCase(profile);
} }
@Scheduled(cron = "0 0 3 * * *") // @Scheduled(cron = "0 0 3 * * *")
public void runTask() { public void runTask() {
findGukYuinEligibleForSurvey(null); findGukYuinEligibleForSurvey(null);
} }
/** 국유인 연동 후, 실태조사 적합여부 확인하여 update */ /** 국유인 연동 후, 실태조사 적합여부 확인하여 update */
public void findGukYuinEligibleForSurvey(LocalDate baseDate) { public void findGukYuinEligibleForSurvey(LocalDate baseDate) {
if (isLocalProfile()) { // if (isLocalProfile()) {
return; // return;
} // }
List<LearnKeyDto> list = List<LearnKeyDto> list =
gukYuinStbltJobCoreService.findGukYuinEligibleForSurveyList( gukYuinStbltJobCoreService.findGukYuinEligibleForSurveyList(

View File

@@ -15,7 +15,6 @@ import lombok.RequiredArgsConstructor;
import lombok.extern.log4j.Log4j2; import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContext;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
@Log4j2 @Log4j2
@@ -33,7 +32,7 @@ public class TrainingDataLabelJobService {
return "local".equalsIgnoreCase(profile); return "local".equalsIgnoreCase(profile);
} }
@Scheduled(cron = "0 0 0 * * *") // @Scheduled(cron = "0 0 0 * * *")
public void runTask() { public void runTask() {
// 프록시를 통해 호출해야 @Transactional이 적용됨 // 프록시를 통해 호출해야 @Transactional이 적용됨
applicationContext applicationContext

View File

@@ -19,7 +19,6 @@ import java.util.Objects;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.extern.log4j.Log4j2; import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
@Log4j2 @Log4j2
@@ -40,7 +39,7 @@ public class TrainingDataReviewJobService {
} }
@Transactional @Transactional
@Scheduled(cron = "0 0 2 * * *") // @Scheduled(cron = "0 0 2 * * *")
public void runTask() { public void runTask() {
exportGeojsonLabelingGeom(null); exportGeojsonLabelingGeom(null);
} }