mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 16:22:41 +09:00
Fix #936 always show messages to/from deleted members
- 탈퇴환 회원과 주고받은 쪽지도 표시하도록 변경 - 탈퇴환 회원의 원래 닉네임이 기록되지 않는 구조이므로 수신자/발신자 이름에 닉네임 대신 "탈퇴한 회원"이라고만 표시
This commit is contained in:
parent
3c34e26cb7
commit
a2c9274681
9 changed files with 59 additions and 14 deletions
|
|
@ -1,7 +1,6 @@
|
|||
<query id="getNewMessageCount" action="select">
|
||||
<tables>
|
||||
<table name="member_message" alias="message" />
|
||||
<table name="member" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="count(*)" alias="count" />
|
||||
|
|
@ -9,7 +8,6 @@
|
|||
<conditions>
|
||||
<condition operation="equal" column="message.receiver_srl" var="receiver_srl" notnull="notnull" />
|
||||
<condition operation="equal" column="message.readed" var="readed" default="N" notnull="notnull" pipe="and" />
|
||||
<condition operation="equal" column="message.sender_srl" var="member.member_srl" pipe="and" />
|
||||
<condition operation="equal" column="message.message_type" var="message_type" default="R" pipe="and" />
|
||||
</conditions>
|
||||
</query>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue