|
@@ -128,12 +128,23 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
|
|
|
|
|
for (int i = 0; i < Model.Count(); i++) |
|
|
for (int i = 0; i < Model.Count(); i++) |
|
|
{ |
|
|
{ |
|
|
var IspayList = this.BaseRepository("IsPay").ExecuteBySql($" select * from View_JFdd WHERE XH ='{Model[i].StuNo}' ").ToString().ToList(); |
|
|
|
|
|
if (IspayList.Count > 0) |
|
|
|
|
|
|
|
|
//var IspayList = this.BaseRepository("IsPay").ExecuteBySql($" select * from View_JFdd WHERE XH ='{Model[i].StuNo}' ").ToString().ToList(); |
|
|
|
|
|
//if (IspayList.Count > 0) |
|
|
|
|
|
//{ |
|
|
|
|
|
// Model[i].PayFeeStatus = "1"; |
|
|
|
|
|
// ListStuInfo.Add(Model[i]); |
|
|
|
|
|
//} |
|
|
|
|
|
var IspayList = this.BaseRepository("IsPay").FindTable($" select * from View_JFdd WHERE XH ='{Model[i].StuNo}' "); |
|
|
|
|
|
if (IspayList.Rows.Count > 0) |
|
|
{ |
|
|
{ |
|
|
Model[i].PayFeeStatus = "1"; |
|
|
Model[i].PayFeeStatus = "1"; |
|
|
ListStuInfo.Add(Model[i]); |
|
|
ListStuInfo.Add(Model[i]); |
|
|
} |
|
|
} |
|
|
|
|
|
else |
|
|
|
|
|
{ |
|
|
|
|
|
Model[i].PayFeeStatus = "0"; |
|
|
|
|
|
ListStuInfo.Add(Model[i]); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
this.BaseRepository("CollegeMIS").Update(ListStuInfo); |
|
|
this.BaseRepository("CollegeMIS").Update(ListStuInfo); |
|
|
} |
|
|
} |
|
|