Merge branch 'master' of https://gitee.com/frane-yang/SGGL_SeDin_New
This commit is contained in:
commit
c92681e09d
Binary file not shown.
|
|
@ -2,5 +2,6 @@
|
||||||
"ExpandedNodes": [
|
"ExpandedNodes": [
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
|
"SelectedNode": "\\SGGL.sln",
|
||||||
"PreviewInSolutionExplorer": false
|
"PreviewInSolutionExplorer": false
|
||||||
}
|
}
|
||||||
|
|
@ -0,0 +1,170 @@
|
||||||
|
alter table HJGL_WeldJoint add DNDia varchar(50)
|
||||||
|
|
||||||
|
|
||||||
|
/****** 对象: View [dbo].[View_HJGL_WeldJoint] 脚本日期: 2022/11/18 14:39:08 ******/
|
||||||
|
SET ANSI_NULLS ON
|
||||||
|
GO
|
||||||
|
|
||||||
|
SET QUOTED_IDENTIFIER ON
|
||||||
|
GO
|
||||||
|
|
||||||
|
ALTER VIEW [dbo].[View_HJGL_WeldJoint]
|
||||||
|
AS
|
||||||
|
SELECT jot.[ProjectId] --项目Id
|
||||||
|
,pipe.[UnitWorkId] --单位工程Id
|
||||||
|
,uw.UnitWorkName --单位工程
|
||||||
|
,pipe.[UnitId] --单位Id
|
||||||
|
,unit.UnitName --单位
|
||||||
|
,jot.[PipelineCode] --管线号
|
||||||
|
,pipe.[SingleNumber] --单线图号
|
||||||
|
,pipe.[SingleName] --图纸名称
|
||||||
|
,pipe.[MediumId] --介质Id
|
||||||
|
,medium.MediumCode
|
||||||
|
,medium.MediumName --介质名称
|
||||||
|
,pipe.[PipingClassId] --管道等级Id
|
||||||
|
,pipingClass.PipingClassCode --管道等级
|
||||||
|
,pipe.[DetectionRateId] --探伤比例Id
|
||||||
|
,dr.DetectionRateCode --探伤比例(例如5,10,20)
|
||||||
|
,pipe.DetectionType --探伤类型Id(可能多个,中间用|分隔)
|
||||||
|
,STUFF((SELECT ',' + DetectionTypeCode FROM Base_DetectionType
|
||||||
|
WHERE CHARINDEX('|'+LTRIM(DetectionTypeId)+'|','|'+ pipe.DetectionType + '|') > 0 FOR XML PATH('') ), 1, 1, '') AS DetectionTypeStr --探伤类型(可能多个,中间用,分隔)
|
||||||
|
,pipe.DesignTemperature --设计温度℃
|
||||||
|
,pipe.DesignPress --设计压力Mpa(g)
|
||||||
|
,pipe.TestMedium --压力试验介质Id
|
||||||
|
,tm.MediumName AS TestMediumName --压力试验介质
|
||||||
|
,pipe.TestPressure --压力试验压力Mpa(g)
|
||||||
|
,pipe.PressurePipingClassId --压力管道级别Id
|
||||||
|
,ppc.PressurePipingClassCode --压力管道级别
|
||||||
|
,pipe.PipeLenth --管线长度(m)
|
||||||
|
,pipe.LeakMedium --泄露性试验介质Id
|
||||||
|
,tm2.MediumName AS LeakMediumName --泄露性试验介质
|
||||||
|
,pipe.LeakPressure --泄露性试验压力Mpa(g)
|
||||||
|
,pipe.PCMedium --吹洗要求Id
|
||||||
|
,pm.PurgeMethodCode --吹洗要求
|
||||||
|
,pipe.VacuumPressure --真空试验压力Kpa(a)
|
||||||
|
,pipe.MaterialId --材质Id
|
||||||
|
,mat.MaterialCode AS PipeMaterialCode --材质
|
||||||
|
,pipe.Remark AS PipeRemark --备注
|
||||||
|
|
||||||
|
,jot.[WeldJointId] --焊口Id
|
||||||
|
,jot.[WeldJointCode] --焊口号
|
||||||
|
,jot.[Material1Id] --材质1Id
|
||||||
|
,mat1.MaterialCode AS Material1Code --材质1
|
||||||
|
,jot.[Material2Id] --材质2Id
|
||||||
|
,mat2.MaterialCode AS Material2Code --材质2
|
||||||
|
,jot.[Dia] --外径
|
||||||
|
,jot.DNDia --DN公称直径
|
||||||
|
,jot.[Size] --达因
|
||||||
|
,jot.[Thickness] --壁厚
|
||||||
|
,jot.[Specification] --规格
|
||||||
|
,jot.[WeldTypeId] --焊缝类型Id
|
||||||
|
,WeldType.WeldTypeCode --焊缝类型
|
||||||
|
,jot.[DetectionTypeId] --检测类型Id
|
||||||
|
,ndt.DetectionTypeCode --检测类型
|
||||||
|
,jot.[Components1Id] --组件1号Id
|
||||||
|
,com1.ComponentsCode AS ComponentsCode1 --组件1号
|
||||||
|
,jot.[Components2Id] --组件2号Id
|
||||||
|
,com2.ComponentsCode AS ComponentsCode2 --组件2号
|
||||||
|
,jot.DesignIsHotProess --是否热处理
|
||||||
|
,CASE jot.DesignIsHotProess WHEN 1 THEN '是' ELSE '否' END AS DesignIsHotProessStr --是否热处理
|
||||||
|
,jot.[WeldingMethodId] --焊接方法Id
|
||||||
|
,WeldingMethod.WeldingMethodCode --焊接方法
|
||||||
|
,jot.WPQId --WPS的Id
|
||||||
|
,wps.WPQCode --WPS编号
|
||||||
|
,jot.[GrooveTypeId] --坡口类型Id
|
||||||
|
,GrooveType.GrooveTypeCode --坡口类型
|
||||||
|
,jot.[WeldingRod] --焊条Id
|
||||||
|
,rod.ConsumablesCode AS WeldingRodCode --焊条
|
||||||
|
,jot.[WeldingWire] --焊丝Id
|
||||||
|
,wire.ConsumablesCode AS WeldingWireCode --焊丝
|
||||||
|
,jot.PreTemperature --预热温度
|
||||||
|
,jot.[JointAttribute] --焊口属性
|
||||||
|
,jot.TwoJointType --二次焊口新增类型
|
||||||
|
,CONVERT(VARCHAR(100), daily.WeldingDate, 23) AS WeldingDate --焊接日期
|
||||||
|
,BackingWelder.WelderCode AS BackingWelderCode --打底焊工
|
||||||
|
,CoverWelder.WelderCode AS CoverWelderCode --盖面焊工
|
||||||
|
,(CASE (SELECT COUNT(*) FROM [dbo].[HJGL_HotProess_TrustItem] hpti
|
||||||
|
WHERE hpti.WeldJointId=jot.WeldJointId) WHEN 0 THEN '' ELSE (SELECT TOP 1 ISNULL(ReportNo,'') FROM [dbo].[HJGL_HotProess_Trust] hpt
|
||||||
|
LEFT JOIN [dbo].[HJGL_HotProess_TrustItem] hpti ON hpti.HotProessTrustId=hpt.HotProessTrustId
|
||||||
|
WHERE hpti.WeldJointId=jot.WeldJointId) END) AS HotProessReportNo --热处理报告编号
|
||||||
|
,(CASE (SELECT TOP 1 IsCompleted FROM [dbo].[HJGL_HotProess_TrustItem] hpti
|
||||||
|
WHERE hpti.WeldJointId=jot.WeldJointId) WHEN 1 THEN '完成' WHEN 0 THEN '未完成' ELSE '未热处理' END) AS HotProessResult --热处理检测结果
|
||||||
|
,(CASE (SELECT COUNT(*) FROM [dbo].HJGL_Hard_TrustItem hti
|
||||||
|
WHERE hti.WeldJointId=jot.WeldJointId) WHEN 0 THEN '' ELSE (SELECT TOP 1 ISNULL(InspectionNum,'') FROM [dbo].HJGL_Hard_Trust ht
|
||||||
|
LEFT JOIN [dbo].HJGL_Hard_TrustItem hti ON hti.HardTrustID=ht.HardTrustID
|
||||||
|
WHERE hti.WeldJointId=jot.WeldJointId) END) AS HardReportNo --硬度报告编号
|
||||||
|
,(CASE (SELECT TOP 1 IsPass FROM [dbo].HJGL_Hard_TrustItem hti
|
||||||
|
WHERE hti.WeldJointId=jot.WeldJointId) WHEN 1 THEN '合格' WHEN 0 THEN '不合格' ELSE '待检测' END) AS HardResult --硬度检测结果
|
||||||
|
,(CASE (SELECT COUNT(*) FROM [dbo].HJGL_Batch_BatchTrustItem bti
|
||||||
|
WHERE bti.WeldJointId=jot.WeldJointId) WHEN 0 THEN '' ELSE (SELECT TOP 1 TrustBatchCode FROM [dbo].HJGL_Batch_BatchTrust bt
|
||||||
|
LEFT JOIN [dbo].HJGL_Batch_BatchTrustItem bti ON bti.TrustBatchId=bt.TrustBatchId
|
||||||
|
WHERE bti.WeldJointId=jot.WeldJointId) END) AS TrustBatchCode --委托单编号
|
||||||
|
,(CASE (SELECT COUNT(*) FROM [dbo].HJGL_Batch_NDEItem ndei
|
||||||
|
LEFT JOIN [dbo].HJGL_Batch_BatchTrustItem bti ON bti.TrustBatchItemId=ndei.TrustBatchItemId
|
||||||
|
WHERE bti.WeldJointId=jot.WeldJointId) WHEN 0 THEN '' ELSE (SELECT TOP 1 ISNULL(NDECode,'') FROM [dbo].HJGL_Batch_NDE nde
|
||||||
|
LEFT JOIN [dbo].HJGL_Batch_NDEItem ndei ON ndei.NDEID=nde.NDEID
|
||||||
|
LEFT JOIN [dbo].HJGL_Batch_BatchTrustItem bti ON bti.TrustBatchItemId=ndei.TrustBatchItemId
|
||||||
|
WHERE bti.WeldJointId=jot.WeldJointId) END) AS NDECode --检测单编号
|
||||||
|
,(CASE (SELECT TOP 1 CheckResult FROM [dbo].HJGL_Batch_NDEItem ndei
|
||||||
|
LEFT JOIN [dbo].HJGL_Batch_BatchTrustItem bti ON bti.TrustBatchItemId=ndei.TrustBatchItemId
|
||||||
|
WHERE bti.WeldJointId=jot.WeldJointId) WHEN '1' THEN '合格' WHEN '2' THEN '不合格' ELSE '' END) AS CheckResult --检测结果
|
||||||
|
,jot.PipelineId
|
||||||
|
,jot.[JointArea]
|
||||||
|
,jot.[WeldingLocationId]
|
||||||
|
,jot.[HeartNo1]
|
||||||
|
,jot.[HeartNo2]
|
||||||
|
,jot.[IsHotProess]
|
||||||
|
,jot.[WeldingDailyId]
|
||||||
|
,jot.[BackingWelderId]
|
||||||
|
,jot.[CoverWelderId]
|
||||||
|
,jot.WeldingMode
|
||||||
|
,jot.Remark
|
||||||
|
,jot.IsTwoJoint
|
||||||
|
,jot.SubmitMan
|
||||||
|
,jot.AuditMan
|
||||||
|
,jot.AuditDate
|
||||||
|
,WeldingLocation.WeldingLocationCode
|
||||||
|
,CASE WHEN jot.WeldingDailyId IS NULL THEN '否' ELSE '是' END AS IsWelding
|
||||||
|
,CASE WHEN jot.IsHotProess=1 THEN '是' ELSE '否' END AS IsHotProessStr,
|
||||||
|
BackingWelder.PersonName AS BackingWelderName,
|
||||||
|
CoverWelder.PersonName AS CoverWelderName,
|
||||||
|
(CASE WHEN CoverWelder.WelderCode IS NOT NULL AND BackingWelder.WelderCode IS NOT NULL
|
||||||
|
THEN CoverWelder.WelderCode + '/' + BackingWelder.WelderCode
|
||||||
|
ELSE (ISNULL(CoverWelder.WelderCode,'') + ISNULL(BackingWelder.WelderCode,'')) END) AS WelderCode, --焊工
|
||||||
|
(CASE WHEN mat1.MaterialCode IS NOT NULL AND mat2.MaterialCode IS NOT NULL
|
||||||
|
THEN mat1.MaterialCode + '/' + mat2.MaterialCode
|
||||||
|
ELSE (ISNULL(mat1.MaterialCode,'') + ISNULL(mat2.MaterialCode,'')) END) AS MaterialCode, --材质
|
||||||
|
|
||||||
|
daily.WeldingDailyCode,
|
||||||
|
pointItem.PointBatchId,
|
||||||
|
point.PointBatchCode,
|
||||||
|
(CASE WHEN pointItem.PointState='1' THEN '已点口' WHEN pointItem.PointState='2' THEN '已扩透' ELSE '' END) AS IsPoint
|
||||||
|
FROM [dbo].[HJGL_WeldJoint] jot
|
||||||
|
LEFT JOIN dbo.HJGL_Pipeline pipe ON pipe.PipelineId=jot.PipelineId
|
||||||
|
LEFT JOIN dbo.WBS_UnitWork uw ON uw.UnitWorkId=pipe.UnitWorkId
|
||||||
|
LEFT JOIN dbo.Base_Unit unit ON unit.UnitId=pipe.UnitId
|
||||||
|
LEFT JOIN Base_WeldType AS WeldType ON WeldType.WeldTypeId=jot.WeldTypeId
|
||||||
|
LEFT JOIN dbo.Base_DetectionRate dr ON dr.DetectionRateId = pipe.DetectionRateId
|
||||||
|
LEFT JOIN Base_TestMedium tm ON tm.TestMediumId=pipe.TestMedium
|
||||||
|
LEFT JOIN Base_TestMedium tm2 ON tm2.TestMediumId=pipe.LeakMedium
|
||||||
|
LEFT JOIN Base_PurgeMethod pm ON pm.PurgeMethodId=pipe.PCMedium
|
||||||
|
LEFT JOIN Base_PressurePipingClass ppc ON ppc.PressurePipingClassId=pipe.PressurePipingClassId
|
||||||
|
LEFT JOIN Base_Material AS mat ON mat.MaterialId = pipe.MaterialId
|
||||||
|
LEFT JOIN Base_Material AS mat1 ON mat1.MaterialId = jot.Material1Id
|
||||||
|
LEFT JOIN Base_Material AS mat2 ON mat2.MaterialId = jot.Material2Id
|
||||||
|
LEFT JOIN Base_WeldingMethod AS WeldingMethod ON WeldingMethod.WeldingMethodId=jot.WeldingMethodId
|
||||||
|
LEFT JOIN Base_WeldingLocation AS WeldingLocation ON WeldingLocation.WeldingLocationId=jot.WeldingLocationId
|
||||||
|
LEFT JOIN Base_Consumables AS wire ON wire.ConsumablesId=jot.WeldingWire
|
||||||
|
LEFT JOIN Base_Consumables AS rod ON rod.ConsumablesId=jot.WeldingRod
|
||||||
|
LEFT JOIN Base_GrooveType AS GrooveType ON GrooveType.GrooveTypeId=jot.GrooveTypeId
|
||||||
|
LEFT JOIN Base_Components AS com1 ON com1.ComponentsId = jot.Components1Id
|
||||||
|
LEFT JOIN Base_Components AS com2 ON com2.ComponentsId = jot.Components2Id
|
||||||
|
LEFT JOIN SitePerson_Person AS BackingWelder ON BackingWelder.PersonId=jot.BackingWelderId
|
||||||
|
LEFT JOIN SitePerson_Person AS CoverWelder ON CoverWelder.PersonId=jot.CoverWelderId
|
||||||
|
LEFT JOIN dbo.HJGL_WeldingDaily AS daily ON daily.WeldingDailyId=jot.WeldingDailyId
|
||||||
|
LEFT JOIN Base_PipingClass AS pipingClass ON pipingClass.PipingClassId=pipe.PipingClassId
|
||||||
|
LEFT JOIN dbo.Base_Medium medium ON medium.MediumId = pipe.MediumId
|
||||||
|
LEFT JOIN dbo.Base_DetectionType ndt ON ndt.DetectionTypeId = jot.DetectionTypeId
|
||||||
|
LEFT JOIN dbo.WPQ_WPQList wps ON wps.WPQId = jot.WPQId
|
||||||
|
LEFT JOIN dbo.HJGL_Batch_PointBatchItem pointItem ON pointItem.WeldJointId = jot.WeldJointId
|
||||||
|
LEFT JOIN dbo.HJGL_Batch_PointBatch point ON point.PointBatchId = pointItem.PointBatchId
|
||||||
|
|
@ -1,10 +1,13 @@
|
||||||
namespace BLL
|
namespace BLL
|
||||||
{
|
{
|
||||||
|
using MiniExcelLibs;
|
||||||
using Model;
|
using Model;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
|
|
@ -1161,6 +1164,37 @@ namespace BLL
|
||||||
dv.RowFilter = $"({filterRule})";
|
dv.RowFilter = $"({filterRule})";
|
||||||
return dv.ToTable();
|
return dv.ToTable();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static IEnumerable<dynamic> QueryWithoutEmptyRow(Stream stream, bool useHeaderRow, string sheetName, ExcelType excelType, string startCell, IConfiguration configuration)
|
||||||
|
{
|
||||||
|
var rows = stream.Query(useHeaderRow, sheetName, excelType, startCell, configuration);
|
||||||
|
foreach (IDictionary<string, object> row in rows)
|
||||||
|
{
|
||||||
|
if (row.Keys.Any(key => row[key] != null))
|
||||||
|
yield return row;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
|
||||||
|
/// 用于Linq的去重,扩展方法需要放到静态类中
|
||||||
|
/// </summary>
|
||||||
|
/// <typeparam name="TSource"></typeparam>
|
||||||
|
/// <typeparam name="TKey"></typeparam>
|
||||||
|
/// <param name="source"></param>
|
||||||
|
/// <param name="keySelector"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static IEnumerable<TSource> DistinctBy<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector)
|
||||||
|
{
|
||||||
|
HashSet<TKey> seenKeys = new HashSet<TKey>();
|
||||||
|
foreach (TSource element in source)
|
||||||
|
{
|
||||||
|
if (seenKeys.Add(keySelector(element)))
|
||||||
|
{
|
||||||
|
yield return element;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -78,6 +78,7 @@ namespace BLL
|
||||||
Material2Id = weldJoint.Material2Id,
|
Material2Id = weldJoint.Material2Id,
|
||||||
Thickness = weldJoint.Thickness,
|
Thickness = weldJoint.Thickness,
|
||||||
Dia = weldJoint.Dia,
|
Dia = weldJoint.Dia,
|
||||||
|
DNDia=weldJoint.DNDia,
|
||||||
Size = weldJoint.Size,
|
Size = weldJoint.Size,
|
||||||
DetectionTypeId = weldJoint.DetectionTypeId,
|
DetectionTypeId = weldJoint.DetectionTypeId,
|
||||||
JointArea = weldJoint.JointArea,
|
JointArea = weldJoint.JointArea,
|
||||||
|
|
@ -107,6 +108,13 @@ namespace BLL
|
||||||
db.SubmitChanges();
|
db.SubmitChanges();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void AddBulkWeldJoint(List<Model.HJGL_WeldJoint> weldJoints)
|
||||||
|
{
|
||||||
|
Model.SGGLDB db = Funs.DB;
|
||||||
|
db.HJGL_WeldJoint.InsertAllOnSubmit(weldJoints);
|
||||||
|
db.SubmitChanges();
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 修改
|
/// 修改
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -126,6 +134,7 @@ namespace BLL
|
||||||
newWeldJoint.Material2Id = weldJoint.Material2Id;
|
newWeldJoint.Material2Id = weldJoint.Material2Id;
|
||||||
newWeldJoint.Thickness = weldJoint.Thickness;
|
newWeldJoint.Thickness = weldJoint.Thickness;
|
||||||
newWeldJoint.Dia = weldJoint.Dia;
|
newWeldJoint.Dia = weldJoint.Dia;
|
||||||
|
newWeldJoint.DNDia = weldJoint.DNDia;
|
||||||
newWeldJoint.Size = weldJoint.Size;
|
newWeldJoint.Size = weldJoint.Size;
|
||||||
newWeldJoint.DetectionTypeId = weldJoint.DetectionTypeId;
|
newWeldJoint.DetectionTypeId = weldJoint.DetectionTypeId;
|
||||||
newWeldJoint.JointArea = weldJoint.JointArea;
|
newWeldJoint.JointArea = weldJoint.JointArea;
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -37,7 +37,7 @@
|
||||||
<OutputPath>bin\</OutputPath>
|
<OutputPath>bin\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>3</WarningLevel>
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,10 @@
|
||||||
<f:ListItem Text="补充导入" Value="0"/>
|
<f:ListItem Text="补充导入" Value="0"/>
|
||||||
<f:ListItem Text="更新导入" Value="1"/>
|
<f:ListItem Text="更新导入" Value="1"/>
|
||||||
</f:DropDownList>
|
</f:DropDownList>
|
||||||
|
<f:RadioButtonList ID="rbDiaType" Label="DN公称直径/外径" runat="server">
|
||||||
|
<f:RadioItem Text="DN公称直径" Value="0" Selected="true"/>
|
||||||
|
<f:RadioItem Text="外径" Value="1" />
|
||||||
|
</f:RadioButtonList>
|
||||||
<f:ToolbarFill runat="server"></f:ToolbarFill>
|
<f:ToolbarFill runat="server"></f:ToolbarFill>
|
||||||
<f:HiddenField ID="hdFileName" runat="server">
|
<f:HiddenField ID="hdFileName" runat="server">
|
||||||
</f:HiddenField>
|
</f:HiddenField>
|
||||||
|
|
@ -57,9 +61,9 @@
|
||||||
<Items>
|
<Items>
|
||||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="管线信息" Height="350px"
|
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="管线信息" Height="350px"
|
||||||
EnableCollapse="true" runat="server" BoxFlex="1" DataKeyNames="PipelineCode" AllowCellEditing="true"
|
EnableCollapse="true" runat="server" BoxFlex="1" DataKeyNames="PipelineCode" AllowCellEditing="true"
|
||||||
AllowColumnLocking="true" EnableColumnLines="true" ClicksToEdit="2" DataIDField="PipelineCode"
|
AllowColumnLocking="true" EnableColumnLines="true" ClicksToEdit="2" DataIDField="PipelineCode" EnableBigData="true"
|
||||||
AllowSorting="true" SortField="PipelineCode" SortDirection="ASC"
|
AllowSorting="true" SortField="PipelineCode" SortDirection="ASC"
|
||||||
AllowPaging="true" IsDatabasePaging="true" PageSize="15"
|
AllowPaging="true" IsDatabasePaging="false" PageSize="300" EnableBigDataRowTip="false"
|
||||||
EnableTextSelection="True" >
|
EnableTextSelection="True" >
|
||||||
<Columns>
|
<Columns>
|
||||||
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号"
|
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号"
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -68,6 +68,15 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.DropDownList DrpType;
|
protected global::FineUIPro.DropDownList DrpType;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// rbDiaType 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.RadioButtonList rbDiaType;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// hdFileName 控件。
|
/// hdFileName 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
|
|
@ -221,10 +221,14 @@
|
||||||
SortField="Size" FieldType="Double" HeaderTextAlign="Center" TextAlign="Left"
|
SortField="Size" FieldType="Double" HeaderTextAlign="Center" TextAlign="Left"
|
||||||
Width="90px">
|
Width="90px">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField HeaderText="外径(公称直径)" ColumnID="Dia"
|
<f:RenderField HeaderText="外径" ColumnID="Dia"
|
||||||
DataField="Dia" SortField="Dia" FieldType="Double" HeaderTextAlign="Center" TextAlign="Left"
|
DataField="Dia" SortField="Dia" FieldType="Double" HeaderTextAlign="Center" TextAlign="Left"
|
||||||
Width="90px">
|
Width="90px">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
|
<f:RenderField HeaderText="DN公称直径" ColumnID="DNDia"
|
||||||
|
DataField="DNDia" SortField="DNDia" FieldType="String" HeaderTextAlign="Center" TextAlign="Left"
|
||||||
|
Width="90px">
|
||||||
|
</f:RenderField>
|
||||||
<f:RenderField HeaderText="壁厚" ColumnID="Thickness"
|
<f:RenderField HeaderText="壁厚" ColumnID="Thickness"
|
||||||
DataField="Thickness" SortField="Thickness" FieldType="Double" HeaderTextAlign="Center"
|
DataField="Thickness" SortField="Thickness" FieldType="Double" HeaderTextAlign="Center"
|
||||||
TextAlign="Left" Width="90px">
|
TextAlign="Left" Width="90px">
|
||||||
|
|
|
||||||
|
|
@ -297,7 +297,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||||
{
|
{
|
||||||
string strSql = @"SELECT WeldJointId,JointAttribute,WeldJointCode,PipelineId,PipelineCode,JointAttribute,
|
string strSql = @"SELECT WeldJointId,JointAttribute,WeldJointCode,PipelineId,PipelineCode,JointAttribute,
|
||||||
IsWelding,IsHotProessStr,Material1Code,Material2Code,WeldTypeCode,
|
IsWelding,IsHotProessStr,Material1Code,Material2Code,WeldTypeCode,
|
||||||
Specification,HeartNo1,HeartNo2,Size,Dia,Thickness,GrooveTypeCode,
|
Specification,HeartNo1,HeartNo2,Size,Dia,DNDia,Thickness,GrooveTypeCode,
|
||||||
WeldingMethodCode,WeldingWireCode,WeldingRodCode,WeldingDate,WeldingDailyCode,
|
WeldingMethodCode,WeldingWireCode,WeldingRodCode,WeldingDate,WeldingDailyCode,
|
||||||
BackingWelderCode,CoverWelderCode,MediumCode ,PreTemperature,JointArea,WPQCode,Remark
|
BackingWelderCode,CoverWelderCode,MediumCode ,PreTemperature,JointArea,WPQCode,Remark
|
||||||
FROM View_HJGL_WeldJoint WHERE IsTwoJoint IS NULL ";
|
FROM View_HJGL_WeldJoint WHERE IsTwoJoint IS NULL ";
|
||||||
|
|
|
||||||
|
|
@ -77389,6 +77389,8 @@ namespace Model
|
||||||
|
|
||||||
private string _TwoJointType;
|
private string _TwoJointType;
|
||||||
|
|
||||||
|
private string _DNDia;
|
||||||
|
|
||||||
private EntitySet<HJGL_Batch_BatchTrustItem> _HJGL_Batch_BatchTrustItem;
|
private EntitySet<HJGL_Batch_BatchTrustItem> _HJGL_Batch_BatchTrustItem;
|
||||||
|
|
||||||
private EntitySet<HJGL_Batch_PointBatchItem> _HJGL_Batch_PointBatchItem;
|
private EntitySet<HJGL_Batch_PointBatchItem> _HJGL_Batch_PointBatchItem;
|
||||||
|
|
@ -77525,6 +77527,8 @@ namespace Model
|
||||||
partial void OnMatchableWPQChanged();
|
partial void OnMatchableWPQChanged();
|
||||||
partial void OnTwoJointTypeChanging(string value);
|
partial void OnTwoJointTypeChanging(string value);
|
||||||
partial void OnTwoJointTypeChanged();
|
partial void OnTwoJointTypeChanged();
|
||||||
|
partial void OnDNDiaChanging(string value);
|
||||||
|
partial void OnDNDiaChanged();
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
public HJGL_WeldJoint()
|
public HJGL_WeldJoint()
|
||||||
|
|
@ -78494,6 +78498,26 @@ namespace Model
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DNDia", DbType="VarChar(50)")]
|
||||||
|
public string DNDia
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._DNDia;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._DNDia != value))
|
||||||
|
{
|
||||||
|
this.OnDNDiaChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._DNDia = value;
|
||||||
|
this.SendPropertyChanged("DNDia");
|
||||||
|
this.OnDNDiaChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Batch_BatchTrustItem_HJGL_WeldJoint", Storage="_HJGL_Batch_BatchTrustItem", ThisKey="WeldJointId", OtherKey="WeldJointId", DeleteRule="NO ACTION")]
|
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Batch_BatchTrustItem_HJGL_WeldJoint", Storage="_HJGL_Batch_BatchTrustItem", ThisKey="WeldJointId", OtherKey="WeldJointId", DeleteRule="NO ACTION")]
|
||||||
public EntitySet<HJGL_Batch_BatchTrustItem> HJGL_Batch_BatchTrustItem
|
public EntitySet<HJGL_Batch_BatchTrustItem> HJGL_Batch_BatchTrustItem
|
||||||
{
|
{
|
||||||
|
|
@ -213960,6 +213984,8 @@ namespace Model
|
||||||
|
|
||||||
private System.Nullable<decimal> _Dia;
|
private System.Nullable<decimal> _Dia;
|
||||||
|
|
||||||
|
private string _DNDia;
|
||||||
|
|
||||||
private System.Nullable<decimal> _Size;
|
private System.Nullable<decimal> _Size;
|
||||||
|
|
||||||
private System.Nullable<decimal> _Thickness;
|
private System.Nullable<decimal> _Thickness;
|
||||||
|
|
@ -214010,6 +214036,8 @@ namespace Model
|
||||||
|
|
||||||
private string _JointAttribute;
|
private string _JointAttribute;
|
||||||
|
|
||||||
|
private string _TwoJointType;
|
||||||
|
|
||||||
private string _WeldingDate;
|
private string _WeldingDate;
|
||||||
|
|
||||||
private string _BackingWelderCode;
|
private string _BackingWelderCode;
|
||||||
|
|
@ -214742,6 +214770,22 @@ namespace Model
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DNDia", DbType="VarChar(50)")]
|
||||||
|
public string DNDia
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._DNDia;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._DNDia != value))
|
||||||
|
{
|
||||||
|
this._DNDia = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Size", DbType="Decimal(8,3)")]
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Size", DbType="Decimal(8,3)")]
|
||||||
public System.Nullable<decimal> Size
|
public System.Nullable<decimal> Size
|
||||||
{
|
{
|
||||||
|
|
@ -215142,6 +215186,22 @@ namespace Model
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TwoJointType", DbType="NVarChar(100)")]
|
||||||
|
public string TwoJointType
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._TwoJointType;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._TwoJointType != value))
|
||||||
|
{
|
||||||
|
this._TwoJointType = 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