mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
Fix #1283 do not show comments on secret documents in integration search
This commit is contained in:
parent
49a1c52913
commit
f1c15ab1e1
6 changed files with 29 additions and 25 deletions
|
|
@ -1,14 +1,16 @@
|
|||
<query id="getTotalCommentListWithinMember" action="select">
|
||||
<tables>
|
||||
<table name="comments" alias="comments" />
|
||||
<table name="member" alias="member" />
|
||||
<table name="comments" />
|
||||
<table name="documents" />
|
||||
<table name="member" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="comments.*" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="member.user_id" var="s_user_id" notnull="notnull" />
|
||||
<condition operation="equal" column="documents.document_srl" var="comments.document_srl" notnull="notnull" />
|
||||
<condition operation="equal" column="member.member_srl" var="comments.member_srl" notnull="notnull" pipe="and" />
|
||||
<condition operation="equal" column="member.user_id" var="s_user_id" notnull="notnull" pipe="and" />
|
||||
<condition operation="equal" column="comments.is_secret" var="s_is_secret" pipe="and" />
|
||||
<condition operation="equal" column="comments.status" var="s_is_published" pipe="and" />
|
||||
<condition operation="in" column="comments.status" var="statusList" pipe="and" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue