develop
liuyangyi 2024-06-11 23:58:08 +08:00
parent 685c86ac1a
commit 6830984847
4 changed files with 7 additions and 7 deletions

View File

@ -69,12 +69,12 @@ namespace New_College.Controllers
//return d_LongIdMapServices.UpdateUniveristyInf(); //return d_LongIdMapServices.UpdateUniveristyInf();
//更新院校分数线 //更新院校分数线
//await d_LongIdMapServices.UpdateSchoolScoreLine23("四川省"); await d_LongIdMapServices.UpdateSchoolScoreLine23("河南省","理科");
// await d_LongIdMapServices.PlanNeedProSync("四川省", 2023, "文科", "专科"); // await d_LongIdMapServices.PlanNeedProSync("四川省", 2023, "文科", "专科");
// await v_CustomerInfoServices.CustomeBillExport(); // await v_CustomerInfoServices.CustomeBillExport();
await d_LongIdMapServices.UpdatePlanProInf(); // await d_LongIdMapServices.UpdatePlanProInf();
return true; return true;
} }

View File

@ -97,14 +97,14 @@
"DBType": 0, "DBType": 0,
"Enabled": true, "Enabled": true,
"HitRate": 20, "HitRate": 20,
"Connection": "Server=192.168.104.108; Port=3306;SslMode=None;Database=volunteerapp; Uid=root; Pwd=Vs..127134;CharSet=utf8mb4;AllowLoadLocalInfile=true;SslMode=none" "Connection": "Server=192.168.104.103; Port=3306;SslMode=None;Database=volunteerapp; Uid=volunteerapp; Pwd=Vs..127134;CharSet=utf8mb4;AllowLoadLocalInfile=true;SslMode=none"
}, },
{ {
"ConnId": "MYSQL_CasDoor", "ConnId": "MYSQL_CasDoor",
"DBType": 0, "DBType": 0,
"Enabled": true, "Enabled": true,
"HitRate": 20, "HitRate": 20,
"Connection": "Server=192.168.104.108; Port=3306;SslMode=None;Database=casdoor; Uid=root; Pwd=Vs..127134;CharSet=utf8mb4;AllowLoadLocalInfile=true" "Connection": "Server=192.168.104.103; Port=3306;SslMode=None;Database=casdoor; Uid=casdoor; Pwd=Vs..127134;CharSet=utf8mb4;AllowLoadLocalInfile=true"
}, },
{ {
"ConnId": "WMBLOG_ORACLE", "ConnId": "WMBLOG_ORACLE",

View File

@ -28,7 +28,7 @@ namespace New_College.IServices
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
Task<bool> UpdatePlanScoreLine(); Task<bool> UpdatePlanScoreLine();
Task<bool> UpdateSchoolScoreLine23(string Location); Task<bool> UpdateSchoolScoreLine23(string Location,string subjectType);
Task<bool> UpdatePlanProInf(); Task<bool> UpdatePlanProInf();
Task<bool> Import(); Task<bool> Import();

View File

@ -1975,12 +1975,12 @@ namespace New_College.Services
/// ///
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
public async Task<bool> UpdateSchoolScoreLine23(string Location) public async Task<bool> UpdateSchoolScoreLine23(string Location,string subjectType)
{ {
var dsQualification = new List<D_QualificationLine>(); var dsQualification = new List<D_QualificationLine>();
var list = await d_PlanMajorScoreLineRepository.Query(e => e.IsDelete == false && e.Years == 2023 && e.Location == Location); var list = await d_PlanMajorScoreLineRepository.Query(e => e.IsDelete == false && e.Years == 2023 && e.Location == Location&&e.SubjectType== subjectType);
//var planlist = await d_PlanMajorDescProRepository.Query(e => e.IsDelete == false && e.Years == 2023 && e.Location == "浙江省"); //var planlist = await d_PlanMajorDescProRepository.Query(e => e.IsDelete == false && e.Years == 2023 && e.Location == "浙江省");
var universitylist = await d_UniversityRepository.Query(); var universitylist = await d_UniversityRepository.Query();