|
@@ -71,7 +71,7 @@ public class SplitAccountService extends BaseService {
|
|
|
if (shopOrder.getCouponAmount() > 0 || shopOrder.getPromotionFullReduction() > 0) {
|
|
|
costPrice.set(MathUtil.sub(costPrice, MathUtil.add(shopOrder.getCouponAmount(), shopOrder.getPromotionFullReduction())).doubleValue());
|
|
|
}
|
|
|
- if (MathUtil.compare(total, MathUtil.add(MathUtil.add(costPrice, cmCostPrice), organizeCostPrice)) <= 0) {
|
|
|
+ if (MathUtil.compare(total, MathUtil.add(MathUtil.add(costPrice, cmCostPrice), organizeCostPrice)) < 0) {
|
|
|
logger.info("收款总金额不足分帐------------->total: " + total.get()
|
|
|
+ "costPrice: " + costPrice.get() + "----------"
|
|
|
+ "cmCostPrice: " + cmCostPrice.get() + "-------------"
|