|
|
@@ -45,7 +45,8 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
var fxEntity = new TeachSwitchEntity() |
|
|
|
{ |
|
|
|
status = "0", |
|
|
|
type = "fx" |
|
|
|
type = "fx", |
|
|
|
url= "/feixin.exe" |
|
|
|
}; |
|
|
|
fxEntity.Create(); |
|
|
|
this.BaseRepository().Insert(fxEntity); |
|
|
@@ -56,7 +57,8 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
var jsEntity = new TeachSwitchEntity() |
|
|
|
{ |
|
|
|
status = "0", |
|
|
|
type = "ssosystem" |
|
|
|
type = "ssosystem", |
|
|
|
url= "/SSOSystem/Index" |
|
|
|
}; |
|
|
|
jsEntity.Create(); |
|
|
|
this.BaseRepository().Insert(jsEntity); |
|
|
@@ -73,12 +75,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
this.BaseRepository().Insert(jsEntity); |
|
|
|
} |
|
|
|
var strSql = new StringBuilder(); |
|
|
|
strSql.Append("SELECT "); |
|
|
|
strSql.Append(@" |
|
|
|
t.ID, |
|
|
|
t.status, |
|
|
|
t.type |
|
|
|
"); |
|
|
|
strSql.Append("SELECT t.* "); |
|
|
|
strSql.Append(" FROM TeachSwitch t "); |
|
|
|
strSql.Append(" WHERE 1=1 "); |
|
|
|
var queryParam = queryJson.ToJObject(); |
|
|
|