From ae5dd3abde27340edfc8d645a20c4cbdc20a0520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Thu, 14 Jan 2021 15:46:41 +0800 Subject: [PATCH] aa --- business/jxstore/cms/job.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/business/jxstore/cms/job.go b/business/jxstore/cms/job.go index dbda43f45..c59461daa 100644 --- a/business/jxstore/cms/job.go +++ b/business/jxstore/cms/job.go @@ -842,7 +842,12 @@ func AuditJob(ctx *jxcontext.Context, jobOrderID, status int, comment, vendorWay jobTimer := &model.JobTimer{ JobID: job.ID, JobOrderID: jobOrder.JobOrderID, - Type: model.JobTimerTypeSubmit, + // Type: model.JobTimerTypeSubmit, + } + if job.JobCategoryID != model.JobCategoryIDDropShipping { + jobTimer.Type = model.JobTimerTypeSubmit + } else { + jobTimer.Type = model.JobTimerTypeDropShipping } if err = dao.GetEntity(db, jobTimer, "JobID", "JobOrderID", "Type"); err == nil { jobTimer.Status = model.JobTimerStatusFinish