|
|
@@ -888,8 +888,16 @@ namespace Learun.Application.Organization |
|
|
|
userEntity.F_Mobile = mobile; |
|
|
|
userEntity.Modify(keyValue); |
|
|
|
this.BaseRepository().Update(userEntity); |
|
|
|
//修改学籍手机号 |
|
|
|
this.BaseRepository("CollegeMIS").ExecuteBySql($"update StuInfoBasic set mobile='{mobile}' where StuNo='{userEntity.F_Account}' "); |
|
|
|
if (userEntity.F_Description == "学生") |
|
|
|
{ |
|
|
|
//修改学籍手机号 |
|
|
|
this.BaseRepository("CollegeMIS").ExecuteBySql($"update StuInfoBasic set mobile='{mobile}' where StuNo='{userEntity.F_Account}' "); |
|
|
|
} |
|
|
|
else if (userEntity.F_Description == "教师") |
|
|
|
{ |
|
|
|
//修改教师手机号 |
|
|
|
this.BaseRepository("CollegeMIS").ExecuteBySql($"update EmpInfo set mobile='{mobile}' where EmpNo='{userEntity.F_Account}' "); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
catch (Exception ex) |
|
|
|