spotless 적용
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user