1
This commit is contained in:
@@ -1633,7 +1633,7 @@ func InsertIntoFreightTemplate(storeID int, vendorStoreID string, templateID, wa
|
|||||||
|
|
||||||
// GetCodeAndIDByMeiTuan 只获取美团平台的京西storeID
|
// GetCodeAndIDByMeiTuan 只获取美团平台的京西storeID
|
||||||
func GetCodeAndIDByMeiTuan(vendorStoreID string, vendorId int) (storeID int, err error) {
|
func GetCodeAndIDByMeiTuan(vendorStoreID string, vendorId int) (storeID int, err error) {
|
||||||
err = GetRow(GetDB(), &storeID, "SELECT s.store_id FROM store_map s WHERE s.vendor_store_id = ? AND s.vendor_id = ? AND deleted_at = ?", vendorStoreID, vendorId, utils.DefaultTimeValue)
|
err = GetRow(GetDB(), &storeID, "SELECT s.store_id FROM store_map s WHERE s.vendor_store_id = ? AND s.vendor_id = ? AND s.deleted_at = ?", vendorStoreID, vendorId, utils.DefaultTimeValue)
|
||||||
return storeID, err
|
return storeID, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user