From 3fae4f4ab7d4a2c566c80bd5d481894a632d474e Mon Sep 17 00:00:00 2001 From: lzh <1625167628@qq.com> Date: Tue, 17 Jun 2025 14:39:39 +0800 Subject: [PATCH] modified: internal/dao/bundleExtend.go --- internal/dao/bundleExtend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/dao/bundleExtend.go b/internal/dao/bundleExtend.go index a07b5a1..58892b0 100644 --- a/internal/dao/bundleExtend.go +++ b/internal/dao/bundleExtend.go @@ -263,5 +263,5 @@ func ToBeComfirmedWorks(req *bundle.ToBeComfirmedWorksReq) (data []model.CastWor } func ConfirmWork(req *bundle.ConfirmWorkReq) error { - return app.ModuleClients.BundleDB.Model(&model.CastWorkLog{}).Where(&model.CastWorkLog{WorkUuid: req.WorkUuid}).Update("confirmed_at", time.Now().UnixMilli()).Error + return app.ModuleClients.BundleDB.Model(&model.CastWorkLog{}).Where(&model.CastWorkLog{WorkUuid: req.WorkUuid}).Update("confirmed_at", time.Now().Unix()).Error }