From 278620f7262041f2cd0f3836c24d4e7ece901350 Mon Sep 17 00:00:00 2001 From: Xiao Peng Date: Wed, 18 Sep 2024 21:38:37 -0700 Subject: [PATCH] fix: fix query --- .../ca/bc/gov/oracleapi/repository/ParentTreeRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oracle-api/src/main/java/ca/bc/gov/oracleapi/repository/ParentTreeRepository.java b/oracle-api/src/main/java/ca/bc/gov/oracleapi/repository/ParentTreeRepository.java index bbf24b7d2..250cabd7b 100644 --- a/oracle-api/src/main/java/ca/bc/gov/oracleapi/repository/ParentTreeRepository.java +++ b/oracle-api/src/main/java/ca/bc/gov/oracleapi/repository/ParentTreeRepository.java @@ -62,7 +62,7 @@ genetic_quality_data AS ( LEFT JOIN seed_plan_unit_data spud ON spud.parent_tree_id = fpt.PARENT_TREE_ID LEFT JOIN genetic_quality_data gqd ON gqd.parent_tree_id = fpt.PARENT_TREE_ID AND gqd.seed_plan_unit_id = spud.SEED_PLAN_UNIT_ID - ORDER BY fpt.PARENT_TREE_ID; + ORDER BY fpt.PARENT_TREE_ID """, nativeQuery = true) List findAllParentTreeWithVegCode(String vegCode);