打折券计算方式调整
This commit is contained in:
		
							parent
							
								
									3c9c3c2c17
								
							
						
					
					
						commit
						88109995bb
					
				| @ -248,7 +248,7 @@ public class CouponRender implements CartRenderStep { | |||||||
| 
 | 
 | ||||||
|                         // 打折金额=商品金额*折扣/10 |                         // 打折金额=商品金额*折扣/10 | ||||||
|                         Double discountCouponPrice = CurrencyUtil.mul(priceDetailDTO.getGoodsPrice(), |                         Double discountCouponPrice = CurrencyUtil.mul(priceDetailDTO.getGoodsPrice(), | ||||||
|                                 CurrencyUtil.div(coupon.getDiscount(), 10, 3)); |                                 CurrencyUtil.sub(1, CurrencyUtil.div(coupon.getDiscount(), 10, 3))); | ||||||
| 
 | 
 | ||||||
|                         //平台券则写入店铺承担优惠券比例 |                         //平台券则写入店铺承担优惠券比例 | ||||||
|                         if (coupon.getIsPlatform()) { |                         if (coupon.getIsPlatform()) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Chopper
						Chopper