This commit is contained in:
shoopea 2019-10-11 12:04:11 +08:00
parent 444f511acc
commit 59331a7c07

2
sql.go
View File

@ -592,7 +592,7 @@ func initDB() {
WHERE o.id = om.obj_id WHERE o.id = om.obj_id
AND o.obj_type_id = ` + strconv.Itoa(objTypeMessage) + ` AND o.obj_type_id = ` + strconv.Itoa(objTypeMessage) + `
AND o.obj_sub_type_id in (` + strconv.Itoa(objSubTypeMessageWithdrawRcv) + `, ` + strconv.Itoa(objSubTypeMessageGDepositAck) + `) AND o.obj_sub_type_id in (` + strconv.Itoa(objSubTypeMessageWithdrawRcv) + `, ` + strconv.Itoa(objSubTypeMessageGDepositAck) + `)
AND omi.obj_id = o.id) x AND omi.obj_id = o.id
ORDER BY om.sender_user_id ASC ORDER BY om.sender_user_id ASC
,omi.item_id ASC;`) ,omi.item_id ASC;`)
failOnError(err, "initDB : create view obj_msg_vault_v") failOnError(err, "initDB : create view obj_msg_vault_v")