From 48cc10b052bd57da8b80dab70229865d86e59fb9 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 1 Feb 2020 19:24:44 +0800 Subject: [PATCH] test --- job.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/job.go b/job.go index ef73e37..f6604ca 100644 --- a/job.go +++ b/job.go @@ -1339,7 +1339,8 @@ func jobVaultUserStatus(j Job) { WHERE omv.chat_id = ? AND omv.user_id IN (?` + strings.Repeat(",?", len(p.UserListID64)-1) + `) AND omv.item_type_id IN (?` + strings.Repeat(",?", len(p.ItemTypeListID64)-1) + `)) x - ORDER BY x.user_id ASC;` + ORDER BY x.user_id ASC + ,(SELECT oi.intl_id FROM obj_item oi WHERE oi.obj_id = x.item_id) ASC;` args := make([]interface{}, len(p.UserListID64)+len(p.ItemTypeListID64)+1) args[0] = p.DepositChatID64