geom 테이블 등록시 after만 not null 조건 보는걸로 수정
This commit is contained in:
@@ -212,8 +212,6 @@ public class InferenceResultRepositoryImpl implements InferenceResultRepositoryC
|
|||||||
AND r.map_id ~ '^[0-9]+$'
|
AND r.map_id ~ '^[0-9]+$'
|
||||||
AND r.map_id::bigint = msadi.map_sheet_num
|
AND r.map_id::bigint = msadi.map_sheet_num
|
||||||
WHERE msl.anal_uid = :analUid
|
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_c is not null
|
||||||
AND r.after_p is not null
|
AND r.after_p is not null
|
||||||
ORDER BY r.uid, r.created_date DESC NULLS LAST
|
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
|
INNER JOIN tb_map_sheet_anal_data_inference_geom msadig
|
||||||
ON msadi.data_uid = msadig.data_uid
|
ON msadi.data_uid = msadig.data_uid
|
||||||
WHERE msai.anal_uid = :analUid
|
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_cd IS NOT NULL
|
||||||
|
AND msadig.class_after_prob IS NOT NULL
|
||||||
GROUP BY
|
GROUP BY
|
||||||
msadig.compare_yyyy
|
msadig.compare_yyyy
|
||||||
,msadig.target_yyyy
|
,msadig.target_yyyy
|
||||||
|
|||||||
Reference in New Issue
Block a user