|
@@ -140,7 +140,6 @@ public class SporadicChargeInfoImpl extends BaseServiceImpl<Integer, SporadicCha
|
|
|
}
|
|
|
if (studentPaymentOrder.getStatus() == DealStatusEnum.CLOSE || studentPaymentOrder.getStatus() == DealStatusEnum.FAILED) {
|
|
|
if (info.getMaxNum() != null && info.getPaidNum() > 0) {
|
|
|
- info = sporadicChargeInfoDao.get(info.getId());
|
|
|
info.setPaidNum(info.getPaidNum() - 1);
|
|
|
info.setUpdateTime(new Date());
|
|
|
int update = sporadicChargeInfoDao.update(info);
|