dyy há 6 meses
ascendente
cometimento
2889147e14
2 ficheiros alterados com 125 adições e 89 eliminações
  1. +120
    -84
      DigitalSchoolApi/Controllers/YKTTrabs.cs
  2. +5
    -5
      DigitalSchoolApi/Web.config

+ 120
- 84
DigitalSchoolApi/Controllers/YKTTrabs.cs Ver ficheiro

@@ -813,7 +813,7 @@ namespace DigitalSchoolApi.Controllers
conncore.Execute(
"insert into LR_Base_Log(F_LogId,F_CategoryId,F_SourceObjectId,F_SourceContentJson,F_OperateTime) values(newid(),121,'typecode','开票typecode:" + item.Key + "',getdate())");
}
InvoiceEBillByTypeTwo(conn,orderEntity, item.Key, item);
InvoiceEBillByTypeTwo(conn, orderEntity, item.Key, item);
}
catch (Exception ex)
{
@@ -1030,7 +1030,7 @@ namespace DigitalSchoolApi.Controllers
}
}

private static void InvoiceEBillByTypeTwo(IDbConnection conn,FinaChargeStuOrderEntity orderEntity, string billCode, IGrouping<string, FinaChargeStuYearItemEntity> stuEnrollFeeOrderDetailList)
private static void InvoiceEBillByTypeTwo(IDbConnection conn, FinaChargeStuOrderEntity orderEntity, string billCode, IGrouping<string, FinaChargeStuYearItemEntity> stuEnrollFeeOrderDetailList)
{
Encoding encoding = Encoding.UTF8;
string StuName = conn.QuerySingle("select StuName from FinaChargeStudent where stuno='" + orderEntity.StuNo + "'").StuName;
@@ -1465,37 +1465,7 @@ namespace DigitalSchoolApi.Controllers

#endregion

using (IDbConnection db =new SqlConnection(_coresqlConnection))
{

#region 部门
List<DepartmentEntity> departments = db.Query<DepartmentEntity>("select * from LR_Base_Department").ToList();
int anumDept = 0;
int unumDept = 0;
foreach (var item in depts)
{
try
{
if(departments.Any(x=>x.F_DepartmentId==item.ID))
{
var sql = $"update LR_Base_Department set F_FullName='{item.NAME_}',F_ParentId='{item.PID}',F_EnCode='{item.ID}',F_ShortName='{item.NAME_SHORT}',F_CreateDate='{DateTime.Now}' where F_DepartmentId='{item.ID}'";
anumDept += db.Execute(sql);
}
else
{
var sql = $"insert into LR_Base_Department (F_DepartmentId,F_CompanyId,F_ParentId,F_EnCode,F_FullName,F_ShortName,F_SortCode,F_DeleteMark,F_EnabledMark,F_CreateDate,F_Order) values ('{item.ID}','207fa1a9-160c-4943-a89b-8fa4db0547ce','{item.PID}','{item.ID}','{item.NAME_}','{item.NAME_SHORT}',0,0,1,'{DateTime.Now}',0)";
anumDept += db.Execute(sql);
}
}
catch (Exception ex)
{
db.Execute(
$"insert into LR_Base_Log(F_LogId,F_CategoryId,F_SourceObjectId,F_SourceContentJson,F_OperateTime) values(newid(),55555,'更新部门数据','编号({item.ID}),姓名({item.NAME_})更新时出现异常:{ex.Message}',getdate())");
}
}

#endregion
}
var teachinfo = new List<TeachModel>();

using (IDbConnection conncores = new SqlConnection(_sqlConnection))
{
@@ -1532,7 +1502,7 @@ namespace DigitalSchoolApi.Controllers
sb.Remove(sb.ToString().LastIndexOf(","), 1);
}
//修改条件
sb.Append($" where MajorNo='{item.CODE_ }' and MajorName='{item.NAME_}'");
sb.Append($" where MajorNo='{item.CODE_}' and MajorName='{item.NAME_}'");
unumMajor += conncores.Execute(sb.ToString());
}
else
@@ -1592,7 +1562,7 @@ namespace DigitalSchoolApi.Controllers
sb.Remove(sb.ToString().LastIndexOf(","), 1);
}
//修改条件
sb.Append($" where lessonno='{item.CODE_ }' and lessonName='{item.NAME_}'");
sb.Append($" where lessonno='{item.CODE_}' and lessonName='{item.NAME_}'");
unumlesson += conncores.Execute(sb.ToString());
}
else
@@ -1619,18 +1589,20 @@ namespace DigitalSchoolApi.Controllers
}

#endregion
#region 教师信息
List<TeachModel> teachinfo = conncores.Query<TeachModel>("select * from empinfo").ToList();
teachinfo = conncores.Query<TeachModel>("select * from empinfo").ToList();
int anumTeach = 0;
int unumTeach = 0;
foreach (var item in jsxx)
{
try
{
if (teachinfo.Exists(x => x.EmpNo == item.TEA_NO && x.EmpName == item.NAME_))
if (teachinfo.Exists(x => x.EmpNo == item.TEA_NO))
{
StringBuilder sb = new StringBuilder("update empinfo set ");
sb.Append($" EmpName='{item.NAME_}',");
sb.Append($" UpdateTime='{DateTime.Now}', ");
if (!string.IsNullOrEmpty(item.ZZJG_ID))
{
sb.Append($" ZZJG_ID='{item.ZZJG_ID}',");
@@ -1678,12 +1650,12 @@ namespace DigitalSchoolApi.Controllers
sb.Remove(sb.ToString().LastIndexOf(","), 1);
}
//修改条件
sb.Append($" where empno='{item.TEA_NO }' and empName='{item.NAME_}'");
sb.Append($" where empno='{item.TEA_NO}'");
unumTeach += conncores.Execute(sb.ToString());
}
else
{
int mysql = conncores.Execute($"insert into empinfo (empid,ZZJG_ID,F_DepartmentId,empNo,empName,Birthday,IdentityCardNo,mobile,DegreeNo,HighestRecord,CheckMark,F_CompanyId,BZLB_CODE,BZLX_CODE,IsInActiveStatus) values (newid(), '{item.ZZJG_ID}', '{item.DEPT_ID}', '{item.TEA_NO}', '{item.NAME_}', '{item.BIRTH_DATE}', '{item.IDNO}', '{item.PHONE}', '{item.EDU_ID}', '{item.DEGREE_ID}', '{item.IS_NORMAL}', '207fa1a9-160c-4943-a89b-8fa4db0547ce', '{item.BZLB_CODE}', '{item.BZLX_CODE}', '{item.TEA_STATUS_CODE}')");
int mysql = conncores.Execute($"insert into empinfo (empid,ZZJG_ID,F_DepartmentId,empNo,empName,Birthday,IdentityCardNo,mobile,DegreeNo,HighestRecord,CheckMark,F_CompanyId,BZLB_CODE,BZLX_CODE,IsInActiveStatus,UpdateTime) values (newid(), '{item.ZZJG_ID}', '{item.DEPT_ID}', '{item.TEA_NO}', '{item.NAME_}', '{item.BIRTH_DATE}', '{item.IDNO}', '{item.PHONE}', '{item.EDU_ID}', '{item.DEGREE_ID}', '{item.IS_NORMAL}', '207fa1a9-160c-4943-a89b-8fa4db0547ce', '{item.BZLB_CODE}', '{item.BZLX_CODE}', '{item.TEA_STATUS_CODE}','{DateTime.Now}')");
anumTeach += mysql;
}
}
@@ -1764,7 +1736,7 @@ namespace DigitalSchoolApi.Controllers
sb.Remove(sb.ToString().LastIndexOf(","), 1);
}
//修改条件
sb.Append($" where classno='{item.NO_ }' and className='{item.NAME_}'");
sb.Append($" where classno='{item.NO_}' and className='{item.NAME_}'");
unumClass += conncores.Execute(sb.ToString());
}
else
@@ -1849,7 +1821,7 @@ namespace DigitalSchoolApi.Controllers
sb.Remove(sb.ToString().LastIndexOf(","), 1);
}
//修改条件
sb.Append($" where classroomno='{item.CODE_ }' and classroomName='{item.NAME_}'");
sb.Append($" where classroomno='{item.CODE_}' and classroomName='{item.NAME_}'");
unumCroom += conncores.Execute(sb.ToString());
}
else
@@ -1881,6 +1853,47 @@ namespace DigitalSchoolApi.Controllers
#endregion
}

using (IDbConnection db = new SqlConnection(_coresqlConnection))
{

#region 部门
List<DepartmentEntity> departments = db.Query<DepartmentEntity>("select * from LR_Base_Department").ToList();
int anumDept = 0;
int unumDept = 0;

foreach (var item in depts)
{
try
{
if (item.LEVEL_TYPE.ToLower() != "xx" && item.LEVEL_TYPE.ToLower() != "zy")
{
var manager = string.Empty;
if (!string.IsNullOrWhiteSpace(item.ADMIN_MANAGE_TEA_NO))
{
manager = teachinfo.FirstOrDefault(x => x.EmpNo == item.ADMIN_MANAGE_TEA_NO)?.EmpId ?? "";
}
if (departments.Any(x => x.F_DepartmentId == item.ID))
{
var sql = $"update LR_Base_Department set F_FullName='{item.NAME_}',F_ParentId='{item.PID}',F_EnCode='{item.CODE_}',F_ShortName='{item.NAME_SHORT}',F_Manager='{manager}',F_Description='{item.LEVEL_TYPE}',F_ModifyDate='{DateTime.Now}' where F_DepartmentId='{item.ID}'";
anumDept += db.Execute(sql);
}
else
{
var sql = $"insert into LR_Base_Department (F_DepartmentId,F_CompanyId,F_ParentId,F_EnCode,F_FullName,F_ShortName,F_Manager,F_Description,F_SortCode,F_DeleteMark,F_EnabledMark,F_CreateDate,F_Order) values ('{item.ID}','207fa1a9-160c-4943-a89b-8fa4db0547ce','{item.PID}','{item.CODE_}','{item.NAME_}','{item.NAME_SHORT}','{manager}','{item.LEVEL_TYPE}',0,0,1,'{DateTime.Now}',0)";
anumDept += db.Execute(sql);
}
}

}
catch (Exception ex)
{
db.Execute(
$"insert into LR_Base_Log(F_LogId,F_CategoryId,F_SourceObjectId,F_SourceContentJson,F_OperateTime) values(newid(),55555,'更新部门数据','编号({item.ID}),姓名({item.NAME_})更新时出现异常:{ex.Message}',getdate())");
}
}

#endregion
}
//获取oracle学生数据
//List<XCStudentEntity> xcStudentList = conn_oracle.Query<XCStudentEntity>(@"select ID,stu_no,name_,
//(case when dept_id in ('01','02','03') then dept_id when dept_id='00' then '06' when dept_id='23' then '04' when dept_id='06' then '07' else '' end )as dept_id,
@@ -1908,11 +1921,13 @@ namespace DigitalSchoolApi.Controllers
{
try
{
if (stuInfoBasicList.Exists(x => x.StuNo == item.STU_NO && x.StuName == item.NAME_))
if (stuInfoBasicList.Exists(x => x.StuNo == item.STU_NO))
{
//学生存在,修改
#region 拼接SQL
StringBuilder sb = new StringBuilder("update StuInfoBasic set ");
sb.Append($" StuName='{item.NAME_}',");
sb.Append($" UpdateTime='{DateTime.Now}', ");
if (!string.IsNullOrEmpty(item.DEPT_ID))
{
sb.Append($" DeptNo='{item.DEPT_ID}',");
@@ -1947,7 +1962,7 @@ namespace DigitalSchoolApi.Controllers
}
if (!string.IsNullOrEmpty(item.SEX_CODE))
{
sb.Append(" GenderNo='"+(item.SEX_CODE=="1"?"1":"0")+"',");
sb.Append(" GenderNo='" + (item.SEX_CODE == "1" ? "1" : "0") + "',");
}
//民族
if (!string.IsNullOrEmpty(item.NATION_CODE))
@@ -1998,7 +2013,7 @@ namespace DigitalSchoolApi.Controllers
{
sb.Remove(sb.ToString().LastIndexOf(","), 1);
}
sb.Append($" where StuNo='{item.STU_NO}' and StuName='{item.NAME_}'");
sb.Append($" where StuNo='{item.STU_NO}'");
//System.IO.File.AppendAllText(@"c:\test.txt", sb.ToString() + "\r\n");
#endregion
unum += conn.Execute(sb.ToString());
@@ -2056,8 +2071,8 @@ namespace DigitalSchoolApi.Controllers
string mysql = "insert into StuInfoBasic(";
StringBuilder fieleSb = new StringBuilder();
StringBuilder sb = new StringBuilder();
fieleSb.Append("StuId,stuno,stuname,CheckMark,F_SchoolId,");
sb.Append($" NEWID(),'{xsxx.STU_NO}','{xsxx.NAME_}','1','207fa1a9-160c-4943-a89b-8fa4db0547ce',");
fieleSb.Append("StuId,stuno,stuname,CheckMark,F_SchoolId,UpdateTime,");
sb.Append($" NEWID(),'{xsxx.STU_NO}','{xsxx.NAME_}','1','207fa1a9-160c-4943-a89b-8fa4db0547ce','{DateTime.Now}',");
if (!string.IsNullOrEmpty(xsxx.DEPT_ID))
{
fieleSb.Append("DeptNo,");
@@ -2138,7 +2153,7 @@ namespace DigitalSchoolApi.Controllers
sb.Append($" '{xsxx.ENROLL_GRADE.ToString().Substring(2)}',");
}

if (xsxx.IS_NORMAL!=null)
if (xsxx.IS_NORMAL != null)
{
fieleSb.Append("InSchoolStatus,");
sb.Append(" '" + (xsxx.IS_NORMAL) + "',");
@@ -2338,11 +2353,6 @@ namespace DigitalSchoolApi.Controllers
{
try
{
using (IDbConnection conncore = new SqlConnection(_coresqlConnection))
{
conncore.Execute(
$"insert into LR_Base_Log(F_LogId,F_CategoryId,F_SourceObjectId,F_SourceContentJson,F_OperateTime) values(newid(),55555,'一卡通交易流水1','开始执行',getdate())");
}
string Token = "";
#region 登陆获取token
//获取配置文件
@@ -2362,57 +2372,83 @@ namespace DigitalSchoolApi.Controllers
using (IDbConnection conncore = new SqlConnection(_coresqlConnection))
{
conncore.Execute(
$"insert into LR_Base_Log(F_LogId,F_CategoryId,F_SourceObjectId,F_SourceContentJson,F_OperateTime) values(newid(),55555,'一卡通交易流水2','Token秘钥获取成功',getdate())");
$"insert into LR_Base_Log(F_LogId,F_CategoryId,F_SourceObjectId,F_SourceContentJson,F_OperateTime) values(newid(),55555,'一卡通交易流水','Token秘钥获取成功',getdate())");
}
#endregion

#region 插入数据
using (IDbConnection conn = new SqlConnection(_sqlConnection))
{
var tday = DateTime.Now.ToShortDateString();
DateTime StartTime = DateTime.Today.AddHours(0);
DateTime EndTime = DateTime.Today.AddHours(1);

string JylsUrl = ConfigurationManager.AppSettings["JylsUrl"];
var Historylist = Convert.ToInt64(conn.ExecuteScalar("select isnull(Max(centralNo),0) from MealCardRunTab "));
string data = "{ \"pageNo\":\"1\",\"PageSize\":\"1000\",\"Date\":\"" + DateTime.Now.ToShortDateString() + "\",\"StartTime\":\"00:00:00\",\"EndTime\":\"23:59:59\"}";
string data = "{ \"pageNo\":\"1\",\"PageSize\":\"1000\",\"Date\":\"" + tday + "\",\"StartTime\":\"00:00:00\",\"EndTime\":\"23:59:59\",\"depcode\":\"7D\"}";
var responses = HttpMethods.sendHttpPost(JylsUrl, Token, data);
var RequsetList = JsonConvert.DeserializeObject<JSONList>(responses);
if (RequsetList.pageTotal > 0)


using (IDbConnection conncore = new SqlConnection(_coresqlConnection))
{
conncore.Execute(
$"insert into LR_Base_Log(F_LogId,F_CategoryId,F_SourceObjectId,F_SourceContentJson,F_OperateTime) values(newid(),55555,'一卡通数据()','本次一共" + RequsetList.total + "条数据',getdate())");
}


for (int k = 0; k <= 23; k++)
{
for (int i = 1; i <= RequsetList.pageTotal; i++)
using (IDbConnection conncore = new SqlConnection(_coresqlConnection))
{
conncore.Execute(
$"insert into LR_Base_Log(F_LogId,F_CategoryId,F_SourceObjectId,F_SourceContentJson,F_OperateTime) values(newid(),55555,'一卡通数据','第" + k + "次循环',getdate())");
}
if (k != 0)
{
StartTime = StartTime.AddHours(1);
EndTime = EndTime.AddHours(1);
}
data = "{ \"pageNo\":\"1\",\"PageSize\":\"1000\",\"Date\":\"" + tday + "\",\"StartTime\":\"" + StartTime + "\",\"EndTime\":\"" + EndTime + "\",\"depcode\":\"7D\"}";
responses = HttpMethods.sendHttpPost(JylsUrl, Token, data);
RequsetList = JsonConvert.DeserializeObject<JSONList>(responses);

if (RequsetList.pageTotal > 0)
{
data = "{ \"pageNo\":\"" + i + " \",\"PageSize\":\"1000\",\"Date\":\"" + DateTime.Now.ToShortDateString() + "\",\"StartTime\":\"00:00:00\",\"EndTime\":\"23:59:59\"}";
var responses1 = HttpMethods.sendHttpPost(JylsUrl, Token, data);
var RequsetList1 = JsonConvert.DeserializeObject<JSONList>(responses1);
var NowCen = RequsetList1.data.flowlist.Max(x => x.centralNo);
if (NowCen > Historylist)
int total = (int)Math.Ceiling((decimal)RequsetList.total / 1000);
using (IDbConnection conncore = new SqlConnection(_coresqlConnection))
{
using (IDbConnection conncore = new SqlConnection(_coresqlConnection))
{
conncore.Execute(
$"insert into LR_Base_Log(F_LogId,F_CategoryId,F_SourceObjectId,F_SourceContentJson,F_OperateTime) values(newid(),55555,'一卡通交易流水3','准备开始插入数据',getdate())");
}
for (int j = 0; j < RequsetList1.data.flowlist.Count; j++)
conncore.Execute(
$"insert into LR_Base_Log(F_LogId,F_CategoryId,F_SourceObjectId,F_SourceContentJson,F_OperateTime) values(newid(),55555,'一卡通交易流水1','一共" + RequsetList.total + "条数据',getdate())");
}

for (int i = 1; i <= total; i++)
{
data = "{ \"pageNo\":\"" + i + " \",\"PageSize\":\"1000\",\"Date\":\"" + tday + "\",\"StartTime\":\"" + StartTime + "\",\"EndTime\":\"" + EndTime + "\",\"depcode\":\"7D\"}";
responses = HttpMethods.sendHttpPost(JylsUrl, Token, data);
RequsetList = JsonConvert.DeserializeObject<JSONList>(responses);
if (RequsetList.data.flowlist.Count > 0)
{
var nowCen = Convert.ToInt32(conn.ExecuteScalar("select Count(*) from MealCardRunTab where centralNo='" + RequsetList1.data.flowlist[j].centralNo + "' "));
if (nowCen <= 0)
var NowCen = RequsetList.data.flowlist.Max(x => x.centralNo);
if (NowCen > Historylist)
{
conn.Execute(
"insert into MealCardRunTab(Id,accountNo,accountName,depName,personId,identiName,flowtype,flowamount,balance,cardNo,centralTm,centralNo,occurTime,node,bigGroup,smallGroup,seg,pos) " +
"values(newid(), '" + RequsetList1.data.flowlist[j].accountNo + "', '" + RequsetList1.data.flowlist[j].accountName + "', '" + RequsetList1.data.flowlist[j].depName + "','" + RequsetList1.data.flowlist[j].personId + "','" + RequsetList1.data.flowlist[j].identiName + "','" + RequsetList1.data.flowlist[j].flowType + "','" + RequsetList1.data.flowlist[j].flowAmount +
"','" + RequsetList1.data.flowlist[j].balance + "','" + RequsetList1.data.flowlist[j].cardNo + "','" + RequsetList1.data.flowlist[j].centralTm + "','" + RequsetList1.data.flowlist[j].centralNo + "','" + RequsetList1.data.flowlist[j].occurTime + "','" + RequsetList1.data.flowlist[j].node + "','" + RequsetList1.data.flowlist[j].bigGroup + "','" + RequsetList1.data.flowlist[j].group + "','" + RequsetList1.data.flowlist[j].seg + "','" + RequsetList1.data.flowlist[j].pos + "')");
}
using (IDbConnection conncore = new SqlConnection(_coresqlConnection))
{
conncore.Execute(
$"insert into LR_Base_Log(F_LogId,F_CategoryId,F_SourceObjectId,F_SourceContentJson,F_OperateTime) values(newid(),55555,'一卡通交易流水4','第" + j + "次插入数据完成',getdate())");
for (int j = 0; j < RequsetList.data.flowlist.Count; j++)
{
var nowCen = Convert.ToInt32(conn.ExecuteScalar("select Count(*) from MealCardRunTab where centralNo='" + RequsetList.data.flowlist[j].centralNo + "' "));
if (nowCen <= 0)
{
conn.Execute(
"insert into MealCardRunTab(Id,accountNo,accountName,depName,personId,identiName,flowtype,flowamount,balance,cardNo,centralTm,centralNo,occurTime,node,bigGroup,smallGroup,seg,pos) " +
"values(newid(), '" + RequsetList.data.flowlist[j].accountNo + "', '" + RequsetList.data.flowlist[j].accountName + "', '" + RequsetList.data.flowlist[j].depName + "','" + RequsetList.data.flowlist[j].personId + "','" + RequsetList.data.flowlist[j].identiName + "','" + RequsetList.data.flowlist[j].flowType + "','" + RequsetList.data.flowlist[j].flowAmount +
"','" + RequsetList.data.flowlist[j].balance + "','" + RequsetList.data.flowlist[j].cardNo + "','" + RequsetList.data.flowlist[j].centralTm + "','" + RequsetList.data.flowlist[j].centralNo + "','" + RequsetList.data.flowlist[j].occurTime + "','" + RequsetList.data.flowlist[j].node + "','" + RequsetList.data.flowlist[j].bigGroup + "','" + RequsetList.data.flowlist[j].group + "','" + RequsetList.data.flowlist[j].seg + "','" + RequsetList.data.flowlist[j].pos + "')");
}
}
}
}
}
using (IDbConnection conncore = new SqlConnection(_coresqlConnection))
{
conncore.Execute(
$"insert into LR_Base_Log(F_LogId,F_CategoryId,F_SourceObjectId,F_SourceContentJson,F_OperateTime) values(newid(),55555,'一卡通交易流水5','插入数据',getdate())");
}
}
}

}
#endregion
}


+ 5
- 5
DigitalSchoolApi/Web.config Ver ficheiro

@@ -21,7 +21,7 @@
<add key="secretcode" value="2f9af5ea0704ed15" />
<add key="pwdcode" value="6be99c61d83f0184f4f5b768b30e1813" />
<add key="apiUrl" value="http://localhost:8088" />
<add key="dbbackuppath" value="E:\西昌程序单校区版2019_09_16\Learun.Framework.Ultimate V7\Learun.Application.Web\Resource\DataBaseBackup" />
<add key="dbbackuppath" value="D:\西昌程序单校区版2019_09_16\Learun.Framework.Ultimate V7\Learun.Application.Web\Resource\DataBaseBackup" />
<add key="AttendancePhotoPath" value="E:\西昌程序单校区版2019_09_16\Learun.Framework.Ultimate V7\Learun.Application.Web\Resource\AttendancePhoto" />
<!--自动考勤人员角色Id-->
<add key="AutoAttendance" value="8f271d78-66ed-43d6-b7ed-d729c2d36282" />
@@ -53,18 +53,18 @@
</appSettings>
<connectionStrings>
<!--<add name="ConnectionPfcMisDBString" connectionString="server=112.45.152.8;database=CollegeMIS;Max Pool Size=1000;Min Pool Size=5;UID=sa;Pwd=qj@2018;" providerName="System.Data.SqlClient" />-->
<add name="ConnectionPfcMisDBString" connectionString="server=123.57.209.16;database=CollegeMIS_西昌;Max Pool Size=1000;Min Pool Size=5;UID=sa;Pwd=bjqjkj@2014~2015!;" providerName="System.Data.SqlClient" />
<add name="ConnectionPfcMisDBString" connectionString="server=8.141.155.183,53314;database=CollegeMIS_长阳;Max Pool Size=1000;Min Pool Size=5;UID=sa;Pwd=bjqjkj@2014~2015!;" providerName="System.Data.SqlClient" />
<add name="ConnectionPfcMisDBString2" connectionString="server=192.168.100.225;database=CollegeMIS;Max Pool Size=1000;Min Pool Size=5;UID=sa;Pwd=Jykj@2019;" providerName="System.Data.SqlClient" />
<add name="CoreDBString" connectionString="server=123.57.209.16;database=adms7ultimate2_西昌;Max Pool Size=1000;Min Pool Size=5;UID=sa;Pwd=bjqjkj@2014~2015!;" providerName="System.Data.SqlClient" />
<add name="CoreDBString" connectionString="server=8.141.155.183,53314;database=adms7ultimate2_长阳;Max Pool Size=1000;Min Pool Size=5;UID=sa;Pwd=bjqjkj@2014~2015!;" providerName="System.Data.SqlClient" />
<add name="CoreDBString2" connectionString="server=192.168.100.225;database=adms7ultimate2;Max Pool Size=1000;Min Pool Size=5;UID=sa;Pwd=Jykj@2019;" providerName="System.Data.SqlClient" />
<add name="hangfireString" connectionString="Server=123.57.209.16;Initial Catalog=Hangfire;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" />
<add name="YKTDBString" connectionString="Data Source=xcykt;Persist Security Info=True;User ID=xcysdata;Password=xcysdata2019;Unicode=True" providerName="System.Data.OracleClient" />
<add name="mjDBString" connectionString="Server=112.45.152.8,17049;Initial Catalog=mjxtjh;User ID=mjxtjh;Password=s1RKFzJvIG7KfcNRtntZ" providerName="System.Data.SqlClient" />
<add name="tsDBString" connectionString="Server=112.45.152.8,17049;Initial Catalog=tsgxtjh;User ID=tsgxtjh;Password=Qs6cYOzFoQupbr12MFZm" providerName="System.Data.SqlClient" />
<add name="bachuJavaDBString" connectionString="Data Source=127.0.0.1;Database=oa;User ID=root;Password=123456;Command Logging=false;" providerName="MySql.Data.MySqlClient" />
<add name="TLMZYMiddleDBString" connectionString="Data Source=TLMZYMIDDLE;Persist Security Info=True;User ID=digitalschool;Password=digitalschool;Unicode=True" providerName="System.Data.OracleClient" />
<add name="CYZJMiddleDBString" connectionString="Data Source=CYZJMIDDLE;Persist Security Info=True;User ID=digitalschool;Password=digitalschool;Unicode=True" providerName="System.Data.OracleClient" />
<add name="YongyouDb" connectionString="Server=123.57.209.16;Password=bjqjkj@2014~2015!;User ID=sa; Initial Catalog=u8gx" providerName="System.Data.SqlClient" />
<add name="YongyouDb" connectionString="Server=8.141.155.183,53314;Password=bjqjkj@2014~2015!;User ID=sa; Initial Catalog=u8gx" providerName="System.Data.SqlClient" />
<add name="XCMiddleDBString" connectionString="Data Source=FSZJK;Persist Security Info=True;User ID=fszjk;Password=fszjk20220705;Unicode=True" providerName="System.Data.OracleClient" />
<add name="HLZJMiddleDBString" connectionString="Data Source=ORCL;Persist Security Info=True;User ID=digitalschool;Password=digitalschool;Unicode=True" providerName="System.Data.OracleClient" />



Carregando…
Cancelar
Guardar