From efc8c31f32564329e220f0fbd065eb902c2fe761 Mon Sep 17 00:00:00 2001 From: zhy <17877871893@163.com> Date: Mon, 20 Oct 2025 00:07:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=89=E5=A5=BD=E5=AD=A6=E7=94=9F=E5=88=A4?= =?UTF-8?q?=E6=96=AD=20=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../comprehensive/service/impl/CphGoodApplyServiceImpl.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srs-comprehensive/src/main/java/com/srs/comprehensive/service/impl/CphGoodApplyServiceImpl.java b/srs-comprehensive/src/main/java/com/srs/comprehensive/service/impl/CphGoodApplyServiceImpl.java index ee81433..81c82cb 100644 --- a/srs-comprehensive/src/main/java/com/srs/comprehensive/service/impl/CphGoodApplyServiceImpl.java +++ b/srs-comprehensive/src/main/java/com/srs/comprehensive/service/impl/CphGoodApplyServiceImpl.java @@ -708,7 +708,11 @@ public class CphGoodApplyServiceImpl extends ServiceImpl course : cphStuScoreMiddleCjList) { BigDecimal bigDecimal = new BigDecimal(course.get("cj").toString()); if (bigDecimal.compareTo(new BigDecimal("70.00")) < 0) { - throw new RuntimeException("考查课"+course.get("course_name").toString()+"没有达到中等及以上"); + if(course.get("course_name")!= null){ + throw new RuntimeException("考查课"+course.get("course_name").toString()+"没有达到中等及以上"); + }else{ + throw new RuntimeException("考查课没有达到中等及以上"); + } } }