mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
알림 기능 구현FCM은 테스트 완료
This commit is contained in:
parent
07e28b4ef9
commit
347152e163
9 changed files with 127 additions and 55 deletions
10
modules/member/queries/deleteMemberDevice.xml
Normal file
10
modules/member/queries/deleteMemberDevice.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<query id="deleteMemberDevice" action="delete">
|
||||
<tables>
|
||||
<table name="member_devices" />
|
||||
</tables>
|
||||
<conditions>
|
||||
<condition operation="in" column="device_srl" var="device_srl" />
|
||||
<condition operation="in" column="member_srl" var="member_srl" pipe="and" />
|
||||
<condition operation="in" column="device_token" var="device_token" pipe="and" />
|
||||
</conditions>
|
||||
</query>
|
||||
11
modules/member/queries/updateMemberDevice.xml
Normal file
11
modules/member/queries/updateMemberDevice.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<query id="updateMemberDevice" action="update">
|
||||
<tables>
|
||||
<table name="member_devices" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="device_token" var="new_token" notnull="notnull" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="device_token" var="old_token" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue