From 9262067845855c9c42f6271c264a78ae8c4e73b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 21 Aug 2020 10:30:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=93=E7=AE=97=E6=97=B6=E9=83=BD=E5=8F=98?= =?UTF-8?q?=E6=88=90=E8=BF=99=E4=B9=88=E5=A4=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/act/act.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/business/jxstore/act/act.go b/business/jxstore/act/act.go index 48344d6a4..c07d693e8 100644 --- a/business/jxstore/act/act.go +++ b/business/jxstore/act/act.go @@ -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)