@@ -143,7 +143,7 @@ | |||||
<add key="dbbackuppath" value="D:\数字化校园\lr7test\Publish\Resource\DataBaseBackup"/> | <add key="dbbackuppath" value="D:\数字化校园\lr7test\Publish\Resource\DataBaseBackup"/> | ||||
<!-- 报名选修课排队需要调用的WebApi --> | <!-- 报名选修课排队需要调用的WebApi --> | ||||
<add key="WebApi" value="http://localhost:31173/" /> | |||||
<add key="WebApi" value="http://localhost:8088/" /> | |||||
<!-- 报名选修课的最大课程数 --> | <!-- 报名选修课的最大课程数 --> | ||||
<add key="ElectiveLessonApplyMax" value="2" /> | <add key="ElectiveLessonApplyMax" value="2" /> | ||||
<!-- 报名线上选修课的最大课程数 --> | <!-- 报名线上选修课的最大课程数 --> | ||||
@@ -25,7 +25,7 @@ | |||||
<add name="paikeDbString" connectionString="Data Source=10.30.0.11;Database=paike;User ID=root;Password=12345678;" providerName="MySql.Data.MySqlClient" />--> | <add name="paikeDbString" connectionString="Data Source=10.30.0.11;Database=paike;User ID=root;Password=12345678;" providerName="MySql.Data.MySqlClient" />--> | ||||
<!--西昌--> | <!--西昌--> | ||||
<add name="BaseDb" connectionString="Server=123.57.209.16,53314;Initial Catalog=adms7ultimate2_黑龙江艺术;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" /> | |||||
<add name="CollegeMIS" connectionString="Server=123.57.209.16,53314;Initial Catalog=CollegeMIS_黑龙江艺术;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" /> | |||||
<add name="hangfireString" connectionString="Server=123.57.209.16,53314;Initial Catalog=Hangfire;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" /> | |||||
<add name="BaseDb" connectionString="Server=8.141.155.183,53314;Initial Catalog=adms7ultimate2_黑龙江艺术;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" /> | |||||
<add name="CollegeMIS" connectionString="Server=8.141.155.183,53314;Initial Catalog=CollegeMIS_黑龙江艺术;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" /> | |||||
<add name="hangfireString" connectionString="Server=8.141.155.183,53314;Initial Catalog=Hangfire;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" /> | |||||
</connectionStrings> | </connectionStrings> |
@@ -2269,7 +2269,7 @@ where StuNo not in(Select StuNo from stuscore s where s.Academicyearno = sl.Acad | |||||
dp.Add("StuName", queryParam["StuName"].ToString(), DbType.String); | dp.Add("StuName", queryParam["StuName"].ToString(), DbType.String); | ||||
strSql.Append(" and s.StuName=@StuName "); | strSql.Append(" and s.StuName=@StuName "); | ||||
} | } | ||||
if (!queryParam["lessonno"].IsEmpty()) | |||||
if (!queryParam["LessonNo"].IsEmpty()) | |||||
{ | { | ||||
dp.Add("LessonNo", queryParam["LessonNo"].ToString(), DbType.String); | dp.Add("LessonNo", queryParam["LessonNo"].ToString(), DbType.String); | ||||
strSql.Append(" and s.LessonNo=@LessonNo "); | strSql.Append(" and s.LessonNo=@LessonNo "); | ||||