This commit is contained in:
shoopea 2019-05-27 11:22:41 +08:00
parent c8f223a8d2
commit 467c829315

2
job.go
View File

@ -239,7 +239,7 @@ func jobPillage(j Job) {
and omx.user_id = oj.user_id and omx.user_id = oj.user_id
and omx.sender_user_id = ` + strconv.Itoa(userID64ChtWrsBot) + ` and omx.sender_user_id = ` + strconv.Itoa(userID64ChtWrsBot) + `
and omx.obj_id = ox.id and omx.obj_id = ox.id
and ox.obj_sub_type_id in (` + strconv.Itoa(objSubTypeMessagePillageGo) + `, ` + strconv.Itoa(objSubTypeMessagePillageTimeout) + ` and ox.obj_sub_type_id in (` + strconv.Itoa(objSubTypeMessagePillageGo) + `, ` + strconv.Itoa(objSubTypeMessagePillageTimeout) + `)
and op.id = ` + strconv.FormatInt(r.ObjID64, 10) + ` and op.id = ` + strconv.FormatInt(r.ObjID64, 10) + `
and omp.obj_id = op.id and omp.obj_id = op.id
and omx.date between omp.date and addtime(omp.date, '0 0:3:30.000000');`) and omx.date between omp.date and addtime(omp.date, '0 0:3:30.000000');`)