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