|
@@ -281,6 +281,10 @@ public class BillInvoiceServiceImpl extends ServiceImpl<BillInvoiceMapper, BillI
|
281
|
281
|
public ResponseBean updateBillInvoiceIdPayPrice(Integer billId, Integer payPrice, UserElement userElement) {
|
282
|
282
|
ResponseBean responseBean = new ResponseBean();
|
283
|
283
|
BillInvoice billInvoice = billInvoiceMapper.selectById(billId);
|
|
284
|
+ if ("1".equals(billInvoice.getBillStatus()) || "2".equals(billInvoice.getBillStatus())) {
|
|
285
|
+ responseBean.addError("不能修改已缴费");
|
|
286
|
+ return responseBean;
|
|
287
|
+ }
|
284
|
288
|
billInvoice.setPayPrice(PayPriceUtils.yuanConversionPoints(payPrice));
|
285
|
289
|
billInvoice.setUpdateUser(userElement.getId());
|
286
|
290
|
billInvoice.setUpdateDate(new Date());
|