From bcbd47ebfa5cdb0762c2a33601dc68dd8dd564ec Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期六, 23 九月 2023 13:39:18 +0800 Subject: [PATCH] 质检列表搜索修改 --- api/v1/test/product.go | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/api/v1/test/product.go b/api/v1/test/product.go index 0cab86a..ca47df4 100644 --- a/api/v1/test/product.go +++ b/api/v1/test/product.go @@ -160,6 +160,10 @@ global.GVA_LOG.Error("鑾峰彇澶辫触!", zap.Error(err)) response.FailWithMessage("鑾峰彇澶辫触", c) } else { + //娣诲姞渚涘簲鍟嗗悕绉� + for i := 0; i < len(list); i++ { + list[i].SupplierName = list[i].Supplier.Name + } response.OkWithDetailed(response.PageResult{ List: list, Total: total, -- Gitblit v1.8.0