fix obj_msg_vault_v

This commit is contained in:
shoopea 2019-10-11 15:05:34 +08:00
parent cebde84271
commit 2c5afba2de

2
sql.go
View File

@ -596,7 +596,7 @@ func initDB() {
WHERE om.obj_type_id = ` + strconv.Itoa(objTypeMessage) + ` WHERE om.obj_type_id = ` + strconv.Itoa(objTypeMessage) + `
AND om.obj_sub_type_id in (` + strconv.Itoa(objSubTypeMessageWithdrawRcv) + `, ` + strconv.Itoa(objSubTypeMessageGDepositAck) + `) AND om.obj_sub_type_id in (` + strconv.Itoa(objSubTypeMessageWithdrawRcv) + `, ` + strconv.Itoa(objSubTypeMessageGDepositAck) + `)
AND obm.obj_id = om.id AND obm.obj_id = om.id
AND omi.obj_id = o.id AND omi.obj_id = om.id
AND oi.id = omi.item_id AND oi.id = omi.item_id
ORDER BY om.sender_user_id ASC ORDER BY om.sender_user_id ASC
,omi.item_id ASC;`) ,omi.item_id ASC;`)