geom 테이블 등록시 after만 not null 조건 보는걸로 수정

This commit is contained in:
2026-01-21 15:41:02 +09:00
parent ea9d474104
commit 451c912e86

View File

@@ -212,8 +212,6 @@ public class InferenceResultRepositoryImpl implements InferenceResultRepositoryC
AND r.map_id ~ '^[0-9]+$'
AND r.map_id::bigint = msadi.map_sheet_num
WHERE msl.anal_uid = :analUid
AND r.before_c is not null
AND r.before_p is not null
AND r.after_c is not null
AND r.after_p is not null
ORDER BY r.uid, r.created_date DESC NULLS LAST
@@ -279,8 +277,8 @@ public class InferenceResultRepositoryImpl implements InferenceResultRepositoryC
INNER JOIN tb_map_sheet_anal_data_inference_geom msadig
ON msadi.data_uid = msadig.data_uid
WHERE msai.anal_uid = :analUid
AND msadig.class_before_cd IS NOT NULL
AND msadig.class_after_cd IS NOT NULL
AND msadig.class_after_prob IS NOT NULL
GROUP BY
msadig.compare_yyyy
,msadig.target_yyyy