This commit is contained in:
shoopea 2020-01-14 11:35:23 +08:00
parent f00082e80d
commit 9a87728b50

2
job.go
View File

@ -1412,7 +1412,7 @@ func jobGWithdraw(j Job) {
if id != 0 {
obj, _ := getObjItem(id)
p.Status = p.Status | reqTab[obj.ItemTypeID]
} else if ok, _ := regexp.MatchString(`^u[0-9]+`, item.Item); ok {
} else if ok, _ := regexp.MatchString(`^u[0-9]+`, item.Code); ok {
p.Status = p.Status | reqTab[cacheObjSubType[`item_other`]]
}
}