We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
OmsPortalOrderServiceImpl.calcPerCouponAmount() 特殊情况无法分摊平均,
OmsPortalOrderServiceImpl.calcPerCouponAmount()
商品 10、10、10 总价 30元 优惠金额10元;
(10 / 30) * 10 = 3.330
三个优惠加起来9.990元。
The text was updated successfully, but these errors were encountered:
加一小段逻辑,分配之后,如果分摊金额不足优惠金额,把差值加到某个商品上,比如第一个,或者最后一个
Sorry, something went wrong.
他这里面都是满减券,正常应该还有折扣券,抵扣券这种
No branches or pull requests
OmsPortalOrderServiceImpl.calcPerCouponAmount()
特殊情况无法分摊平均,
商品 10、10、10
总价 30元
优惠金额10元;
(10 / 30) * 10 = 3.330
三个优惠加起来9.990元。
The text was updated successfully, but these errors were encountered: