From 0bc94d86e0caf9112d83da02c1b91a3ea343cb0a Mon Sep 17 00:00:00 2001 From: “djh” <“3298565835@qq.com”> Date: 星期三, 19 三月 2025 09:16:05 +0800 Subject: [PATCH] 修改非煤统计 --- exam-system/src/main/java/com/gkhy/exam/pay/service/impl/NonCoalPayServiceImpl.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/exam-system/src/main/java/com/gkhy/exam/pay/service/impl/NonCoalPayServiceImpl.java b/exam-system/src/main/java/com/gkhy/exam/pay/service/impl/NonCoalPayServiceImpl.java index e1d69bf..bcf6e86 100644 --- a/exam-system/src/main/java/com/gkhy/exam/pay/service/impl/NonCoalPayServiceImpl.java +++ b/exam-system/src/main/java/com/gkhy/exam/pay/service/impl/NonCoalPayServiceImpl.java @@ -259,9 +259,10 @@ //验证是否有学员已缴费 NonCoalPayStudent nonCoalPayStudent = new NonCoalPayStudent(); nonCoalPayStudent.setNonCoalPayId(id); + nonCoalPayStudent.setPayStatus(1L); List<NonCoalPayStudent> nonCoalPayStudents = nonCoalPayStudentService.selectNonCoalPayStudentList(nonCoalPayStudent); if (nonCoalPayStudents.size()>0){ - throw new ServiceException("该批次存在学员,请勿删除"); + throw new ServiceException("该批次存在已缴费学员,请勿删除"); } return nonCoalPayMapper.deleteNonCoalPayById(id, SecurityUtils.getUsername()); } -- Gitblit v1.9.2