From 83bcc387357ef843dec1ec5a025cae63cb21ace1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 25 Dec 2020 16:43:30 +0800 Subject: [PATCH] a --- business/jxstore/cms/job.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/jxstore/cms/job.go b/business/jxstore/cms/job.go index 37b7ae7e5..43a2956de 100644 --- a/business/jxstore/cms/job.go +++ b/business/jxstore/cms/job.go @@ -230,8 +230,8 @@ func CancelPublishJob(ctx *jxcontext.Context, jobID int) (err error) { } //3、任务状态被取消 job.Status = model.JobStatusFailed - job.DeletedAt = time.Now() - if _, err = dao.UpdateEntity(db, job, "Status", "DeletedAt"); err != nil { + // job.DeletedAt = time.Now() + if _, err = dao.UpdateEntity(db, job, "Status"); err != nil { dao.Rollback(db) return }