globals.IsStoreSkuAct控制是否添加门店商品的平台活动信息

This commit is contained in:
gazebo
2020-01-13 14:17:50 +08:00
parent 21accbf8fe
commit d29b7b3686
10 changed files with 221 additions and 93 deletions

View File

@@ -341,7 +341,7 @@ func (c *PurchaseHandler) SyncAct(ctx *jxcontext.Context, parentTask tasksch.ITa
return err
}()
// globals.SugarLogger.Debug(utils.Format4Output(updateItems, false))
_, err2 := dao.BatchUpdateEntityByKV(db, updateItems)
_, err2 := dao.BatchUpdateActEntity(db, model.IsSyncStatusDelete(act.SyncStatus), updateItems)
if err == nil {
err = err2
}