|
|
@@ -268,6 +268,9 @@ public class PaymentService extends BaseService<RecPay> {
|
|
|
if (!recPayForUpdate.getFlgValid()) {
|
|
|
throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.ISFLGVALID_FALSE.getMessage());
|
|
|
}
|
|
|
+ if(recPayForUpdate.getBiznisId() != null){
|
|
|
+ throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.INVOICE_FORBID_EDIT.getMessage());
|
|
|
+ }
|
|
|
// 如果所在月份已结账,则不能作废 todo
|
|
|
|
|
|
// 查出并锁定所有应付核销明细
|