From e095ef6b1d80cd361d9e1478bd86f00b28063996 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期二, 14 十一月 2023 13:59:26 +0800 Subject: [PATCH] 数据库迁移到aps库 --- service/test/supplier.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/service/test/supplier.go b/service/test/supplier.go index 61417f3..5d7ac0c 100644 --- a/service/test/supplier.go +++ b/service/test/supplier.go @@ -64,7 +64,7 @@ db = db.Where("number LIKE ?", "%"+info.Number+"%") } if info.SupplierType != "" { - db = db.Where("supplier_type LIKE ?", "%"+info.SupplierType+"%") + db = db.Where("srm_supplier_type LIKE ?", "%"+info.SupplierType+"%") } if info.Industry != "" { db = db.Where("industry LIKE ?", "%"+info.Industry+"%") -- Gitblit v1.8.0