| | |
| | | |
| | | 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"); |
| | | |
| | |
| | | String chinaStatus, String registeredAddress, String homeAddress, String religiousBelief, String email, |
| | | String workUnit) { |
| | | |
| | | User user1 = userService.getUserByAccount(studentNo,orgId); |
| | | if(user1 != null){ |
| | | return new Result(false, "身份证已存在"); |
| | | } |
| | | if (dao.exists(studentNo, orgId)) { |
| | | return new Result(false, "身份证已存在"); |
| | | } |