This commit is contained in:
2025-05-26 18:50:25 +08:00
parent cb71838085
commit 763c2ebe18
3 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -289,7 +289,8 @@ namespace BLL
CNProfessionalName = (from y in db.Base_CNProfessional where y.CNProfessionalId == x.CNProfessionalCode select y.ProfessionalName).First(),
UnitWork = (from y in db.WBS_UnitWork where y.UnitWorkId == x.UnitWorkId select y.UnitWorkCode + "-" + y.UnitWorkName + (y.ProjectType == "1" ? "(建筑)" : "(安装)")).First(),
CheckMan = (from y in db.Sys_User where y.UserId == x.CheckMan select y.UserName).First()
CheckMan = (from y in db.Sys_User where y.UserId == x.CheckMan select y.UserName).First(),
x.CCManIds
};
var list = qq1.Skip(index * page).Take(page).ToList();
@@ -325,6 +326,8 @@ namespace BLL
x.CNProfessionalCode = list[i].CNProfessionalCode + "$" + list[i].CNProfessionalName;
x.AttachUrl = AttachFileService.getFileUrl(x.CheckControlCode);
x.ReAttachUrl = AttachFileService.getFileUrl(x.CheckControlCode + "r");
var ccManNames = UserService.getUserNamesUserIds(x.CCManIds);
x.CCManIds = (x.CCManIds != null ? x.CCManIds : "") + "$" + ccManNames;
listRes.Add(x);
}
return listRes;