Compare commits
13 Commits
acff7f22d4
...
6cd0f1e90e
Author | SHA1 | Date |
---|---|---|
|
6cd0f1e90e | |
|
3af46bd972 | |
|
e8a1998e0c | |
|
af8a1dd0ad | |
|
11bd257838 | |
|
8e6eedf614 | |
|
8ecf0eeab9 | |
|
8ea587a495 | |
|
0fae997ef0 | |
|
176c21532e | |
|
a7785913cc | |
|
f3fdbebb09 | |
|
d345661710 |
|
@ -162,7 +162,7 @@
|
||||||
</site>
|
</site>
|
||||||
<site name="WebApi" id="2">
|
<site name="WebApi" id="2">
|
||||||
<application path="/" applicationPool="Clr4IntegratedAppPool">
|
<application path="/" applicationPool="Clr4IntegratedAppPool">
|
||||||
<virtualDirectory path="/" physicalPath="E:\MyProject\ZJ_BSF\Basf_TCC7\HJGL\WebApi" />
|
<virtualDirectory path="/" physicalPath="E:\湛江巴斯夫\Basf_TCC7\HJGL\WebApi" />
|
||||||
</application>
|
</application>
|
||||||
<bindings>
|
<bindings>
|
||||||
<binding protocol="http" bindingInformation="*:3862:localhost" />
|
<binding protocol="http" bindingInformation="*:3862:localhost" />
|
||||||
|
@ -250,7 +250,7 @@
|
||||||
</site>
|
</site>
|
||||||
<site name="FineUIPro.Web(10)" id="13">
|
<site name="FineUIPro.Web(10)" id="13">
|
||||||
<application path="/" applicationPool="Clr4IntegratedAppPool">
|
<application path="/" applicationPool="Clr4IntegratedAppPool">
|
||||||
<virtualDirectory path="/" physicalPath="E:\MyProject\ZJ_BSF\Basf_TCC7\HJGL\FineUIPro.Web" />
|
<virtualDirectory path="/" physicalPath="E:\湛江巴斯夫\Basf_TCC7\HJGL\FineUIPro.Web" />
|
||||||
</application>
|
</application>
|
||||||
<bindings>
|
<bindings>
|
||||||
<binding protocol="http" bindingInformation="*:13960:localhost" />
|
<binding protocol="http" bindingInformation="*:13960:localhost" />
|
||||||
|
|
Binary file not shown.
|
@ -9,7 +9,7 @@
|
||||||
<section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false"/>
|
<section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false"/>
|
||||||
</configSections>
|
</configSections>
|
||||||
<connectionStrings>
|
<connectionStrings>
|
||||||
<add name="HJGLDBConnectionString" connectionString="Data Source=.\sql2016;Initial Catalog=HJGLDB_ZJBSF;uid=sa;pwd=1111;"/>
|
<add name="HJGLDBConnectionString" connectionString="Data Source=.;Initial Catalog=HJGLDB_ZJBSF;uid=sa;pwd=Sh@nghai9;"/>
|
||||||
<!--<add name="HJGLDBConnectionString" connectionString="Data Source=.;Initial Catalog=HJGLDB;Integrated Security=True"
|
<!--<add name="HJGLDBConnectionString" connectionString="Data Source=.;Initial Catalog=HJGLDB;Integrated Security=True"
|
||||||
providerName="System.Data.SqlClient" />-->
|
providerName="System.Data.SqlClient" />-->
|
||||||
</connectionStrings>
|
</connectionStrings>
|
||||||
|
|
|
@ -145,17 +145,11 @@
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField HeaderText="<%$ Resources:Lan,QualityNo %>" ColumnID="QualityNo" DataField="QualityNo"
|
<f:RenderField HeaderText="<%$ Resources:Lan,QualityNo %>" ColumnID="QualityNo" DataField="QualityNo"
|
||||||
FieldType="String" TextAlign="Left" Width="150px">
|
FieldType="String" TextAlign="Left" Width="150px">
|
||||||
<Editor>
|
|
||||||
<f:TextBox ID="tbxEditorQualityNo" Required="true" runat="server">
|
|
||||||
</f:TextBox>
|
|
||||||
</Editor>
|
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField HeaderText="<%$ Resources:Lan,Acceptance %>" ColumnID="Acceptance"
|
<f:RenderField HeaderText="<%$ Resources:Lan,Acceptance %>" ColumnID="Acceptance"
|
||||||
DataField="Acceptance" FieldType="String" TextAlign="Left" Width="150px">
|
DataField="Acceptance" FieldType="String" TextAlign="Left" Width="150px">
|
||||||
<Editor>
|
|
||||||
<f:TextBox ID="txtEditorAcceptance" Required="true" runat="server">
|
|
||||||
</f:TextBox>
|
|
||||||
</Editor>
|
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
</Columns>
|
</Columns>
|
||||||
<Listeners>
|
<Listeners>
|
||||||
|
|
|
@ -309,7 +309,7 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ShowNotify(Resources.Lan.PleaseSelectModifyHotProessTrust, MessageBoxIcon.Warning);
|
ShowNotify("请选择要处理的PMI委托", MessageBoxIcon.Warning);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -335,7 +335,8 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||||
//删除主表数据
|
//删除主表数据
|
||||||
Funs.DB.PMI_Delegation.DeleteOnSubmit(trustManage);
|
Funs.DB.PMI_Delegation.DeleteOnSubmit(trustManage);
|
||||||
//删除 明细表
|
//删除 明细表
|
||||||
|
var details = Funs.DB.PMI_DelegationDetails.Where(t => t.PMIId == trustManage.Id).ToList();
|
||||||
|
Funs.DB.PMI_DelegationDetails.DeleteAllOnSubmit(details);
|
||||||
Funs.DB.SubmitChanges();
|
Funs.DB.SubmitChanges();
|
||||||
Alert.ShowInTop(Resources.Lan.DeletedSuccessfully, MessageBoxIcon.Success);
|
Alert.ShowInTop(Resources.Lan.DeletedSuccessfully, MessageBoxIcon.Success);
|
||||||
this.InitTreeMenu();
|
this.InitTreeMenu();
|
||||||
|
|
|
@ -257,24 +257,6 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.ToolbarFill ToolbarFill2;
|
protected global::FineUIPro.ToolbarFill ToolbarFill2;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// tbxEditorQualityNo 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.TextBox tbxEditorQualityNo;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// txtEditorAcceptance 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.TextBox txtEditorAcceptance;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ToolbarSeparator1 控件。
|
/// ToolbarSeparator1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
using BLL;
|
using BLL;
|
||||||
|
using FineUIPro.Web.common.BaseInfo;
|
||||||
using Model;
|
using Model;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
|
using NPOI.SS.Formula.Functions;
|
||||||
|
using NPOI.SS.Formula.PTG;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
|
@ -159,8 +162,10 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||||
{
|
{
|
||||||
weldJointIds = hdItemsString.Text.Substring(0, hdItemsString.Text.LastIndexOf('|'));
|
weldJointIds = hdItemsString.Text.Substring(0, hdItemsString.Text.LastIndexOf('|'));
|
||||||
|
|
||||||
List<Model.View_PMI_DelegationDetails> lists = BLL.PMIDelegation_Service.GetPMI_DelegationAddItem(weldJointIds);
|
var lists = GetGridDataTable(weldJointIds);
|
||||||
this.BindGrid(lists);
|
this.BindGrid(lists);
|
||||||
|
if (string.IsNullOrEmpty(this.txtDelegationNo.Text))
|
||||||
|
{
|
||||||
//获取单位
|
//获取单位
|
||||||
string unitCode = Funs.DB.Base_Unit.FirstOrDefault(t => t.UnitId == drpUnitId.SelectedValue)?.UnitCode;
|
string unitCode = Funs.DB.Base_Unit.FirstOrDefault(t => t.UnitId == drpUnitId.SelectedValue)?.UnitCode;
|
||||||
//获取区域code
|
//获取区域code
|
||||||
|
@ -168,7 +173,12 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||||
|
|
||||||
var workAreaCode = Funs.DB.Project_WorkArea.AsQueryable().Where(t => workdAreaIdList.Contains(t.WorkAreaId)).Distinct().FirstOrDefault()?.WorkAreaCode;
|
var workAreaCode = Funs.DB.Project_WorkArea.AsQueryable().Where(t => workdAreaIdList.Contains(t.WorkAreaId)).Distinct().FirstOrDefault()?.WorkAreaCode;
|
||||||
|
|
||||||
this.txtDelegationNo.Text = $"PMI-{unitCode}-{workAreaCode}-PI-";
|
string perfix = string.Empty;
|
||||||
|
perfix = $"PMI-{unitCode}-{workAreaCode}-PI-";
|
||||||
|
this.txtDelegationNo.Text = BLL.SQLHelper.RunProcNewId("SpGetNewCode", "dbo.PMI_Delegation", "DelegationNo", this.CurrUser.LoginProjectId, perfix);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
@ -270,7 +280,59 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region 获取Grid里面的数据返回集合
|
||||||
|
private List<View_PMI_DelegationDetails> GetGridDataTable(string weldJointIds)
|
||||||
|
{
|
||||||
|
string[] arr = weldJointIds.Split('|');
|
||||||
|
JArray mergedData = Grid1.GetMergedData();
|
||||||
|
var result = Funs.DB.View_Pipeline_WeldJoint.Select(t => new View_PMI_DelegationDetails {
|
||||||
|
WeldJointId= t.WeldJointId,
|
||||||
|
PipelineCode= t.PipelineCode,
|
||||||
|
ProjectId= t.ProjectId,
|
||||||
|
Acceptance="",
|
||||||
|
QualityNo="",
|
||||||
|
WeldJointCode=t.WeldJointCode,
|
||||||
|
Specification=t.Specification,
|
||||||
|
MaterialCode=t.MaterialCode,
|
||||||
|
WorkAreaId=t.WorkAreaId,
|
||||||
|
Status=0,
|
||||||
|
PMIId=this.PMIDelegationId
|
||||||
|
}).Where(t => arr.Contains(t.WeldJointId)).ToList();
|
||||||
|
result.ForEach(item =>
|
||||||
|
{
|
||||||
|
item.Id = SQLHelper.GetNewID(typeof(PMI_DelegationDetails));
|
||||||
|
});
|
||||||
|
if (mergedData.Count == 0)
|
||||||
|
{
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
foreach (JObject mergedRow in mergedData)
|
||||||
|
{
|
||||||
|
JObject values = mergedRow.Value<JObject>("values");
|
||||||
|
Model.View_PMI_DelegationDetails newTrustItem = new Model.View_PMI_DelegationDetails();
|
||||||
|
newTrustItem.Id = values.Value<string>("Id").ToString();
|
||||||
|
newTrustItem.PipelineCode = values.Value<string>("PipelineCode").ToString();
|
||||||
|
newTrustItem.WeldJointId = values.Value<string>("WeldJointId").ToString();
|
||||||
|
newTrustItem.Acceptance = values.Value<string>("Acceptance").ToString();
|
||||||
|
newTrustItem.QualityNo = values.Value<string>("QualityNo").ToString();
|
||||||
|
newTrustItem.WeldJointCode = values.Value<string>("WeldJointCode").ToString();
|
||||||
|
newTrustItem.Specification =HttpUtility.HtmlDecode(values.Value<string>("Specification").ToString());
|
||||||
|
newTrustItem.MaterialCode = values.Value<string>("MaterialCode").ToString();
|
||||||
|
newTrustItem.Status = 0;
|
||||||
|
newTrustItem.PMIId = this.PMIDelegationId;
|
||||||
|
result.Add(newTrustItem);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
#region 收集Grid页面信息,提交明细
|
#region 收集Grid页面信息,提交明细
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 收集Grid页面信息,提交明细
|
/// 收集Grid页面信息,提交明细
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -309,28 +371,19 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||||
{
|
{
|
||||||
this.hdItemsString.Text = this.hdItemsString.Text.Substring(0, this.hdItemsString.Text.LastIndexOf('|'));
|
this.hdItemsString.Text = this.hdItemsString.Text.Substring(0, this.hdItemsString.Text.LastIndexOf('|'));
|
||||||
}
|
}
|
||||||
var trust = Funs.DB.PMI_Delegation.FirstOrDefault(t=>t.Id==this.PMIDelegationId);
|
|
||||||
if (Grid1.SelectedRowIndexArray.Length > 0)
|
if (Grid1.SelectedRowIndexArray.Length > 0)
|
||||||
{
|
{
|
||||||
List<Model.View_PMI_DelegationDetails> GetHotProessTrustItem = new List<Model.View_PMI_DelegationDetails>();
|
var listData = GetGridDataTable("");
|
||||||
if (!string.IsNullOrEmpty(this.hdItemsString.Text))
|
|
||||||
{
|
|
||||||
GetHotProessTrustItem = BLL.PMIDelegation_Service.GetPMI_DelegationAddItem(this.hdItemsString.Text);
|
|
||||||
}
|
|
||||||
else if (string.IsNullOrEmpty(this.hdItemsString.Text) && this.PMIDelegationId != null)
|
|
||||||
{
|
|
||||||
GetHotProessTrustItem = BLL.PMIDelegation_Service.GetPMI_DelegationItem(this.CurrUser.LoginProjectId, this.PMIDelegationId);
|
|
||||||
}
|
|
||||||
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
|
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
|
||||||
{
|
{
|
||||||
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
|
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
|
||||||
var item = GetHotProessTrustItem.FirstOrDefault(x => x.WeldJointId == rowID);
|
var item = listData.FirstOrDefault(x => x.WeldJointId == rowID);
|
||||||
if (item != null)
|
if (item != null)
|
||||||
{
|
{
|
||||||
GetHotProessTrustItem.Remove(item);
|
listData.Remove(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
BindGrid(GetHotProessTrustItem);
|
BindGrid(listData);
|
||||||
ShowNotify(Resources.Lan.DeletedSuccessfully, MessageBoxIcon.Success);
|
ShowNotify(Resources.Lan.DeletedSuccessfully, MessageBoxIcon.Success);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -107,7 +107,7 @@
|
||||||
</f:Form>
|
</f:Form>
|
||||||
</Items>
|
</Items>
|
||||||
<Items>
|
<Items>
|
||||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="<%$ Resources:Lan,HotProessTrust %>"
|
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false"
|
||||||
EnableCollapse="true" runat="server" BoxFlex="1" DataKeyNames="ID"
|
EnableCollapse="true" runat="server" BoxFlex="1" DataKeyNames="ID"
|
||||||
AllowCellEditing="true" AllowColumnLocking="true" EnableColumnLines="true" ClicksToEdit="2"
|
AllowCellEditing="true" AllowColumnLocking="true" EnableColumnLines="true" ClicksToEdit="2"
|
||||||
DataIDField="ID" AllowSorting="true" SortField="PipelineCode,WeldJointCode"
|
DataIDField="ID" AllowSorting="true" SortField="PipelineCode,WeldJointCode"
|
||||||
|
@ -121,6 +121,8 @@
|
||||||
</f:TextBox>
|
</f:TextBox>
|
||||||
<f:ToolbarFill ID="ToolbarFill2" runat="server">
|
<f:ToolbarFill ID="ToolbarFill2" runat="server">
|
||||||
</f:ToolbarFill>
|
</f:ToolbarFill>
|
||||||
|
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" OnClick="btnSave_Click">
|
||||||
|
</f:Button>
|
||||||
</Items>
|
</Items>
|
||||||
</f:Toolbar>
|
</f:Toolbar>
|
||||||
</Toolbars>
|
</Toolbars>
|
||||||
|
@ -129,7 +131,7 @@
|
||||||
Width="50px" HeaderTextAlign="Center" TextAlign="Center" />
|
Width="50px" HeaderTextAlign="Center" TextAlign="Center" />
|
||||||
<f:RenderField HeaderText="<%$ Resources:Lan,PipelineCode %>" ColumnID="PipelineCode"
|
<f:RenderField HeaderText="<%$ Resources:Lan,PipelineCode %>" ColumnID="PipelineCode"
|
||||||
DataField="PipelineCode" SortField="PipelineCode" FieldType="String" HeaderTextAlign="Center"
|
DataField="PipelineCode" SortField="PipelineCode" FieldType="String" HeaderTextAlign="Center"
|
||||||
TextAlign="Left" Width="220px" Locked="true">
|
TextAlign="Left" Width="200px" Locked="true">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField HeaderText="<%$ Resources:Lan,WeldingJointNumber %>" ColumnID="WeldJointCode"
|
<f:RenderField HeaderText="<%$ Resources:Lan,WeldingJointNumber %>" ColumnID="WeldJointCode"
|
||||||
DataField="WeldJointCode" SortField="WeldJointCode" FieldType="String" HeaderTextAlign="Center"
|
DataField="WeldJointCode" SortField="WeldJointCode" FieldType="String" HeaderTextAlign="Center"
|
||||||
|
@ -137,34 +139,55 @@
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField HeaderText="<%$ Resources:Lan,Specifications %>" ColumnID="Specification"
|
<f:RenderField HeaderText="<%$ Resources:Lan,Specifications %>" ColumnID="Specification"
|
||||||
DataField="Specification" SortField="Specification" FieldType="String" HeaderTextAlign="Center"
|
DataField="Specification" SortField="Specification" FieldType="String" HeaderTextAlign="Center"
|
||||||
TextAlign="Left" Width="170px">
|
TextAlign="Left" Width="160px">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField HeaderText="<%$ Resources:Lan,MaterialSpecificationCode %>" ColumnID="MaterialCode"
|
<f:RenderField HeaderText="<%$ Resources:Lan,MaterialSpecificationCode %>" ColumnID="MaterialCode"
|
||||||
DataField="MaterialCode" SortField="MaterialCode" FieldType="String" HeaderTextAlign="Center"
|
DataField="MaterialCode" SortField="MaterialCode" FieldType="String" HeaderTextAlign="Center"
|
||||||
TextAlign="Center" Width="120px">
|
TextAlign="Center" Width="160px">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
|
|
||||||
<f:RenderField HeaderText="<%$ Resources:Lan,QualityNo %>" ColumnID="QualityNo" DataField="QualityNo"
|
<f:RenderField HeaderText="<%$ Resources:Lan,QualityNo %>" ColumnID="QualityNo" DataField="QualityNo"
|
||||||
FieldType="String" TextAlign="Left" Width="150px">
|
FieldType="String" TextAlign="Left" Width="150px">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField HeaderText="<%$ Resources:Lan,Acceptance %>" ColumnID="Acceptance"
|
<f:RenderField HeaderText="<%$ Resources:Lan,Acceptance %>" ColumnID="Acceptance"
|
||||||
DataField="Acceptance" FieldType="String" TextAlign="Left" Width="150px">
|
DataField="Acceptance" FieldType="String" TextAlign="Left" Width="150px">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField HeaderText="检测日期" ColumnID="CreatedTime"
|
<%-- 检测日期 --%>
|
||||||
|
<f:RenderField HeaderText="<%$ Resources:Lan,FilmDate %>" ColumnID="DelegationDate"
|
||||||
|
DataField="DelegationDate" SortField="DelegationDate" FieldType="Date" Renderer="Date"
|
||||||
|
HeaderTextAlign="Center" TextAlign="Left" Width="120px">
|
||||||
|
<Editor>
|
||||||
|
<f:DatePicker ID="tbxTrustDate" DateFormatString="yyyy-MM-dd" Required="true" runat="server">
|
||||||
|
</f:DatePicker>
|
||||||
|
</Editor>
|
||||||
|
</f:RenderField>
|
||||||
|
<%-- 报告日期 --%>
|
||||||
|
<f:RenderField HeaderText="<%$ Resources:Lan,ReportDate %>" ColumnID="CreatedTime"
|
||||||
DataField="CreatedTime" SortField="CreatedTime" FieldType="Date" Renderer="Date"
|
DataField="CreatedTime" SortField="CreatedTime" FieldType="Date" Renderer="Date"
|
||||||
HeaderTextAlign="Center" TextAlign="Left" Width="120px">
|
HeaderTextAlign="Center" TextAlign="Left" Width="120px">
|
||||||
|
<Editor>
|
||||||
|
<f:DatePicker ID="tbxCreatedTime" DateFormatString="yyyy-MM-dd" Required="true" runat="server">
|
||||||
|
</f:DatePicker>
|
||||||
|
</Editor>
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField HeaderText="报告日期" FieldType="String" HeaderTextAlign="Center"
|
<%-- 报告编号 --%>
|
||||||
|
<f:RenderField HeaderText="<%$ Resources:Lan,ReportNo %>" ColumnID="reportNo"
|
||||||
|
DataField="reportNo" SortField="reportNo" FieldType="String" HeaderTextAlign="Center"
|
||||||
TextAlign="Left" Width="100px">
|
TextAlign="Left" Width="100px">
|
||||||
|
<Editor>
|
||||||
|
<f:TextBox ID="tbxreportNo" Required="true" runat="server">
|
||||||
|
</f:TextBox>
|
||||||
|
</Editor>
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField HeaderText="报告编号" FieldType="String" HeaderTextAlign="Center"
|
<%-- 是否合格 --%>
|
||||||
TextAlign="Left" Width="100px">
|
|
||||||
</f:RenderField>
|
|
||||||
|
|
||||||
|
|
||||||
<f:RenderField HeaderText="<%$ Resources:Lan,IsPass %>" ColumnID="StatusText"
|
<f:RenderField HeaderText="<%$ Resources:Lan,IsPass %>" ColumnID="StatusText"
|
||||||
DataField="StatusText" SortField="status" FieldType="String" HeaderTextAlign="Center"
|
DataField="StatusText" SortField="StatusText" FieldType="String" HeaderTextAlign="Center"
|
||||||
TextAlign="Left" Width="100px">
|
TextAlign="Left" Width="100px">
|
||||||
|
<Editor>
|
||||||
|
<f:DropDownList ID="drpstatus" runat="server" ShowRedStar="true" Required="true" >
|
||||||
|
<f:ListItem Value="合格" Text="合格" />
|
||||||
|
<f:ListItem Value="不合格" Text="不合格" />
|
||||||
|
</f:DropDownList>
|
||||||
|
</Editor>
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
</Columns>
|
</Columns>
|
||||||
<Listeners>
|
<Listeners>
|
||||||
|
|
|
@ -9,6 +9,7 @@ using System.Collections;
|
||||||
using Model;
|
using Model;
|
||||||
using static System.Windows.Forms.VisualStyles.VisualStyleElement;
|
using static System.Windows.Forms.VisualStyles.VisualStyleElement;
|
||||||
using FineUIPro.Web.common.ProjectSet;
|
using FineUIPro.Web.common.ProjectSet;
|
||||||
|
using Newtonsoft.Json.Linq;
|
||||||
|
|
||||||
namespace FineUIPro.Web.WeldingProcess.PMI
|
namespace FineUIPro.Web.WeldingProcess.PMI
|
||||||
{
|
{
|
||||||
|
@ -105,7 +106,7 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||||
where x.UnitId == unitId
|
where x.UnitId == unitId
|
||||||
&& x.ProjectId == this.CurrUser.LoginProjectId
|
&& x.ProjectId == this.CurrUser.LoginProjectId
|
||||||
&& x.DelegationDate >= startTime && x.DelegationDate <= endTime
|
&& x.DelegationDate >= startTime && x.DelegationDate <= endTime
|
||||||
&&( x.DelegationNo.Contains(searchCode)|| searchCode=="")
|
&& (x.DelegationNo.Contains(searchCode) || searchCode == "")
|
||||||
select x;
|
select x;
|
||||||
//if (!string.IsNullOrWhiteSpace(searchCode))
|
//if (!string.IsNullOrWhiteSpace(searchCode))
|
||||||
// ndt = ndt.Where(q => q.DelegationNo.Contains(searchCode));
|
// ndt = ndt.Where(q => q.DelegationNo.Contains(searchCode));
|
||||||
|
@ -189,13 +190,6 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private string StatusText(int status) {
|
|
||||||
if (status == 0)
|
|
||||||
return "合格";
|
|
||||||
else
|
|
||||||
return "不合格";
|
|
||||||
}
|
|
||||||
|
|
||||||
#region 加载页面输入提交信息
|
#region 加载页面输入提交信息
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 加载页面输入提交信息
|
/// 加载页面输入提交信息
|
||||||
|
@ -208,26 +202,28 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||||
join n in Funs.DB.Project_Installation on x.InstallationId equals n.InstallationId
|
join n in Funs.DB.Project_Installation on x.InstallationId equals n.InstallationId
|
||||||
join u in Funs.DB.Sys_User on x.DetectionStandard equals u.UserId into u1 //左连接查询
|
join u in Funs.DB.Sys_User on x.DetectionStandard equals u.UserId into u1 //左连接查询
|
||||||
from u in u1.DefaultIfEmpty()
|
from u in u1.DefaultIfEmpty()
|
||||||
where x.Id==hdPMIId.Text
|
where x.Id == hdPMIId.Text
|
||||||
select new { DelegationNo=x.DelegationNo,
|
select new
|
||||||
DelegationDate=x.DelegationDate,
|
{
|
||||||
InstallationName=n.InstallationName,
|
DelegationNo = x.DelegationNo,
|
||||||
UnitName=y.UnitName,
|
DelegationDate = x.DelegationDate,
|
||||||
DetectionMethod="PMI光谱分析",
|
InstallationName = n.InstallationName,
|
||||||
Tabler=x.Tabler,
|
UnitName = y.UnitName,
|
||||||
Remark=x.Remark,
|
DetectionMethod = "PMI光谱分析",
|
||||||
DetectionStandard=x.DetectionStandard,
|
Tabler = x.Tabler,
|
||||||
|
Remark = x.Remark,
|
||||||
|
DetectionStandard = x.DetectionStandard,
|
||||||
}).ToList();
|
}).ToList();
|
||||||
if (pageInfo.Count>0)
|
if (pageInfo.Count > 0)
|
||||||
{
|
{
|
||||||
this.txtDelegationNo.Text = pageInfo[0].DelegationNo;
|
this.txtDelegationNo.Text = pageInfo[0].DelegationNo;
|
||||||
this.txtDelegationDate.Text = pageInfo[0].DelegationDate.ToString();
|
this.txtDelegationDate.Text = pageInfo[0].DelegationDate.Value.ToString("yyyy-MM-dd");
|
||||||
this.txtInstallationName.Text = pageInfo[0].InstallationName;
|
this.txtInstallationName.Text = pageInfo[0].InstallationName;
|
||||||
this.txtUnitName.Text = pageInfo[0].UnitName;
|
this.txtUnitName.Text = pageInfo[0].UnitName;
|
||||||
this.txtDetectionMethod.Text = pageInfo[0].DetectionMethod;
|
this.txtDetectionMethod.Text = pageInfo[0].DetectionMethod;
|
||||||
this.txtTabler.Text = pageInfo[0].Tabler;
|
this.txtTabler.Text = pageInfo[0].Tabler;
|
||||||
this.txtRemark.Text = pageInfo[0].Remark;
|
this.txtRemark.Text = pageInfo[0].Remark;
|
||||||
this.txtDetectionStandard.Text= pageInfo[0].DetectionStandard;
|
this.txtDetectionStandard.Text = pageInfo[0].DetectionStandard;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
@ -325,5 +321,60 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnSave_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//if (!CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.BItemEndCheckMenuId, Const.BtnSave))
|
||||||
|
//{
|
||||||
|
// ShowNotify("您没有这个权限,请与管理员联系!");
|
||||||
|
// return;
|
||||||
|
//}
|
||||||
|
|
||||||
|
if (Grid1.GetModifiedData().Count > 0)
|
||||||
|
{
|
||||||
|
JArray teamGroupData = Grid1.GetMergedData();
|
||||||
|
foreach (JObject teamGroupRow in teamGroupData)
|
||||||
|
{
|
||||||
|
string status = teamGroupRow.Value<string>("status");
|
||||||
|
if (status == "modified")
|
||||||
|
{
|
||||||
|
JObject values = teamGroupRow.Value<JObject>("values");
|
||||||
|
string id = teamGroupRow.Value<string>("id");
|
||||||
|
Model.PMI_DelegationDetails onePMIDelegationDetails = Funs.DB.PMI_DelegationDetails.FirstOrDefault(p => p.Id == id);
|
||||||
|
if (onePMIDelegationDetails == null)
|
||||||
|
continue;
|
||||||
|
//检测日期(缺失)
|
||||||
|
string DelegationDate = values.Value<string>("DelegationDate");
|
||||||
|
if (string.IsNullOrWhiteSpace(DelegationDate))
|
||||||
|
;
|
||||||
|
else
|
||||||
|
;
|
||||||
|
//报告日期
|
||||||
|
string createdTime = values.Value<string>("CreatedTime");
|
||||||
|
if (string.IsNullOrWhiteSpace(createdTime))
|
||||||
|
onePMIDelegationDetails.CreatedTime=null;
|
||||||
|
else
|
||||||
|
onePMIDelegationDetails.CreatedTime=Convert.ToDateTime(createdTime);
|
||||||
|
//报告编号
|
||||||
|
onePMIDelegationDetails.ReportNo = values.Value<string>("reportNo").ToString();
|
||||||
|
//是否合格 0合格 1不合格
|
||||||
|
string statusText = values.Value<string>("StatusText");
|
||||||
|
if (statusText == "合格")
|
||||||
|
onePMIDelegationDetails.Status = 0;
|
||||||
|
else
|
||||||
|
onePMIDelegationDetails.Status = 1;
|
||||||
|
Funs.DB.SubmitChanges();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
this.BindGrid();
|
||||||
|
}
|
||||||
|
|
||||||
|
ShowNotify(Resources.Lan.SaveSuccessfully, MessageBoxIcon.Success);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -248,6 +248,51 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.ToolbarFill ToolbarFill2;
|
protected global::FineUIPro.ToolbarFill ToolbarFill2;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnSave 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnSave;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// tbxTrustDate 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DatePicker tbxTrustDate;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// tbxCreatedTime 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DatePicker tbxCreatedTime;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// tbxreportNo 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox tbxreportNo;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// drpstatus 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DropDownList drpstatus;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ToolbarSeparator1 控件。
|
/// ToolbarSeparator1 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -23,12 +23,12 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||||
/// <param name="e"></param>
|
/// <param name="e"></param>
|
||||||
protected void Page_Load(object sender, EventArgs e)
|
protected void Page_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
this.UnitId = Request.Params["unitId"] ?? "";
|
||||||
|
this.ProjectId = this.CurrUser.LoginProjectId;
|
||||||
|
this.PMIId = Request.Params["PMIId"] ?? "";
|
||||||
|
this.weldJointIds = Request.Params["weldJointIds"] ?? "";
|
||||||
if (!IsPostBack)
|
if (!IsPostBack)
|
||||||
{
|
{
|
||||||
this.UnitId = Request.Params["unitId"] ??"";
|
|
||||||
this.ProjectId = this.CurrUser.LoginProjectId;
|
|
||||||
this.PMIId = Request.Params["PMIId"]??"";
|
|
||||||
this.weldJointIds = Request.Params["weldJointIds"] ?? "";
|
|
||||||
this.InitTreeMenu();//加载树
|
this.InitTreeMenu();//加载树
|
||||||
this.BindGrid();
|
this.BindGrid();
|
||||||
}
|
}
|
||||||
|
@ -127,32 +127,12 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||||
select b.JointId
|
select b.JointId
|
||||||
).Distinct().ToList();
|
).Distinct().ToList();
|
||||||
|
|
||||||
// string sql = @"SELECT WeldJointId,ProjectId,PipelineId,WeldJointCode,WPQCode,DetectionType,
|
string[] arr = this.weldJointIds.Split('|');
|
||||||
// convert(int,dbo.Fun_GetParseInt(WeldJointCode)) AS ConvertJointNo,
|
|
||||||
//dbo.Fun_GetParseString(WeldJointCode) AS PreJotNo,
|
|
||||||
// PipingClassCode,PipeSegment,JointAttribute,PageNum,
|
|
||||||
// ComponentsCode1,ComponentsCode2,Is_hjName,IsHotProessStr,Material1Code,Material2Code,
|
|
||||||
// WeldTypeCode,Specification,HeartNo1,HeartNo2,Size,Dia,Thickness,GrooveTypeCode,
|
|
||||||
// WeldingMethodCode,WeldSilkId,WeldMatCode,WeldingDate,WeldingDailyCode,DoneDin,
|
|
||||||
// BackingWelderCode,CoverWelderCode,SystemNumber,TestPackageNo,Remark,
|
|
||||||
// MaterialCode,WeldingDate,
|
|
||||||
// (CASE WHEN IsCancel=1 THEN '是' ELSE '否' END) AS IsCancel,isPMI
|
|
||||||
// FROM View_Pipeline_WeldJoint WHERE isPMI=1 ";
|
|
||||||
|
|
||||||
|
|
||||||
// List<SqlParameter> paramsList = new List<SqlParameter>();
|
|
||||||
// if (!string.IsNullOrEmpty(this.txtJointNo.Text))
|
|
||||||
// {
|
|
||||||
// sql += @" and WeldJointCode=@WeldJointCode";
|
|
||||||
// paramsList.Add(new SqlParameter("@WeldJointCode", txtJointNo.Text.Trim()));
|
|
||||||
// }
|
|
||||||
// if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
|
|
||||||
// {
|
|
||||||
// sql += @" and PipelineId=@PipelineId ";
|
|
||||||
// paramsList.Add(new SqlParameter("@PipelineId", this.tvControlItem.SelectedNodeID));
|
|
||||||
// }
|
|
||||||
// var dt = SQLHelper.GetDataTableRunText(sql, paramsList.ToArray());
|
|
||||||
var query = Funs.DB.View_Pipeline_WeldJoint.Where(t => t.IsPMI == true);
|
var query = Funs.DB.View_Pipeline_WeldJoint.Where(t => t.IsPMI == true);
|
||||||
|
if (arr.Length > 0)
|
||||||
|
{
|
||||||
|
listData.Add(arr[0]);
|
||||||
|
}
|
||||||
if (listData.Count > 0)
|
if (listData.Count > 0)
|
||||||
{
|
{
|
||||||
query = query.Where(t => !listData.Contains(t.WeldJointId));
|
query = query.Where(t => !listData.Contains(t.WeldJointId));
|
||||||
|
@ -165,7 +145,14 @@ namespace FineUIPro.Web.WeldingProcess.PMI
|
||||||
{
|
{
|
||||||
query = query.Where(t => t.PipelineId == this.tvControlItem.SelectedNodeID);
|
query = query.Where(t => t.PipelineId == this.tvControlItem.SelectedNodeID);
|
||||||
}
|
}
|
||||||
Grid1.DataSource = query.ToList();
|
var data= query.ToList() ;
|
||||||
|
if (!string.IsNullOrEmpty(weldJointIds))
|
||||||
|
{
|
||||||
|
string[] jots = weldJointIds.Split('|');
|
||||||
|
data = data.Where(t => !jots.Contains(t.WeldJointId)).ToList();
|
||||||
|
}
|
||||||
|
data = data.OrderBy(t => t.WeldJointCode).ToList();
|
||||||
|
Grid1.DataSource = data;
|
||||||
Grid1.DataBind();
|
Grid1.DataBind();
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
|
@ -21300,7 +21300,7 @@ namespace Model
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
|
||||||
public string ProjectId
|
public string ProjectId
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@ -21477,9 +21477,11 @@ namespace Model
|
||||||
|
|
||||||
private string _Acceptance;
|
private string _Acceptance;
|
||||||
|
|
||||||
|
private System.Nullable<System.DateTime> _CreatedTime;
|
||||||
|
|
||||||
private int _Status;
|
private int _Status;
|
||||||
|
|
||||||
private System.Nullable<System.DateTime> _CreatedTime;
|
private string _ReportNo;
|
||||||
|
|
||||||
#region 可扩展性方法定义
|
#region 可扩展性方法定义
|
||||||
partial void OnLoaded();
|
partial void OnLoaded();
|
||||||
|
@ -21495,10 +21497,12 @@ namespace Model
|
||||||
partial void OnQualityNoChanged();
|
partial void OnQualityNoChanged();
|
||||||
partial void OnAcceptanceChanging(string value);
|
partial void OnAcceptanceChanging(string value);
|
||||||
partial void OnAcceptanceChanged();
|
partial void OnAcceptanceChanged();
|
||||||
partial void OnStatusChanging(int value);
|
|
||||||
partial void OnStatusChanged();
|
|
||||||
partial void OnCreatedTimeChanging(System.Nullable<System.DateTime> value);
|
partial void OnCreatedTimeChanging(System.Nullable<System.DateTime> value);
|
||||||
partial void OnCreatedTimeChanged();
|
partial void OnCreatedTimeChanged();
|
||||||
|
partial void OnStatusChanging(int value);
|
||||||
|
partial void OnStatusChanged();
|
||||||
|
partial void OnReportNoChanging(string value);
|
||||||
|
partial void OnReportNoChanged();
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
public PMI_DelegationDetails()
|
public PMI_DelegationDetails()
|
||||||
|
@ -21606,7 +21610,27 @@ namespace Model
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="Int NOT NULL")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedTime", DbType="DateTime")]
|
||||||
|
public System.Nullable<System.DateTime> CreatedTime
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._CreatedTime;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._CreatedTime != value))
|
||||||
|
{
|
||||||
|
this.OnCreatedTimeChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._CreatedTime = value;
|
||||||
|
this.SendPropertyChanged("CreatedTime");
|
||||||
|
this.OnCreatedTimeChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="status", Storage="_Status", DbType="Int NOT NULL")]
|
||||||
public int Status
|
public int Status
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@ -21626,22 +21650,22 @@ namespace Model
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedTime", DbType="DateTime")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="reportNo", Storage="_ReportNo", DbType="NVarChar(50)")]
|
||||||
public System.Nullable<System.DateTime> CreatedTime
|
public string ReportNo
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return this._CreatedTime;
|
return this._ReportNo;
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if ((this._CreatedTime != value))
|
if ((this._ReportNo != value))
|
||||||
{
|
{
|
||||||
this.OnCreatedTimeChanging(value);
|
this.OnReportNoChanging(value);
|
||||||
this.SendPropertyChanging();
|
this.SendPropertyChanging();
|
||||||
this._CreatedTime = value;
|
this._ReportNo = value;
|
||||||
this.SendPropertyChanged("CreatedTime");
|
this.SendPropertyChanged("ReportNo");
|
||||||
this.OnCreatedTimeChanged();
|
this.OnReportNoChanged();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -37266,6 +37290,8 @@ namespace Model
|
||||||
|
|
||||||
private string _ProjectId;
|
private string _ProjectId;
|
||||||
|
|
||||||
|
private System.Nullable<bool> _IsPMI;
|
||||||
|
|
||||||
private string _PipelineCode;
|
private string _PipelineCode;
|
||||||
|
|
||||||
private string _PipelineId;
|
private string _PipelineId;
|
||||||
|
@ -37396,6 +37422,22 @@ namespace Model
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="isPMI", Storage="_IsPMI", DbType="Bit")]
|
||||||
|
public System.Nullable<bool> IsPMI
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._IsPMI;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._IsPMI != value))
|
||||||
|
{
|
||||||
|
this._IsPMI = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipelineCode", DbType="NVarChar(100)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipelineCode", DbType="NVarChar(100)")]
|
||||||
public string PipelineCode
|
public string PipelineCode
|
||||||
{
|
{
|
||||||
|
@ -39404,8 +39446,6 @@ namespace Model
|
||||||
|
|
||||||
private string _PipingClassCode;
|
private string _PipingClassCode;
|
||||||
|
|
||||||
private string _PIPClassCode;
|
|
||||||
|
|
||||||
private string _WeldingDate;
|
private string _WeldingDate;
|
||||||
|
|
||||||
private System.Nullable<bool> _IsCancel;
|
private System.Nullable<bool> _IsCancel;
|
||||||
|
@ -40514,22 +40554,6 @@ namespace Model
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PIPClassCode", DbType="NVarChar(50)")]
|
|
||||||
public string PIPClassCode
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return this._PIPClassCode;
|
|
||||||
}
|
|
||||||
set
|
|
||||||
{
|
|
||||||
if ((this._PIPClassCode != value))
|
|
||||||
{
|
|
||||||
this._PIPClassCode = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingDate", DbType="VarChar(100)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingDate", DbType="VarChar(100)")]
|
||||||
public string WeldingDate
|
public string WeldingDate
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue