Browse Source

修复 app 缴费

weiximei 6 years ago
parent
commit
c54a3cdfa6

+ 1
- 1
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/WxPayServiceImpl.java View File

@@ -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
 		// 如果为零, 表示这个收费组收费完成