mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
FIX: append extraWhere to join
This commit is contained in:
@@ -65,6 +65,6 @@ public class TestViewBaseEntity extends BaseTestCase {
|
||||
assertThat(details).isNotEmpty();
|
||||
}
|
||||
|
||||
assertThat(query.getGeneratedSql()).contains("from order_agg_vw t0 left join o_order t1 on t1.id = t0.order_id left join o_customer t3 on t3.id = t1.kcustomer_id left join o_order_detail t2 on t2.order_id = t1.id where t2.id > 0 and t0.order_total > ?");
|
||||
assertThat(query.getGeneratedSql()).contains("from order_agg_vw t0 left join o_order t1 on t1.id = t0.order_id left join o_customer t3 on t3.id = t1.kcustomer_id left join o_order_detail t2 on t2.order_id = t1.id and t2.id > 0 where t0.order_total > ?");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user