This commit is contained in:
shoopea 2020-01-14 11:38:59 +08:00
parent 6dd672c462
commit 416a59e3c1

2
job.go
View File

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