1
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using Microsoft.SqlServer.Dts.Runtime;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
@@ -45,6 +46,17 @@ namespace BLL
|
||||
|
||||
#endregion 获取管线信息
|
||||
|
||||
public static Model.View_HJGL_WeldJoint GetHJGL_WeldJoint(string WeldJointId)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
{
|
||||
// 从数据库中获取符合条件的管线数据
|
||||
var weldjoint = db.View_HJGL_WeldJoint
|
||||
.Where(p => p.WeldJointId == WeldJointId)
|
||||
.FirstOrDefault();
|
||||
return weldjoint;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#region 获取未焊接的焊口信息
|
||||
|
||||
Reference in New Issue
Block a user