From a26ce0190110dda7bbd95292faa63d3dbcca11f2 Mon Sep 17 00:00:00 2001 From: gazebo Date: Fri, 7 Feb 2020 10:19:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88StoreCourierMap=E7=9A=84Vendo?= =?UTF-8?q?rStoreID=E5=94=AF=E4=B8=80=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/model/store.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/business/model/store.go b/business/model/store.go index 07c992716..39434aa27 100644 --- a/business/model/store.go +++ b/business/model/store.go @@ -436,7 +436,12 @@ type StoreCourierMap struct { func (*StoreCourierMap) TableUnique() [][]string { return [][]string{ []string{"StoreID", "VendorID", "DeletedAt"}, - // []string{"VendorStoreID", "VendorID", "DeletedAt"}, + } +} + +func (*StoreCourierMap) TableIndex() [][]string { + return [][]string{ + []string{"VendorStoreID", "VendorID", "DeletedAt"}, } }