复制门店商品操作日志增加比例

This commit is contained in:
苏尹岚
2020-02-03 18:12:00 +08:00
parent 1fa3eef48f
commit beef010f4c

View File

@@ -1633,6 +1633,7 @@ func CopyStoreSkus(ctx *jxcontext.Context, fromStoreID int, toStoreIDs []int, co
mapAfter["ToStoreIDs"] = toStoreIDs
mapAfter["CopyMode"] = copyMode
mapAfter["IsScale"] = isScale
mapAfter["PricePercentage"] = pricePercentage
mapBefore := make(map[string]interface{})
mapBefore["FromStoreID"] = fromStoreID
err = AddEventDetail(db, ctx, model.OperateCopyStoreSkus, 0, model.ThingTypeSku, fromStoreID, BuildDiffData(mapBefore), BuildDiffData(mapAfter))