Commit d5785b52 authored by shiyu's avatar shiyu

计算藏家自己的介绍佣金

parent a408a006
...@@ -77,7 +77,7 @@ public class SysUserBillServiceImpl implements SysUserBillService { ...@@ -77,7 +77,7 @@ public class SysUserBillServiceImpl implements SysUserBillService {
long orderEntryAmount = userBill.getOrderEntryAmount() + sellerProfitAmount; long orderEntryAmount = userBill.getOrderEntryAmount() + sellerProfitAmount;
updateBill.setOrderWaitEntryAmount(orderWaitEntryAmount); updateBill.setOrderWaitEntryAmount(orderWaitEntryAmount);
updateBill.setOrderEntryAmount(orderEntryAmount); updateBill.setOrderEntryAmount(orderEntryAmount);
if (distributionOrder.getShareRecordId().equals(distributionOrder.getSellerId())) { if (distributionOrder.getShareRecordId().equals(distributionOrder.getSellerId().toString())) {
//表示介绍人是卖家自己 //表示介绍人是卖家自己
long newIntroduceWaitEntryAmount = userBill.getIntroduceWaitEntryAmount() - introduceCost; long newIntroduceWaitEntryAmount = userBill.getIntroduceWaitEntryAmount() - introduceCost;
long newIntroduceEntryAmount = userBill.getIntroduceEntryAmount() + introduceCost; long newIntroduceEntryAmount = userBill.getIntroduceEntryAmount() + introduceCost;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment