feat:bug fixed
parent
5a7fe156d5
commit
6b507cf917
|
|
@ -1054,7 +1054,7 @@ namespace New_College.Services
|
|||
PlanIds.AddRange(newids);
|
||||
}
|
||||
}
|
||||
var descinfo = await _dal.Query(x => x.IsDelete == false && PlanIds.Contains(x.Id));
|
||||
var descinfo = await _PlanMajorDescRepository.Query(x => x.IsDelete == false && PlanIds.Contains(x.Id));
|
||||
foreach (var item in info)
|
||||
{
|
||||
if (!string.IsNullOrWhiteSpace(item.PlanMajorIds))
|
||||
|
|
@ -1069,11 +1069,11 @@ namespace New_College.Services
|
|||
{
|
||||
var newinfos = nowdesc.Select(x => new PlanInfo()
|
||||
{
|
||||
Money = x.Tuitionfee,
|
||||
Year = x.Studyyears == null ? "-" : x.Studyyears == "" ? "-" : x.Studyyears,
|
||||
PlanName = x.MajorName,
|
||||
PlanNum = x.Plancount,
|
||||
Scoreline = x.Scoreline
|
||||
Money = x.Free,
|
||||
Year = x.Years == 0 ? "-" : x.Years.ToString() == "" ? "-" : x.Years.ToString(),
|
||||
PlanName = x.Major,
|
||||
PlanNum = x.PlanCount,
|
||||
Scoreline = x.LowScore
|
||||
}).ToList();
|
||||
count.FirstOrDefault().Infos.AddRange(newinfos);
|
||||
|
||||
|
|
@ -1091,12 +1091,11 @@ namespace New_College.Services
|
|||
|
||||
Infos = nowdesc.Select(x => new PlanInfo()
|
||||
{
|
||||
Money = x.Tuitionfee,
|
||||
Year = x.Studyyears == null ? "-" : x.Studyyears == "" ? "-" : x.Studyyears,
|
||||
YearName = yearname,
|
||||
PlanName = x.MajorName,
|
||||
PlanNum = x.Plancount,
|
||||
Scoreline = x.Scoreline
|
||||
Money = x.Free,
|
||||
Year = x.Years == 0 ? "-" : x.Years.ToString() == "" ? "-" : x.Years.ToString(),
|
||||
PlanName = x.Major,
|
||||
PlanNum = x.PlanCount,
|
||||
Scoreline = x.LowScore
|
||||
}).ToList()
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue