This commit is contained in:
2026-07-20 10:12:01 +08:00
parent 4bfb912489
commit 0669a169f0
4 changed files with 275 additions and 39 deletions
@@ -0,0 +1,13 @@
alter table HJGL_CH_HotProessTrustItem add ISO_ID varchar(50)
go
ALTER TABLE [dbo].[HJGL_CH_HotProessTrustItem] WITH CHECK ADD CONSTRAINT [FK_HJGL_CH_HotProessTrustItem_HJGL_PW_IsoInfo] FOREIGN KEY([ISO_ID])
REFERENCES [dbo].[HJGL_PW_IsoInfo] ([ISO_ID])
GO
ALTER TABLE [dbo].[HJGL_CH_HotProessTrustItem] CHECK CONSTRAINT [FK_HJGL_CH_HotProessTrustItem_HJGL_PW_IsoInfo]
GO
UPDATE t SET t.ISO_ID = j.ISO_ID
FROM [dbo].[HJGL_CH_HotProessTrustItem] t
INNER JOIN [dbo].[HJGL_PW_JointInfo] j ON t.JOT_ID = j.JOT_ID
go
@@ -57,23 +57,32 @@ namespace FineUIPro.Web.HJGL.HotProessManage
List<Model.HJGL_CH_HotProessResult> hotProessResults = new List<Model.HJGL_CH_HotProessResult>();
foreach (var item in allIsos)
{
Model.HJGL_CH_HotProessTrust newHotProessTrust = new Model.HJGL_CH_HotProessTrust();
newHotProessTrust.ProjectId = item.ProjectId;
newHotProessTrust.HotProessTrustCode = BLL.SQLHelper.RunProcNewIdByProjectId("SpGetNewCode2ByProjectIdNoR", "dbo.HJGL_CH_HotProessTrust", "HotProessTrustCode", item.ProjectId, item.ProjectCode + "-" + string.Format("{0:MMdd}", DateTime.Now) + "-");
newHotProessTrust.TrustUnitId = item.BSU_ID;
newHotProessTrust.ProjectName = item.ProjectName;
newHotProessTrust.ConstructionNo = item.ProjectCode;
var projectUser = allProjectUser.FirstOrDefault(x => x.ProjectId == item.ProjectId && x.UnitId == item.BSU_ID);
if (projectUser != null)
//一条管线下所有焊口生成在一个热处理单
var hotItem = (from x in Funs.DB.HJGL_CH_HotProessTrustItem where x.ISO_ID == item.ISO_ID select x).FirstOrDefault();
if (hotItem != null)
{
newHotProessTrust.TrstManId = projectUser.UserId;
HotProessTrustId = hotItem.HotProessTrustId;
}
HotProessTrustId = SQLHelper.GetNewID(typeof(Model.HJGL_CH_HotProessTrust));
newHotProessTrust.HotProessTrustId = HotProessTrustId;
newHotProessTrust.TrustType = "1"; //正常口
db.HJGL_CH_HotProessTrust.InsertOnSubmit(newHotProessTrust);
db.SubmitChanges();
//trusts.Add(newHotProessTrust);
else
{
Model.HJGL_CH_HotProessTrust newHotProessTrust = new Model.HJGL_CH_HotProessTrust();
newHotProessTrust.ProjectId = item.ProjectId;
newHotProessTrust.HotProessTrustCode = BLL.SQLHelper.RunProcNewIdByProjectId("SpGetNewCode2ByProjectIdNoR", "dbo.HJGL_CH_HotProessTrust", "HotProessTrustCode", item.ProjectId, item.ProjectCode + "-" + string.Format("{0:MMdd}", DateTime.Now) + "-");
newHotProessTrust.TrustUnitId = item.BSU_ID;
newHotProessTrust.ProjectName = item.ProjectName;
newHotProessTrust.ConstructionNo = item.ProjectCode;
var projectUser = allProjectUser.FirstOrDefault(x => x.ProjectId == item.ProjectId && x.UnitId == item.BSU_ID);
if (projectUser != null)
{
newHotProessTrust.TrstManId = projectUser.UserId;
}
HotProessTrustId = SQLHelper.GetNewID(typeof(Model.HJGL_CH_HotProessTrust));
newHotProessTrust.HotProessTrustId = HotProessTrustId;
newHotProessTrust.TrustType = "1"; //正常口
db.HJGL_CH_HotProessTrust.InsertOnSubmit(newHotProessTrust);
db.SubmitChanges();
}
var joints = allJoints.Where(x => x.ISO_ID == item.ISO_ID);
foreach (var joint in joints)
{
@@ -85,29 +94,13 @@ namespace FineUIPro.Web.HJGL.HotProessManage
Model.HJGL_CH_HotProessTrustItem newItem = new Model.HJGL_CH_HotProessTrustItem();
newItem.HotProessTrustId = HotProessTrustId;
newItem.ISO_ID = joint.ISO_ID;
newItem.JOT_ID = joint.JOT_ID;
newItem.ProessTypes = proessTypes[i];
//item.TrustDate = Funs.GetNewDateTime(values.Value<string>("TrustDate").ToString());
newItem.TrustDate = DateTime.Now;
newItem.Remark = string.Empty;
newItem.HotProessTrustItemId = SQLHelper.GetNewID(typeof(Model.HJGL_CH_HotProessTrustItem));
trustItems.Add(newItem);
//if (newItem.ProessTypes.Contains("4") || newItem.ProessTypes.Contains("5")) //需要进入热处理报告的记录
//{
// Model.HJGL_HotProessItem hotProessItem = new Model.HJGL_HotProessItem();
// hotProessItem.HotProessItemId = SQLHelper.GetNewID(typeof(Model.HJGL_HotProessItem));
// hotProessItem.JOT_ID = newItem.JOT_ID;
// hotProessItem.HotProessTrustId = HotProessTrustId;
// hotProessItem.ProessTypes = newItem.ProessTypes;
// hotProessItem.SortIndex = BLL.HJGL_HotProessManageEditService.GetSortIndex(HotProessTrustId, newItem.JOT_ID, newItem.ProessTypes);
// Model.HJGL_CH_HotProessTrustItem hotProessTrustItem = BLL.HJGL_CH_HotProessTrustService.GetCH_HotProessTrustItemByHotProessTrustIdAndJotId(HotProessTrustId, newItem.JOT_ID);
// if (hotProessTrustItem != null)
// {
// BLL.HJGL_HotProessManageEditService.AddHotProessItem(hotProessItem, "", null);
// }
// //回写焊口热处理委托时间
// BLL.HJGL_PW_JointInfoService.WriteBackHotProessTrustDate(newItem.JOT_ID, newItem.TrustDate);
//}
//进入热处理结果反馈
Model.HJGL_CH_HotProessResult hotProessResult = new Model.HJGL_CH_HotProessResult();
hotProessResult.JOT_ID = newItem.JOT_ID;
@@ -134,6 +127,128 @@ namespace FineUIPro.Web.HJGL.HotProessManage
{
BLL.HJGL_HotProessManageEditService.AddHotProessItemByJoint(item);
}
//Model.SGGLDB db = Funs.DB;
//// 1. 一次性加载所有数据到内存,关闭延迟查询,避免长连接占用数据库
//// 待生成热处理焊口:无对应委托明细、需要热处理的焊口
//var allJoints = (from x in db.HJGL_PW_JointInfo
// where !(from y in db.HJGL_CH_HotProessTrustItem where y.JOT_ID == x.JOT_ID select y).Any()
// && x.IS_Proess == "1"
// select x).ToList();
//// 提取所有需要处理的ISO编号
//var allIsoIds = allJoints.Select(x => x.ISO_ID).Distinct().ToList();
//// 管线信息 一次性加载
//var allIsos = (from x in db.HJGL_PW_IsoInfo
// join y in db.Base_Project on x.ProjectId equals y.ProjectId
// where allIsoIds.Contains(x.ISO_ID)
// select new { x.ISO_ID, x.ProjectId, x.ISO_IsoNo, x.BSU_ID, y.ProjectName, y.ProjectCode }).ToList();
//// 项目用户 转为字典缓存,快速匹配 ProjectId+BSU_ID
//var allProjectUser = (from x in db.Project_User
// join y in db.Sys_User on x.UserId equals y.UserId
// select new { x.UserId, x.ProjectId, y.UnitId }).ToList();
//Dictionary<Tuple<string, string>, string> userDict = new Dictionary<Tuple<string, string>, string>();
//foreach (var pu in allProjectUser)
//{
// var key = Tuple.Create(pu.ProjectId, pu.UnitId);
// if (!userDict.ContainsKey(key))
// userDict[key] = pu.UserId;
//}
//// 预查询已存在的热处理委托明细,缓存ISO对应委托ID,避免循环内查库
//var existTrustItemDict = db.HJGL_CH_HotProessTrustItem
// .Where(t => allIsoIds.Contains(t.ISO_ID))
// .GroupBy(t => t.ISO_ID)
// .ToDictionary(g => g.Key, g => g.First().HotProessTrustId);
//List<Model.HJGL_CH_HotProessTrust> trusts = new List<Model.HJGL_CH_HotProessTrust>();
//List<Model.HJGL_CH_HotProessTrustItem> trustItems = new List<Model.HJGL_CH_HotProessTrustItem>();
//List<Model.HJGL_CH_HotProessResult> hotProessResults = new List<Model.HJGL_CH_HotProessResult>();
//// 按管线循环(纯内存运算,无数据库交互)
//foreach (var item in allIsos)
//{
// string hotProessTrustId = string.Empty;
// // 内存字典查找已存在委托ID,不再访问数据库
// if (existTrustItemDict.ContainsKey(item.ISO_ID))
// {
// hotProessTrustId = existTrustItemDict[item.ISO_ID];
// }
// else
// {
// Model.HJGL_CH_HotProessTrust newHotProessTrust = new Model.HJGL_CH_HotProessTrust();
// newHotProessTrust.ProjectId = item.ProjectId;
// newHotProessTrust.HotProessTrustCode =BLL.SQLHelper.RunProcNewIdByProjectId("SpGetNewCode2ByProjectIdNoR", "dbo.HJGL_CH_HotProessTrust", "HotProessTrustCode", item.ProjectId, item.ProjectCode + "-" + string.Format("{0:MMdd}", DateTime.Now) + "-");
// newHotProessTrust.TrustUnitId = item.BSU_ID;
// newHotProessTrust.ProjectName = item.ProjectName;
// newHotProessTrust.ConstructionNo = item.ProjectCode;
// newHotProessTrust.TrustType = "1"; //正常口
// // 字典快速匹配责任人
// var userKey = Tuple.Create(item.ProjectId, item.BSU_ID);
// if (userDict.TryGetValue(userKey, out string manId))
// {
// newHotProessTrust.TrstManId = manId;
// }
// hotProessTrustId = SQLHelper.GetNewID(typeof(Model.HJGL_CH_HotProessTrust));
// newHotProessTrust.HotProessTrustId = hotProessTrustId;
// // 加入集合,统一批量插入(修复原代码漏Add的BUG)
// trusts.Add(newHotProessTrust);
// }
// // 当前管线对应的所有焊口(内存筛选,不查库)
// var currJoints = allJoints.Where(x => x.ISO_ID == item.ISO_ID).ToList();
// foreach (var joint in currJoints)
// {
// if (string.IsNullOrEmpty(joint.ProessTypes))
// continue;
// string[] proessTypes = joint.ProessTypes.Split('|');
// foreach (var type in proessTypes)
// {
// // 委托明细
// Model.HJGL_CH_HotProessTrustItem newItem = new Model.HJGL_CH_HotProessTrustItem();
// newItem.HotProessTrustId = hotProessTrustId;
// newItem.ISO_ID = joint.ISO_ID;
// newItem.JOT_ID = joint.JOT_ID;
// newItem.ProessTypes = type;
// newItem.TrustDate = DateTime.Now;
// newItem.Remark = string.Empty;
// newItem.HotProessTrustItemId = SQLHelper.GetNewID(typeof(Model.HJGL_CH_HotProessTrustItem));
// trustItems.Add(newItem);
// // 热处理结果
// Model.HJGL_CH_HotProessResult hotProessResult = new Model.HJGL_CH_HotProessResult();
// hotProessResult.JOT_ID = newItem.JOT_ID;
// hotProessResult.HotProessTrustId = hotProessTrustId;
// hotProessResult.ProessTypes = newItem.ProessTypes;
// hotProessResult.HotProessResultId = SQLHelper.GetNewID(typeof(Model.HJGL_CH_HotProessResult));
// hotProessResults.Add(hotProessResult);
// }
// }
//}
//// 统一批量插入,仅一次数据库提交,大幅减少锁等待
//if (trusts.Any())
// db.HJGL_CH_HotProessTrust.InsertAllOnSubmit(trusts);
//if (trustItems.Any())
// db.HJGL_CH_HotProessTrustItem.InsertAllOnSubmit(trustItems);
//if (hotProessResults.Any())
// db.HJGL_CH_HotProessResult.InsertAllOnSubmit(hotProessResults);
//db.SubmitChanges();
//// 已焊接口新增热处理记录
//var allWeldJoints = (from x in db.HJGL_PW_JointInfo
// where x.DReportID != null && x.IS_Proess == "1"
// && (x.ProessTypes.Contains("4") || x.ProessTypes.Contains("5"))
// && !(from y in db.HJGL_HotProessItem where y.JOT_ID == x.JOT_ID select y).Any()
// select x).ToList();
//foreach (var item in allWeldJoints)
//{
// BLL.HJGL_HotProessManageEditService.AddHotProessItemByJoint(item);
//}
#endregion
this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
@@ -154,8 +269,6 @@ namespace FineUIPro.Web.HJGL.HotProessManage
this.HotProessTrustId = string.Empty;
this.InitTreeMenu();//加载树
//this.tvControlItem.SelectedNodeID = "0";
//BindGrid();
}
}
#endregion
@@ -1,10 +1,11 @@
using System;
using BLL;
using Model;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using BLL;
using Newtonsoft.Json.Linq;
namespace FineUIPro.Web.HJGL.HotProessManage
{
@@ -250,6 +251,11 @@ namespace FineUIPro.Web.HJGL.HotProessManage
{
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.HJGL_HotProessTrustMenuId, Const.BtnSave))
{
var hot = (from x in Funs.DB.HJGL_CH_HotProessTrust where x.HotProessTrustCode == this.txtHotProessTrustCode.Text.Trim() select x).FirstOrDefault();
if (hot != null)
{
this.HotProessTrustId = hot.HotProessTrustId;
}
if (BLL.HJGL_CH_HotProessTrustService.IsExistTrustCode(this.txtHotProessTrustCode.Text, this.HotProessTrustId, this.ProjectId))
{
ShowNotify("委托单号已存在,请重新录入!", MessageBoxIcon.Warning);
@@ -300,7 +306,7 @@ namespace FineUIPro.Web.HJGL.HotProessManage
BLL.HJGL_CH_HotProessTrustService.AddCH_HotProessTrust(newHotProessTrust);
BLL.Sys_LogService.AddLog(BLL.Const.System_3, this.ProjectId, this.CurrUser.UserId, "添加热处理委托信息");
}
BLL.HJGL_CH_HotProessTrustService.DeleteCH_HotProessTrustItemByCH_HotProessTrustID(this.HotProessTrustId);
//BLL.HJGL_CH_HotProessTrustService.DeleteCH_HotProessTrustItemByCH_HotProessTrustID(this.HotProessTrustId);
this.CollectGridJointInfo();
ShowNotify("提交成功!", MessageBoxIcon.Success);
PageContext.RegisterStartupScript(ActiveWindow.GetWriteBackValueReference(newHotProessTrust.HotProessTrustId)
@@ -419,7 +425,18 @@ namespace FineUIPro.Web.HJGL.HotProessManage
List<string> list = Funs.GetStrListByStr(hdItemsString.Text, '|');
List<Model.HJGL_View_CH_HotProessTrustItem> lists = BLL.HJGL_CH_HotProessTrustService.GetHotProessTrustAddItem(this.hdItemsString.Text);
this.BindGrid(lists);
//this.hdItemsString.Text = string.Empty;
///相同管线下的焊口放在一个热处理单里
var jot = BLL.HJGL_PW_JointInfoService.GetJointInfoByJotID(list.FirstOrDefault());
if (jot != null)
{
var hotitem = from x in Funs.DB.HJGL_CH_HotProessTrustItem where x.ISO_ID == jot.ISO_ID select x;
if (hotitem.Count() > 0)
{
var hot = (from x in Funs.DB.HJGL_CH_HotProessTrust where x.HotProessTrustId == hotitem.FirstOrDefault().HotProessTrustId select x).FirstOrDefault();
this.txtHotProessTrustCode.Text = hot.HotProessTrustCode;
}
}
}
#endregion
+93
View File
@@ -32579,8 +32579,12 @@ namespace Model
private string _HardRepairMark;
private string _ISO_ID;
private EntityRef<HJGL_CH_HotProessTrust> _HJGL_CH_HotProessTrust;
private EntityRef<HJGL_PW_IsoInfo> _HJGL_PW_IsoInfo;
private EntityRef<HJGL_PW_JointInfo> _HJGL_PW_JointInfo;
#region
@@ -32607,11 +32611,14 @@ namespace Model
partial void OnHardTestResultIdChanged();
partial void OnHardRepairMarkChanging(string value);
partial void OnHardRepairMarkChanged();
partial void OnISO_IDChanging(string value);
partial void OnISO_IDChanged();
#endregion
public HJGL_CH_HotProessTrustItem()
{
this._HJGL_CH_HotProessTrust = default(EntityRef<HJGL_CH_HotProessTrust>);
this._HJGL_PW_IsoInfo = default(EntityRef<HJGL_PW_IsoInfo>);
this._HJGL_PW_JointInfo = default(EntityRef<HJGL_PW_JointInfo>);
OnCreated();
}
@@ -32824,6 +32831,30 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")]
public string ISO_ID
{
get
{
return this._ISO_ID;
}
set
{
if ((this._ISO_ID != value))
{
if (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnISO_IDChanging(value);
this.SendPropertyChanging();
this._ISO_ID = value;
this.SendPropertyChanged("ISO_ID");
this.OnISO_IDChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HotProessTrustItem_HJGL_CH_HotProessTrust", Storage="_HJGL_CH_HotProessTrust", ThisKey="HotProessTrustId", OtherKey="HotProessTrustId", IsForeignKey=true)]
public HJGL_CH_HotProessTrust HJGL_CH_HotProessTrust
{
@@ -32858,6 +32889,40 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HotProessTrustItem_HJGL_PW_IsoInfo", Storage="_HJGL_PW_IsoInfo", ThisKey="ISO_ID", OtherKey="ISO_ID", IsForeignKey=true)]
public HJGL_PW_IsoInfo HJGL_PW_IsoInfo
{
get
{
return this._HJGL_PW_IsoInfo.Entity;
}
set
{
HJGL_PW_IsoInfo previousValue = this._HJGL_PW_IsoInfo.Entity;
if (((previousValue != value)
|| (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._HJGL_PW_IsoInfo.Entity = null;
previousValue.HJGL_CH_HotProessTrustItem.Remove(this);
}
this._HJGL_PW_IsoInfo.Entity = value;
if ((value != null))
{
value.HJGL_CH_HotProessTrustItem.Add(this);
this._ISO_ID = value.ISO_ID;
}
else
{
this._ISO_ID = default(string);
}
this.SendPropertyChanged("HJGL_PW_IsoInfo");
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HotProessTrustItem_HJGL_PW_JointInfo", Storage="_HJGL_PW_JointInfo", ThisKey="JOT_ID", OtherKey="JOT_ID", IsForeignKey=true)]
public HJGL_PW_JointInfo HJGL_PW_JointInfo
{
@@ -46931,6 +46996,8 @@ namespace Model
private EntitySet<HJGL_CH_HardTestReport> _HJGL_CH_HardTestReport;
private EntitySet<HJGL_CH_HotProessTrustItem> _HJGL_CH_HotProessTrustItem;
private EntitySet<HJGL_CH_RepairItemRecord> _HJGL_CH_RepairItemRecord;
private EntitySet<HJGL_CH_TestingReportPrint> _HJGL_CH_TestingReportPrint;
@@ -47051,6 +47118,7 @@ namespace Model
this._HJGL_BO_QualityRatingRepair = new EntitySet<HJGL_BO_QualityRatingRepair>(new Action<HJGL_BO_QualityRatingRepair>(this.attach_HJGL_BO_QualityRatingRepair), new Action<HJGL_BO_QualityRatingRepair>(this.detach_HJGL_BO_QualityRatingRepair));
this._HJGL_BO_RepairNotice = new EntitySet<HJGL_BO_RepairNotice>(new Action<HJGL_BO_RepairNotice>(this.attach_HJGL_BO_RepairNotice), new Action<HJGL_BO_RepairNotice>(this.detach_HJGL_BO_RepairNotice));
this._HJGL_CH_HardTestReport = new EntitySet<HJGL_CH_HardTestReport>(new Action<HJGL_CH_HardTestReport>(this.attach_HJGL_CH_HardTestReport), new Action<HJGL_CH_HardTestReport>(this.detach_HJGL_CH_HardTestReport));
this._HJGL_CH_HotProessTrustItem = new EntitySet<HJGL_CH_HotProessTrustItem>(new Action<HJGL_CH_HotProessTrustItem>(this.attach_HJGL_CH_HotProessTrustItem), new Action<HJGL_CH_HotProessTrustItem>(this.detach_HJGL_CH_HotProessTrustItem));
this._HJGL_CH_RepairItemRecord = new EntitySet<HJGL_CH_RepairItemRecord>(new Action<HJGL_CH_RepairItemRecord>(this.attach_HJGL_CH_RepairItemRecord), new Action<HJGL_CH_RepairItemRecord>(this.detach_HJGL_CH_RepairItemRecord));
this._HJGL_CH_TestingReportPrint = new EntitySet<HJGL_CH_TestingReportPrint>(new Action<HJGL_CH_TestingReportPrint>(this.attach_HJGL_CH_TestingReportPrint), new Action<HJGL_CH_TestingReportPrint>(this.detach_HJGL_CH_TestingReportPrint));
this._HJGL_Match_OutStorageItem = new EntitySet<HJGL_Match_OutStorageItem>(new Action<HJGL_Match_OutStorageItem>(this.attach_HJGL_Match_OutStorageItem), new Action<HJGL_Match_OutStorageItem>(this.detach_HJGL_Match_OutStorageItem));
@@ -47973,6 +48041,19 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HotProessTrustItem_HJGL_PW_IsoInfo", Storage="_HJGL_CH_HotProessTrustItem", ThisKey="ISO_ID", OtherKey="ISO_ID", DeleteRule="NO ACTION")]
public EntitySet<HJGL_CH_HotProessTrustItem> HJGL_CH_HotProessTrustItem
{
get
{
return this._HJGL_CH_HotProessTrustItem;
}
set
{
this._HJGL_CH_HotProessTrustItem.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_RepairItemRecord_HJGL_PW_IsoInfo", Storage="_HJGL_CH_RepairItemRecord", ThisKey="ISO_ID", OtherKey="ISO_ID", DeleteRule="NO ACTION")]
public EntitySet<HJGL_CH_RepairItemRecord> HJGL_CH_RepairItemRecord
{
@@ -48381,6 +48462,18 @@ namespace Model
entity.HJGL_PW_IsoInfo = null;
}
private void attach_HJGL_CH_HotProessTrustItem(HJGL_CH_HotProessTrustItem entity)
{
this.SendPropertyChanging();
entity.HJGL_PW_IsoInfo = this;
}
private void detach_HJGL_CH_HotProessTrustItem(HJGL_CH_HotProessTrustItem entity)
{
this.SendPropertyChanging();
entity.HJGL_PW_IsoInfo = null;
}
private void attach_HJGL_CH_RepairItemRecord(HJGL_CH_RepairItemRecord entity)
{
this.SendPropertyChanging();