spotless 적용

This commit is contained in:
2026-01-05 10:17:24 +09:00
parent 4cea4bb2ed
commit 829cb510e3
3 changed files with 81 additions and 84 deletions

View File

@@ -45,12 +45,9 @@ public class LabelWorkerApiController {
})
@GetMapping("/label-work-mng-list")
public ApiResponseDto<Page<LabelWorkMng>> labelWorkMngList(
@Schema(description = "변화탐지년도", example = "2024")
Integer detectYyyy,
@Schema(description = "시작", example = "20260101")
String strtDttm,
@Schema(description = "종료일", example = "20261201")
String endDttm,
@Schema(description = "변화탐지년도", example = "2024") Integer detectYyyy,
@Schema(description = "시작일", example = "20260101") String strtDttm,
@Schema(description = "종료", example = "20261201") String endDttm,
@Parameter(description = "페이지 번호 (0부터 시작)", example = "0") @RequestParam(defaultValue = "0")
int page,
@Parameter(description = "페이지 크기", example = "20") @RequestParam(defaultValue = "20")

View File

@@ -25,8 +25,13 @@ import org.hibernate.type.SqlTypes;
public class MapSheetAnalInferenceEntity {
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "tb_map_sheet_anal_inference_id_gen")
@SequenceGenerator(name = "tb_map_sheet_anal_inference_id_gen", sequenceName = "tb_map_sheet_anal_inference_uid", allocationSize = 1)
@GeneratedValue(
strategy = GenerationType.SEQUENCE,
generator = "tb_map_sheet_anal_inference_id_gen")
@SequenceGenerator(
name = "tb_map_sheet_anal_inference_id_gen",
sequenceName = "tb_map_sheet_anal_inference_uid",
allocationSize = 1)
@Column(name = "anal_uid", nullable = false)
private Long id;
@@ -144,5 +149,4 @@ public class MapSheetAnalInferenceEntity {
@Column(name = "stage")
private Integer stage;
}

View File

@@ -17,18 +17,13 @@ public class InferenceResultRepositoryImpl implements InferenceResultRepositoryC
private final JPAQueryFactory queryFactory;
@PersistenceContext
private final EntityManager em;
@PersistenceContext private final EntityManager em;
/**
* tb_map_sheet_anal_data_inference
*/
/** tb_map_sheet_anal_data_inference */
private final QMapSheetAnalDataInferenceEntity inferenceEntity =
QMapSheetAnalDataInferenceEntity.mapSheetAnalDataInferenceEntity;
/**
* tb_map_sheet_anal_data_inference_geom
*/
/** tb_map_sheet_anal_data_inference_geom */
private final QMapSheetAnalDataInferenceGeomEntity inferenceGeomEntity =
QMapSheetAnalDataInferenceGeomEntity.mapSheetAnalDataInferenceGeomEntity;
@@ -60,7 +55,8 @@ public class InferenceResultRepositoryImpl implements InferenceResultRepositoryC
}
/**
* inference_results 테이블을 기준으로 분석 데이터 단위(stage, compare_yyyy, target_yyyy, map_sheet_num)를 생성/갱신한다.
* inference_results 테이블을 기준으로 분석 데이터 단위(stage, compare_yyyy, target_yyyy, map_sheet_num)를
* 생성/갱신한다.
*
* <p>- 최초 생성 시 file_created_yn = false - detecting_cnt는 inference_results 건수 기준
*