This commit is contained in:
邹宗楠
2026-04-09 10:15:28 +08:00
parent b7ca039ca6
commit d6124d8a83
2 changed files with 2 additions and 2 deletions

View File

@@ -110,7 +110,7 @@ func getActivityCount(api *mtwmapi.API, vendorStoreId string) (int, int) {
// 获取美团活动
directList, _ := api.RetailDiscountList(vendorStoreId, mtwmapi.RetailActTypeDirectDown) // 折扣活动
for _, v := range directList {
if v.ActPrice/v.OriginalPrice >= 3.01 {
if v.ActPrice/v.OriginalPrice*10 >= 3.01 {
threefoldUp++
} else {
threefoldDown++

View File

@@ -732,7 +732,7 @@ func (p *PurchaseHandler) UpdateStoreSkusPrice(ctx *jxcontext.Context, vendorOrg
if len(failedList) > 0 {
err = nil
}
model.OrderPay{}
// 改价的同时去修改报价门店的进货价
storeDetail, _ := dao.GetStoreDetail(dao.GetDB(), storeID, model.VendorIDMTWM, "")
spuList := make([]*mtwmapi.SpuData, 0, 0)