Commit ff3b57b5 by 杨树贤

还要更新是否上传

parent c515273a
Showing with 1 additions and 1 deletions
......@@ -320,7 +320,7 @@ func StatisticsSkuCreateTime() (err error) {
if skuCreateTime > 0 {
supplier.SkuCreateTime = skuCreateTime
supplier.UploadedSku = 1
affected, err := Dao.GetDb("supplier").Table("lie_supplier_channel").Where("supplier_id = ?", supplier.SupplierId).MustCols("sku_create_time").Update(supplier)
affected, err := Dao.GetDb("supplier").Table("lie_supplier_channel").Where("supplier_id = ?", supplier.SupplierId).MustCols("sku_create_time", "uploaded_sku").Update(supplier)
if affected > 0 {
}
if err != nil {
......
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