|
|
@@ -72,6 +72,26 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
jsEntity.Create(); |
|
|
|
this.BaseRepository().Insert(jsEntity); |
|
|
|
} |
|
|
|
if (!data.Any(a => a.type == "modifypwdfirstday")) |
|
|
|
{ |
|
|
|
var jsEntity = new TeachSwitchEntity() |
|
|
|
{ |
|
|
|
status = "0", |
|
|
|
type = "modifypwdfirstday" |
|
|
|
}; |
|
|
|
jsEntity.Create(); |
|
|
|
this.BaseRepository().Insert(jsEntity); |
|
|
|
} |
|
|
|
if (!data.Any(a => a.type == "modifypwdtip")) |
|
|
|
{ |
|
|
|
var jsEntity = new TeachSwitchEntity() |
|
|
|
{ |
|
|
|
status = "0", |
|
|
|
type = "modifypwdtip" |
|
|
|
}; |
|
|
|
jsEntity.Create(); |
|
|
|
this.BaseRepository().Insert(jsEntity); |
|
|
|
} |
|
|
|
var strSql = new StringBuilder(); |
|
|
|
strSql.Append("SELECT "); |
|
|
|
strSql.Append(@" |
|
|
|