This commit is contained in:
shoopea 2019-10-13 15:24:11 +08:00
parent e979ed30d7
commit 46dfc1763a

4
job.go
View File

@ -946,7 +946,7 @@ func jobVaultItemStatus(j Job) {
currentItemID64 = 0
for rows.Next() {
err = rows.Scan(&itemID64, &userID64, &deposit, &withdraw)
err = rows.Scan(&itemID64, &user, &deposit, &withdraw)
logOnError(err, "jobVaultItemStatus : scan next val")
if itemID64 != currentItemID64 {
if currentItemID64 != 0 {
@ -972,7 +972,7 @@ func jobVaultItemStatus(j Job) {
withdrawList = nil
}
userList = append(userList, userID64)
userList = append(userList, user)
depositList = append(depositList, deposit)
withdrawList = append(withdrawList, withdraw)
}