This commit is contained in:
2024-05-07 16:20:40 +08:00
parent 0ede39d15e
commit a041fdd85d
18 changed files with 737 additions and 304 deletions
+1 -1
View File
@@ -233,7 +233,7 @@ namespace BLL
var res = getDataLists.ToList();
foreach (var x in res)
{
x.child = getAllDataLists.Where(xx => xx.SupResourcesId == x.ResourcesId).ToList();
x.child = getTestTrainingListBySupTrainingId(x.ResourcesId);
}
return res;
+2
View File
@@ -252,6 +252,7 @@ namespace BLL
ViceCNProfessionalId = user.ViceCNProfessionalId,
WorkNo = user.WorkNo,
HomePageType = user.HomePageType,
IsExpertArgumentationIsAuditor=user.IsExpertArgumentationIsAuditor
};
db.Sys_User.InsertOnSubmit(newUser);
db.SubmitChanges();
@@ -335,6 +336,7 @@ namespace BLL
newUser.ViceCNProfessionalId = user.ViceCNProfessionalId;
newUser.WorkNo = user.WorkNo;
newUser.HomePageType = user.HomePageType;
newUser.IsExpertArgumentationIsAuditor = user.IsExpertArgumentationIsAuditor;
db.SubmitChanges();
}
}