feat(hjgl): 完善委托焊口调整和返修扩透

支持调整委托焊口和退回委托,完善返修扩透操作,并更新对应页面资源。
This commit is contained in:
2026-12-01 09:34:22 +08:00
parent 61b877207c
commit 443ae01d22
19 changed files with 1030 additions and 271 deletions
+6 -3
View File
@@ -881,8 +881,8 @@ namespace BLL
join z in db.HJGL_Batch_PointBatch on x.PointBatchId equals z.PointBatchId
join y in db.HJGL_WeldJoint on x.WeldJointId equals y.WeldJointId
join d in db.HJGL_WeldingDaily on y.WeldingDailyId equals d.WeldingDailyId
where z.DetectionTypeId == record.DetectionTypeId
&& !x.PointDate.HasValue || (x.PointDate.HasValue && x.RepairRecordId == repairRecordId)
where z.ProjectId == record.ProjectId && z.DetectionTypeId == record.DetectionTypeId
&& (!x.PointDate.HasValue || x.RepairRecordId == repairRecordId)
orderby y.WeldJointCode
select new
{
@@ -894,6 +894,7 @@ namespace BLL
y.PipelineCode,
y.JointArea,
y.BackingWelderId,
y.CoverWelderId,
y.Material1Id,
y.Specification,
d.WeldingDate
@@ -901,7 +902,9 @@ namespace BLL
if (welder)
{
repairExp = repairExp.Where(x => x.BackingWelderId == jot.BackingWelderId);
var welderIds = new[] { jot.BackingWelderId, jot.CoverWelderId }
.Where(x => !string.IsNullOrEmpty(x)).Distinct().ToList();
repairExp = repairExp.Where(x => welderIds.Contains(x.BackingWelderId) || welderIds.Contains(x.CoverWelderId));
}
if (batch)
{