From 2b2856beee3dd2731542a389f1704ba402f8e8bb Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Wed, 15 Apr 2026 16:40:27 +0800 Subject: [PATCH] 1 --- SGGL/BLL/HJGL/PointTrust/PointBatchDetailService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SGGL/BLL/HJGL/PointTrust/PointBatchDetailService.cs b/SGGL/BLL/HJGL/PointTrust/PointBatchDetailService.cs index ddeb5ae3..d878af84 100644 --- a/SGGL/BLL/HJGL/PointTrust/PointBatchDetailService.cs +++ b/SGGL/BLL/HJGL/PointTrust/PointBatchDetailService.cs @@ -208,7 +208,7 @@ namespace BLL //小于500的焊口按比例及规则点口 var batchItems500Down = from x in db.HJGL_Batch_PointBatchItem join y in db.HJGL_WeldJoint on x.WeldJointId equals y.WeldJointId - where y.Dia < 500 && x.PointBatchId == pointBatchId + where (y.Dia < 500 || y.Dia == null) && x.PointBatchId == pointBatchId select x; if (batch.DetectionRateId != null && batchItems500Down.Count() > 0) { @@ -219,11 +219,11 @@ namespace BLL var weldG = from x in db.HJGL_Batch_PointBatchItem join y in db.HJGL_WeldJoint on x.WeldJointId equals y.WeldJointId - where y.JointAttribute == "安装口" && y.Dia < 500 && x.PointBatchId == pointBatchId + where y.JointAttribute == "安装口" && (y.Dia < 500 || y.Dia == null) && x.PointBatchId == pointBatchId select x; var weldA = from x in db.HJGL_Batch_PointBatchItem join y in db.HJGL_WeldJoint on x.WeldJointId equals y.WeldJointId - where y.JointAttribute == "预制口" && y.Dia < 500 && x.PointBatchId == pointBatchId + where y.JointAttribute == "预制口" && (y.Dia < 500 || y.Dia == null) && x.PointBatchId == pointBatchId select x; if (weldG.Count() > 0) {