Skip to content
Snippets Groups Projects
Commit edb6875c authored by tpylak's avatar tpylak
Browse files

fix: filter Analysis Procedures better

SVN: 23009
parent 49b4bd8b
No related merge requests found
...@@ -319,7 +319,7 @@ public interface IScreeningQuery extends BaseQuery ...@@ -319,7 +319,7 @@ public interface IScreeningQuery extends BaseQuery
final static String AT_LEAST_ONE_WELL_EXISTS = "EXISTS (select wells.id " final static String AT_LEAST_ONE_WELL_EXISTS = "EXISTS (select wells.id "
+ " from samples wells " + " from samples wells "
+ " join samples plates on wells.samp_id_part_of = plates.id " + " join samples plates on wells.samp_id_part_of = plates.id "
+ " where plates.expe_id = exp.id) "; + " where plates.id = data.samp_id) ";
@Select(sql = ANALYSIS_PROCEDURE_SELECT + " and " + AT_LEAST_ONE_WELL_EXISTS) @Select(sql = ANALYSIS_PROCEDURE_SELECT + " and " + AT_LEAST_ONE_WELL_EXISTS)
public List<AnalysisProcedureResult> listAllAnalysisProcedures(); public List<AnalysisProcedureResult> listAllAnalysisProcedures();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment