Commit 94bbe75c by mushishixian

fix

parent 85942fef
Showing with 3 additions and 3 deletions
......@@ -31,9 +31,9 @@ func StatisticsSuppliersSkuNum() (err error) {
result := resp.String()
skuNum := gjson.Get(result, "data.total").Int()
fmt.Println("供应商ID : ", supplier.SupplierId, "数量 : ", int(skuNum))
if skuNum == 0 {
continue
}
//if skuNum == 0 {
// continue
//}
err = UpdateSupplierSkuNum(supplier.SupplierId, int(skuNum))
if err != nil {
return err
......
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