This commit is contained in:
jackchenyang
2024-05-17 15:32:22 +08:00
32 changed files with 565 additions and 196 deletions
@@ -108,7 +108,12 @@ namespace BLL
/// <returns></returns>
public static ListItem[] GetAllTeamGroupList(string projectId, string unitId)
{
var q = (from x in Funs.DB.Welder_TeamGroup where x.ProjectId==projectId && x.UnitId == unitId orderby x.TeamGroupName select x).ToList();
var q = (from x in Funs.DB.Welder_TeamGroup where x.ProjectId==projectId orderby x.TeamGroupName select x).ToList();
if (!string.IsNullOrEmpty(unitId))
{
q = q.Where(x => x.UnitId == unitId).ToList();
}
ListItem[] lis = new ListItem[q.Count()];
for (int i = 0; i < q.Count(); i++)
@@ -98,6 +98,7 @@ namespace BLL
SystemNumber = weldJoint.SystemNumber,
Remark = weldJoint.Remark,
IsGoldJoint = weldJoint.IsGoldJoint,
IsPMI=weldJoint.IsPMI,
WPQId = weldJoint.WPQId,
DetectionType = weldJoint.DetectionType,
PageNum = weldJoint.PageNum,