Browse Source

Merge remote-tracking branch 'origin/saas' into saas

# Conflicts:
#	mec-teacher/src/main/java/com/ym/mec/teacher/controller/TeacherContractController.java
zouxuan 3 years ago
parent
commit
2efa5c4524

+ 1 - 1
mec-teacher/src/main/java/com/ym/mec/teacher/controller/TeacherContractController.java

@@ -52,7 +52,7 @@ public class TeacherContractController extends BaseController {
 			//判断分部
 			Teacher teacher = teacherService.get(sysUser.getId());
 			
-			if(teacher == null || (teacher.getTeacherOrganId() == 55 ||teacher.getTeacherOrganId() == 59)){
+			if(teacher == null || teacher.getTeacherOrganId() == null || (teacher.getTeacherOrganId() == 55 ||teacher.getTeacherOrganId() == 59)){
 				return succeed(false);
 			}