This commit is contained in:
2024-05-26 22:29:27 +08:00
parent aec61bcebf
commit 7690087c95
11 changed files with 305 additions and 14 deletions
@@ -286,17 +286,24 @@ namespace BLL
newPointBatchItem.WeldJointId = weldJointId;
newPointBatchItem.WeldingDate = weldingDate;
newPointBatchItem.IsCheckRepair = false;
if (rate.DetectionRateValue != 0)
if (ndttype.SysType == "射线检测")
{
if (rate.DetectionRateValue == 5 || rate.DetectionRateValue == 10)
if (rate.DetectionRateValue != 0)
{
newPointBatchItem.AcceptLevel = "Ⅲ";
}
else
{
newPointBatchItem.AcceptLevel = "Ⅱ";
if (rate.DetectionRateValue == 5 || rate.DetectionRateValue == 10)
{
newPointBatchItem.AcceptLevel = "Ⅲ";
}
else
{
newPointBatchItem.AcceptLevel = "Ⅱ";
}
}
}
else
{
newPointBatchItem.AcceptLevel = "";
}
newPointBatchItem.IsCompletedPoint = false;
BLL.Batch_PointBatchItemService.AddPointBatchItem(newPointBatchItem); // 插入明细表