This commit is contained in:
shoopea 2020-01-02 23:41:00 +08:00
parent f22c79bcd4
commit c799e68150
2 changed files with 2 additions and 2 deletions

2
sql.go
View File

@ -609,7 +609,7 @@ func initDB() {
,obj_msg obm ,obj_msg obm
,obj oi ,obj oi
,obj_msg_item omi ,obj_msg_item omi
WHERE om.obj_type_id = ` + strconv.Itoa(cacheObjType[`msg`]) + ` WHERE om.obj_type_id = ` + strconv.FormatInt(cacheObjType[`msg`], 10) + `
AND om.obj_sub_type_id in (` + strconv.FormatInt(cacheObjSubType[`msg_withdraw_rcv`], 10) + `, ` + strconv.FormatInt(cacheObjSubType[`msg_g_deposit_ack`], 10) + `) AND om.obj_sub_type_id in (` + strconv.FormatInt(cacheObjSubType[`msg_withdraw_rcv`], 10) + `, ` + strconv.FormatInt(cacheObjSubType[`msg_g_deposit_ack`], 10) + `)
AND obm.obj_id = om.id AND obm.obj_id = om.id
AND omi.obj_id = om.id AND omi.obj_id = om.id

View File

@ -438,7 +438,7 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
err = setObjSubTypeId(objId, cacheObjSubType[`msg`]) err = setObjSubTypeId(objId, cacheObjSubType[`msg`])
} else { } else {
clientMsgGoQuestAck(cwm) clientMsgGoQuestAck(cwm)
_, err = addObjQuest(uid, cwm.QuestTypeID, cwm.Duration, m.Date.UTC()) _, err = addObjQuest(uid, cwm.QuestTypeID64, cwm.Duration, m.Date.UTC())
} }
case cacheObjSubType[`msg_duel_fight`]: case cacheObjSubType[`msg_duel_fight`]:
cwm, err := parseSubTypeMessageDuelFight(m, rule.re) cwm, err := parseSubTypeMessageDuelFight(m, rule.re)