diff --git a/src/main/java/com/kamco/cd/kamcoback/postgres/repository/Inference/InferenceResultRepositoryImpl.java b/src/main/java/com/kamco/cd/kamcoback/postgres/repository/Inference/InferenceResultRepositoryImpl.java index 4e54fac5..d4948c5d 100644 --- a/src/main/java/com/kamco/cd/kamcoback/postgres/repository/Inference/InferenceResultRepositoryImpl.java +++ b/src/main/java/com/kamco/cd/kamcoback/postgres/repository/Inference/InferenceResultRepositoryImpl.java @@ -214,6 +214,9 @@ public class InferenceResultRepositoryImpl implements InferenceResultRepositoryC WHERE msl.anal_uid = :analUid AND r.after_c is not null AND r.after_p is not null + AND r.probability is not null + AND r.before_c is not null + AND r.before_p is not null ORDER BY r.uid, r.created_date DESC NULLS LAST ) x ON CONFLICT (result_uid)