|
@@ -149,7 +149,7 @@ public class WxPayServiceImpl implements WxPayServiceI {
|
149
|
149
|
tpBillInvoiceMapper.updateByPrimaryKeySelective(tpBillInvoice);
|
150
|
150
|
|
151
|
151
|
// 更新收费组的 未交费用户数 和 已缴费用户数
|
152
|
|
- TpBill tpBill = tpBillMapper.selectById(tpBillInvoice.getBillId());
|
|
152
|
+ TpBill tpBill = tpBillMapper.selectByPrimaryKey(tpBillInvoice.getBillId());
|
153
|
153
|
tpBill.setPayedNum(tpBill.getPayedNum() + 1);
|
154
|
154
|
tpBill.setUnpayedNum(tpBill.getUnpayedNum() - 1);
|
155
|
155
|
// 如果为零, 表示这个收费组收费完成
|