This commit is contained in:
richboo111
2022-11-16 10:45:57 +08:00
parent 4e2fc9e4c0
commit 7ba43abb27
4 changed files with 53 additions and 11 deletions

View File

@@ -1632,7 +1632,7 @@ func InsertIntoFreightTemplate(storeID int, vendorStoreID string, templateID, wa
}
//只获取美团平台的京西storeID
func GetStoreIDByMeiTuan(vendorStoreID string) (storeID int, err error) {
return 0, err
func GetCodeAndIDByMeiTuan(vendorStoreID string) (storeID int, vendorOrgCode string, err error) {
err = GetRow(GetDB(), &storeID, "SELECT s.store_id,s.vendor_org_code FROM store_map s WHERE s.vendor_store_id = ? AND s.vendor_id = ? ", vendorStoreID, model.VendorIDMTWM)
return storeID, vendorStoreID, err
}