代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using FineUIPro;
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
@@ -263,13 +262,13 @@ namespace BLL
|
||||
/// </summary>
|
||||
/// <param name="weldJointId"></param>
|
||||
/// <returns></returns>
|
||||
public static string ManualPointSave(string weldJointId)
|
||||
public static string ManualPointSave(string weldJointId)
|
||||
{
|
||||
string res = "";
|
||||
string res = "";
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
{
|
||||
var PointBatchItemModel = db.HJGL_Batch_PointBatchItem.FirstOrDefault(e => e.WeldJointId == weldJointId);
|
||||
var PointBatchId= PointBatchItemModel.PointBatchId;
|
||||
var PointBatchId = PointBatchItemModel.PointBatchId;
|
||||
var batch = BLL.PointBatchService.GetPointBatchById(PointBatchId);
|
||||
if (!batch.EndDate.HasValue)
|
||||
{
|
||||
@@ -290,7 +289,7 @@ namespace BLL
|
||||
where z.PointBatchId == PointBatchId
|
||||
select x).FirstOrDefault();
|
||||
if (pipeline != null)
|
||||
{
|
||||
{
|
||||
Model.Base_DetectionRate rate = BLL.Base_DetectionRateService.GetDetectionRateByDetectionRateId(pipeline.DetectionRateId);
|
||||
if (rate != null)
|
||||
{
|
||||
@@ -310,13 +309,13 @@ namespace BLL
|
||||
select x).Count();
|
||||
if (weldJoint.JointAttribute == "安装口" && pointGNum >= pointNumG)
|
||||
{
|
||||
res = "安装口已达检测标准,无需再点此安装口!";
|
||||
res = "安装口已达检测标准,无需再点此安装口!";
|
||||
return res;
|
||||
}
|
||||
if (weldJoint.JointAttribute == "预制口" && pointNotGNum >= pointNumA)
|
||||
{
|
||||
res = "预制口已达检测标准,无需再点此预制口!";
|
||||
return res;
|
||||
return res;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -354,7 +353,7 @@ namespace BLL
|
||||
if (weldJoint.JointAttribute == "安装口" && pointGNum >= pointNumG)
|
||||
{
|
||||
res = "安装口已达检测标准,无需再点此安装口!";
|
||||
return res;
|
||||
return res;
|
||||
}
|
||||
if (weldJoint.JointAttribute == "预制口" && pointNotGNum >= pointNumA)
|
||||
{
|
||||
@@ -365,7 +364,7 @@ namespace BLL
|
||||
}
|
||||
}
|
||||
PointBatchDetailService.UpdatePointBatchDetail(PointBatchItemModel.PointBatchItemId, "1", System.DateTime.Now);
|
||||
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
@@ -375,7 +374,7 @@ namespace BLL
|
||||
}
|
||||
return res;
|
||||
|
||||
}
|
||||
}
|
||||
#region 点口调整
|
||||
/// <summary>
|
||||
/// 点口调整
|
||||
|
||||
Reference in New Issue
Block a user