|
@@ -360,7 +360,7 @@ public class TbClassTeacherTempServiceImpl extends BaseServiceImpl<TbClassTeache
|
|
|
user.setCreateTime(new Date());
|
|
|
}
|
|
|
if(StringUtil.isBlank(user.getPassword())){
|
|
|
- if(tbLibImTeacherTemp.getType()==30){
|
|
|
+ if(Objects.isNull(tbLibImTeacherTemp.getType()) || tbLibImTeacherTemp.getType()==30){
|
|
|
user.setPassword("123456");
|
|
|
}else{
|
|
|
user.setPassword("123@abc123");
|