结算时都变成这么多

This commit is contained in:
苏尹岚
2020-08-21 10:30:49 +08:00
parent 9c0e0e71a2
commit 9262067845

View File

@@ -1642,6 +1642,8 @@ func ChangeJxPriceByDiscountAct(ctx *jxcontext.Context) {
dao.Rollback(db)
}
actStoreSkuMap.ActualActPrice = actStoreSkuMap.VendorPrice
actStoreSkuMap.TrendType = model.TrendTypeNothing
actStoreSkuMap.TrendPrice = 0
}
if _, err = dao.UpdateEntity(db, actStoreSkuMap, "ActualActPrice", "TrendType", "TrendPrice"); err != nil {
dao.Rollback(db)