This commit is contained in:
苏尹岚
2020-11-18 11:15:03 +08:00
parent a14edae2a2
commit 2df28fccfd
2 changed files with 2 additions and 2 deletions

View File

@@ -1725,7 +1725,7 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
JdsStreetCode: v.JdsStreetCode,
JdsStreetName: v.JdsStreetName,
}
dao.CreateEntity(db, storeMap)
err = dao.CreateEntity(db, storeMap)
break
}
return err

View File

@@ -450,7 +450,7 @@ type StoreMap struct {
func (*StoreMap) TableUnique() [][]string {
return [][]string{
[]string{"StoreID", "VendorID", "DeletedAt"},
[]string{"StoreID", "VendorID", "DeletedAt", "VendorOrgCode"},
[]string{"VendorStoreID", "VendorID", "DeletedAt"},
}
}