spotless 적용

This commit is contained in:
2026-01-05 10:17:52 +09:00
parent 829cb510e3
commit 6a77d0f447

View File

@@ -35,20 +35,19 @@ public class InferenceResultRepositoryImpl implements InferenceResultRepositoryC
public int upsertGroupsFromMapSheetAnal() { public int upsertGroupsFromMapSheetAnal() {
String sql = String sql =
""" """
INSERT INTO tb_map_sheet_anal_inference (
INSERT INTO tb_map_sheet_anal_inference ( compare_yyyy,
compare_yyyy, target_yyyy,
target_yyyy, stage,
stage, anal_title
anal_title )
) SELECT
SELECT r.input1 AS compare_yyyy,
r.input1 AS compare_yyyy, r.input2 AS target_yyyy,
r.input2 AS target_yyyy, r.stage,
r.stage, CONCAT(r.stage ,'_', r.input1 ,'_', r.input2) AS anal_title
CONCAT(r.stage ,'_', r.input1 ,'_', r.input2) AS anal_title FROM inference_results r
FROM inference_results r GROUP BY r.stage, r.input1, r.input2;
GROUP BY r.stage, r.input1, r.input2;
"""; """;
return em.createNativeQuery(sql).executeUpdate(); return em.createNativeQuery(sql).executeUpdate();