复制门店商品操作日志增加比例
This commit is contained in:
@@ -1633,6 +1633,7 @@ func CopyStoreSkus(ctx *jxcontext.Context, fromStoreID int, toStoreIDs []int, co
|
|||||||
mapAfter["ToStoreIDs"] = toStoreIDs
|
mapAfter["ToStoreIDs"] = toStoreIDs
|
||||||
mapAfter["CopyMode"] = copyMode
|
mapAfter["CopyMode"] = copyMode
|
||||||
mapAfter["IsScale"] = isScale
|
mapAfter["IsScale"] = isScale
|
||||||
|
mapAfter["PricePercentage"] = pricePercentage
|
||||||
mapBefore := make(map[string]interface{})
|
mapBefore := make(map[string]interface{})
|
||||||
mapBefore["FromStoreID"] = fromStoreID
|
mapBefore["FromStoreID"] = fromStoreID
|
||||||
err = AddEventDetail(db, ctx, model.OperateCopyStoreSkus, 0, model.ThingTypeSku, fromStoreID, BuildDiffData(mapBefore), BuildDiffData(mapAfter))
|
err = AddEventDetail(db, ctx, model.OperateCopyStoreSkus, 0, model.ThingTypeSku, fromStoreID, BuildDiffData(mapBefore), BuildDiffData(mapAfter))
|
||||||
|
|||||||
Reference in New Issue
Block a user