exam-system/src/main/java/com/gkhy/exam/pay/service/impl/CoalPayServiceImpl.java
@@ -163,7 +163,7 @@ @Override public AjaxResult deleteCoalPayByIds(Long[] ids) { for (Long id : ids) { List<CoalPayStudent> coalPayStudents = coalPayStudentService.selectByCoalPayId(id); List<CoalPayStudent> coalPayStudents = coalPayStudentService.selectByCoalPayIdAndPayStatus(id,1); if (!CollectionUtils.isEmpty(coalPayStudents)) { throw new BusinessException(this.getClass(), ResultConstants.BUSINESS_ERROR, "已有学员完成缴费,请勿删除"); }