mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-01 02:38:43 +08:00 
			
		
		
		
	【功能优化】优化限时满减的金额数据库保存为分
This commit is contained in:
		| @@ -123,7 +123,7 @@ public class TradeDiscountActivityPriceCalculator implements TradePriceCalculato | ||||
|                                       TradePriceCalculateRespBO.OrderItem orderItem) { | ||||
|         Integer price = orderItem.getPayPrice(); | ||||
|         if (PromotionDiscountTypeEnum.PRICE.getType().equals(discountProduct.getDiscountType())) { // 减价 | ||||
|             price -= discountProduct.getDiscountPrice() * 100 * orderItem.getCount(); | ||||
|             price -= discountProduct.getDiscountPrice() * orderItem.getCount(); | ||||
|         } else if (PromotionDiscountTypeEnum.PERCENT.getType().equals(discountProduct.getDiscountType())) { // 打折 | ||||
|             price = price * discountProduct.getDiscountPercent() / 100; | ||||
|         } else { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 痴货
					痴货