mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Change some other instances of problematic GROUP BY into SELECT DISTINCT
This commit is contained in:
parent
b43fbc0ace
commit
0873b371a1
8 changed files with 17 additions and 45 deletions
|
|
@ -4,7 +4,7 @@
|
|||
<table name="document_declared" />
|
||||
<table name="document_declared_log" />
|
||||
</tables>
|
||||
<columns>
|
||||
<columns distinct="distinct">
|
||||
<column name="document_declared_log.document_srl" />
|
||||
<column name="count(*)" alias="declared_count" />
|
||||
<column name="max(document_declared_log.regdate)" alias="latest_declared" />
|
||||
|
|
@ -15,9 +15,6 @@
|
|||
<condition operation="more" column="document_declared.declared_count" default="1" pipe="and" />
|
||||
<condition operation="in" column="document_declared_log.document_srl" var="document_srls" pipe="and" />
|
||||
</conditions>
|
||||
<groups>
|
||||
<group column="document_declared_log.document_srl" />
|
||||
</groups>
|
||||
<navigation>
|
||||
<index var="sort_index" default="latest_declared" order="order_type" />
|
||||
<list_count var="list_count" default="20" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue