feat:bug fixed
parent
046ebcabf8
commit
176bd353ef
|
|
@ -323,7 +323,13 @@ namespace New_College.Services
|
||||||
if (info == null || info.IsDelete)
|
if (info == null || info.IsDelete)
|
||||||
return new MessageModel<CustomerInfoResult>() { success = false, msg = "获取失败,用户信息为空" };
|
return new MessageModel<CustomerInfoResult>() { success = false, msg = "获取失败,用户信息为空" };
|
||||||
var years = info.Year > 2023 ? 2023 : info.Year;
|
var years = info.Year > 2023 ? 2023 : info.Year;
|
||||||
var typename = info.subjectgroupName.Length > 2 ? "综合" : info.subjectgroupName;
|
|
||||||
|
string typename = "综合";
|
||||||
|
if (info.subjectgroupName != null)
|
||||||
|
{
|
||||||
|
typename = info.subjectgroupName.Length > 2 ? "综合" : info.subjectgroupName;
|
||||||
|
|
||||||
|
}
|
||||||
var batchlist = await t_BatchlineRepository.Query(c => c.Year == years && c.AreaName == info.AreaName && c.Type_name == typename);
|
var batchlist = await t_BatchlineRepository.Query(c => c.Year == years && c.AreaName == info.AreaName && c.Type_name == typename);
|
||||||
string BatchName = string.Empty;
|
string BatchName = string.Empty;
|
||||||
if (info.AreaName == "河南省")
|
if (info.AreaName == "河南省")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue