派生自 projectDept/qhighschool

EricsHu
2023-11-25 79ab2cbd31c022916a8e696903d5eb34b70aa403
src/main/java/com/qxueyou/scc/admin/schoolRoll/impl/SchoolRollServiceImpl.java
@@ -64,6 +64,8 @@
            StuStudent stuStudent = findUnique(hql.toString(), args, StuStudent.class);
            bulkUpdate("update ClsClass set studentCount = studentCount - 1  where deleteFlag is false and classId = ?", new Object[]{stuStudent.getClassId()});
            if(stuStudent!=null && classId!=null){
                StringBuffer ClaHql=new StringBuffer("from ClsClass where classId=? and deleteFlag is false");