“1”
This commit is contained in:
@@ -6339,7 +6339,7 @@ func CreateDDWarehouse(vendorOrgCode string, vendorStoreID, storeID int64) error
|
||||
var errList errlist.ErrList
|
||||
bind, err := tiktok_store.GetWarehouseByStore(vendorOrgCode, vendorStoreID)
|
||||
globals.SugarLogger.Debugf("CreateDDWarehouse bind=%s", utils.Format4Output(bind, false))
|
||||
if err == nil && bind[utils.Int64ToStr(storeID)][0].WarehouseId > 0 {
|
||||
if err == nil && bind[utils.Int64ToStr(vendorStoreID)][0].WarehouseId > 0 {
|
||||
return nil
|
||||
}
|
||||
warehouseID, err1 := tiktok_store.CreateWarehouse(vendorOrgCode, storeID)
|
||||
|
||||
Reference in New Issue
Block a user