Commit 12f40c21 by mushishixian

fix

parent c96c10fb
Showing with 3 additions and 2 deletions
...@@ -49,12 +49,13 @@ func SaveSkuModeFromES() (err error) { ...@@ -49,12 +49,13 @@ func SaveSkuModeFromES() (err error) {
return err return err
} }
num++ num++
} }else{
}
err = dao.UpdateSupplierSkuMode(supplier.SupplierId, 0) err = dao.UpdateSupplierSkuMode(supplier.SupplierId, 0)
if err != nil { if err != nil {
return err return err
} }
}
}
//time.Sleep(100 * time.Millisecond) //time.Sleep(100 * time.Millisecond)
} }
fmt.Println("执行完成,有sku_mode的供应商数量为 : ", num) fmt.Println("执行完成,有sku_mode的供应商数量为 : ", num)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment