From f04def67f695e69591ccdd73bb339c6f402b477c Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期六, 05 八月 2023 13:36:57 +0800 Subject: [PATCH] update --- service/serviceOrder.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/service/serviceOrder.go b/service/serviceOrder.go index 60a6d5f..c33f292 100644 --- a/service/serviceOrder.go +++ b/service/serviceOrder.go @@ -56,7 +56,7 @@ } func (ServiceOrderService) UpdateServiceOrder(serviceOrder *model.ServiceOrder) int { - err := model.NewServiceOrderSearch().Save(serviceOrder) + err := model.NewServiceOrderSearch().SetId(serviceOrder.Id).Save(serviceOrder) if err != nil { return ecode.DBErr } -- Gitblit v1.8.0