From 416a59e3c1dc52cdc7bb4abe38c89518382ae8db Mon Sep 17 00:00:00 2001 From: shoopea Date: Tue, 14 Jan 2020 11:38:59 +0800 Subject: [PATCH] test --- job.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/job.go b/job.go index 4a3ede9..192bdde 100644 --- a/job.go +++ b/job.go @@ -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.Code); ok { + } else if ok, _ := regexp.MatchString(`^u[0-9]+$`, item.Code); ok { p.Status = p.Status | reqTab[cacheObjSubType[`item_other`]] } }