111
This commit is contained in:
@@ -236,6 +236,7 @@ namespace BLL
|
||||
newCH_HardTestReport.STE_ID = cH_Trust.STE_ID;
|
||||
newCH_HardTestReport.TrustName = cH_Trust.TrustName;
|
||||
newCH_HardTestReport.ReportName = cH_Trust.ReportName;
|
||||
newCH_HardTestReport.ExecStandard = cH_Trust.ExecStandard;
|
||||
|
||||
db.SubmitChanges();
|
||||
}
|
||||
@@ -327,6 +328,7 @@ namespace BLL
|
||||
newTrustItem.HotProessTrustId = trustItem.HotProessTrustId;
|
||||
newTrustItem.Flag = trustItem.Flag;
|
||||
newTrustItem.IsShow = trustItem.IsShow;
|
||||
newTrustItem.CheckDate = trustItem.CheckDate;
|
||||
db.HJGL_CH_HardTestReportItem.InsertOnSubmit(newTrustItem);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
@@ -346,6 +348,7 @@ namespace BLL
|
||||
newItem.Remark = trustItem.Remark;
|
||||
newItem.Flag = trustItem.Flag;
|
||||
newItem.NewFlag = trustItem.NewFlag;
|
||||
newItem.CheckDate = trustItem.CheckDate;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1313,6 +1313,24 @@ namespace BLL
|
||||
return name;
|
||||
}
|
||||
|
||||
public static string ConvertJointCodeString(string jotIdList)
|
||||
{
|
||||
string name = string.Empty;
|
||||
string[] list = jotIdList.Split(',');
|
||||
foreach (var item in list)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(item))
|
||||
{
|
||||
name += GetJointInfoByJotID(item).JOT_JointNo + ",";
|
||||
}
|
||||
}
|
||||
if (!string.IsNullOrEmpty(name))
|
||||
{
|
||||
name = name.Substring(0, name.LastIndexOf(","));
|
||||
}
|
||||
return name;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据焊口号、管线ID、项目Id获取焊口信息
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user