MNT-22485: added missing tables to query (#1547)

This commit is contained in:
Vítor Moreira
2022-11-10 13:53:22 +00:00
committed by GitHub
parent fd2f793722
commit 7f6bd86b0c

View File

@@ -302,9 +302,15 @@
<select id="select_CountAuditEntryIdWithWhereClause" parameterMap="parameter_AuditAppId_WhereClauseMap" resultType="int"> <select id="select_CountAuditEntryIdWithWhereClause" parameterMap="parameter_AuditAppId_WhereClauseMap" resultType="int">
select select
COUNT(id) COUNT(entry.id)
from from
alf_audit_entry as entry alf_audit_entry as entry
<if test="auditAppNameId != null">
join alf_audit_app app on (entry.audit_app_id = app.id)
</if>
<if test="keyOrValueSearch == true">
join alf_prop_link sp_pl on (sp_pl.root_prop_id = entry.audit_values_id)
</if>
<include refid="select_AuditEntriesWhereSnippet"/> <include refid="select_AuditEntriesWhereSnippet"/>
</select> </select>