This commit is contained in:
佘春生 2024-05-17 15:13:24 +08:00
parent 3c6e4ddf6b
commit 999055fead
33 changed files with 308 additions and 170 deletions

33
CreateModel.bat Normal file
View File

@ -0,0 +1,33 @@
@echo off
REM ---------------
REM 发布包生成工具
REM 执行此文件前请先用Release生成WebOA项目
REM --------------
REM --------------
REM 环境变量设置 Project_Src为如WebOA这样的分支
REM --------------
set PROJECT_SRC=%CD%
cd..
REM 源代码Model项目文件夹
set Model_ROOT=%PROJECT_SRC%\HJGL\Model
REM --------------
REM 发布程序包文件夹相关
REM --------------
@echo 设置.net控制台环境
@echo.
@call "%VS100COMNTOOLS%"vsvars32.bat
SqlMetal /views /server:.\SQL2016 /database:HJGLDB_ZJBSF /code:%Model_ROOT%\Model.cs /namespace:Model
@ECHO 完成
pause

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -108,7 +108,12 @@ namespace BLL
/// <returns></returns> /// <returns></returns>
public static ListItem[] GetAllTeamGroupList(string projectId, string unitId) public static ListItem[] GetAllTeamGroupList(string projectId, string unitId)
{ {
var q = (from x in Funs.DB.Welder_TeamGroup where x.ProjectId==projectId && x.UnitId == unitId orderby x.TeamGroupName select x).ToList(); var q = (from x in Funs.DB.Welder_TeamGroup where x.ProjectId==projectId orderby x.TeamGroupName select x).ToList();
if (!string.IsNullOrEmpty(unitId))
{
q = q.Where(x => x.UnitId == unitId).ToList();
}
ListItem[] lis = new ListItem[q.Count()]; ListItem[] lis = new ListItem[q.Count()];
for (int i = 0; i < q.Count(); i++) for (int i = 0; i < q.Count(); i++)

View File

@ -98,6 +98,7 @@ namespace BLL
SystemNumber = weldJoint.SystemNumber, SystemNumber = weldJoint.SystemNumber,
Remark = weldJoint.Remark, Remark = weldJoint.Remark,
IsGoldJoint = weldJoint.IsGoldJoint, IsGoldJoint = weldJoint.IsGoldJoint,
IsPMI=weldJoint.IsPMI,
WPQId = weldJoint.WPQId, WPQId = weldJoint.WPQId,
DetectionType = weldJoint.DetectionType, DetectionType = weldJoint.DetectionType,
PageNum = weldJoint.PageNum, PageNum = weldJoint.PageNum,

View File

@ -354,7 +354,8 @@ namespace FineUIPro.Web.WeldingProcess.DataIn
newDataInTemp.Value35 = ds.Tables[0].Rows[i][34].ToString().Trim(); newDataInTemp.Value35 = ds.Tables[0].Rows[i][34].ToString().Trim();
newDataInTemp.Value36 = ds.Tables[0].Rows[i][35].ToString().Trim(); newDataInTemp.Value36 = ds.Tables[0].Rows[i][35].ToString().Trim();
newDataInTemp.Value37 = ds.Tables[0].Rows[i][36].ToString().Trim(); newDataInTemp.Value37 = ds.Tables[0].Rows[i][36].ToString().Trim();
newDataInTemp.Value38 = ds.Tables[0].Rows[i][37].ToString().Trim();
BLL.DataInTempService.AddDataInTemp(newDataInTemp); BLL.DataInTempService.AddDataInTemp(newDataInTemp);
} }
} }
@ -1542,10 +1543,24 @@ namespace FineUIPro.Web.WeldingProcess.DataIn
} }
} }
//if (!string.IsNullOrEmpty(tempData.Value22) && !string.IsNullOrEmpty(tempData.Value23)) if (!string.IsNullOrEmpty(tempData.Value38))
//{ {
// weldJoint.Specification = "Φ" + tempData.Value22 + "*" + tempData.Value23; if (tempData.Value38 == "是")
//} {
weldJoint.IsPMI = true;
}
else if (tempData.Value38 == "否")
{
weldJoint.IsPMI = false;
}
}
else
{
if (jot != null && jot.IsPMI != null)
{
weldJoint.IsPMI = jot.IsPMI;
}
}
if (string.IsNullOrEmpty(errInfo)) // 所有信息正确的话 这插入管线焊口 if (string.IsNullOrEmpty(errInfo)) // 所有信息正确的话 这插入管线焊口
{ {

View File

@ -155,6 +155,8 @@
</f:FormRow> </f:FormRow>
<f:FormRow> <f:FormRow>
<Items> <Items>
<f:TextBox ID="txtValue38" Label="是否PMI检测" runat="server" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtValue35" Label="WPS编号" runat="server" LabelWidth="120px"> <f:TextBox ID="txtValue35" Label="WPS编号" runat="server" LabelWidth="120px">
</f:TextBox> </f:TextBox>
</Items> </Items>

View File

@ -74,7 +74,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn
this.txtValue35.Text = dataInTemp.Value35; this.txtValue35.Text = dataInTemp.Value35;
this.txtValue36.Text = dataInTemp.Value36; this.txtValue36.Text = dataInTemp.Value36;
this.txtValue37.Text = dataInTemp.Value37; this.txtValue37.Text = dataInTemp.Value37;
//this.txtValue38.Text = dataInTemp.Value38; this.txtValue38.Text = dataInTemp.Value38;
this.lbErrCout.Text = dataInTemp.ToopValue; this.lbErrCout.Text = dataInTemp.ToopValue;
} }
} }
@ -541,19 +541,18 @@ namespace FineUIPro.Web.WeldingProcess.DataIn
} }
} }
if (dataInTemp.Value38 != this.txtValue38.Text.Trim())
//if (dataInTemp.Value38 != this.txtValue38.Text.Trim()) {
//{ var tempValue38 = allDataInTemp.Where(x => x.Value38 == dataInTemp.Value38 || (x.Value38 == null && dataInTemp.Value38 == null));
// var tempValue38 = allDataInTemp.Where(x => x.Value38 == dataInTemp.Value38 || (x.Value38 == null && dataInTemp.Value38 == null)); if (tempValue38 != null)
// if (tempValue38 != null) {
// { foreach (var item in tempValue38)
// foreach (var item in tempValue38) {
// { item.Value38 = this.txtValue38.Text.Trim();
// item.Value38 = this.txtValue38.Text.Trim(); Funs.DB.SubmitChanges();
// Funs.DB.SubmitChanges(); }
// } }
// } }
//}
} }
else else
{ {
@ -597,8 +596,8 @@ namespace FineUIPro.Web.WeldingProcess.DataIn
newDataInTemp.Value34 = this.txtValue34.Text.Trim(); newDataInTemp.Value34 = this.txtValue34.Text.Trim();
newDataInTemp.Value35 = this.txtValue35.Text.Trim(); newDataInTemp.Value35 = this.txtValue35.Text.Trim();
newDataInTemp.Value36 = this.txtValue36.Text.Trim(); newDataInTemp.Value36 = this.txtValue36.Text.Trim();
//newDataInTemp.Value37 = this.txtValue37.Text.Trim(); newDataInTemp.Value37 = this.txtValue37.Text.Trim();
//newDataInTemp.Value38 = this.txtValue38.Text.Trim(); newDataInTemp.Value38 = this.txtValue38.Text.Trim();
if (!string.IsNullOrEmpty(this.TempId)) if (!string.IsNullOrEmpty(this.TempId))
{ {

View File

@ -7,11 +7,13 @@
// </自动生成> // </自动生成>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace FineUIPro.Web.WeldingProcess.DataIn { namespace FineUIPro.Web.WeldingProcess.DataIn
{
public partial class DataInEdit {
public partial class DataInEdit
{
/// <summary> /// <summary>
/// form1 控件。 /// form1 控件。
/// </summary> /// </summary>
@ -20,7 +22,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1; protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary> /// <summary>
/// PageManager1 控件。 /// PageManager1 控件。
/// </summary> /// </summary>
@ -29,7 +31,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.PageManager PageManager1; protected global::FineUIPro.PageManager PageManager1;
/// <summary> /// <summary>
/// SimpleForm1 控件。 /// SimpleForm1 控件。
/// </summary> /// </summary>
@ -38,7 +40,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Form SimpleForm1; protected global::FineUIPro.Form SimpleForm1;
/// <summary> /// <summary>
/// Toolbar1 控件。 /// Toolbar1 控件。
/// </summary> /// </summary>
@ -47,7 +49,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Toolbar Toolbar1; protected global::FineUIPro.Toolbar Toolbar1;
/// <summary> /// <summary>
/// ToolbarFill1 控件。 /// ToolbarFill1 控件。
/// </summary> /// </summary>
@ -56,7 +58,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1; protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary> /// <summary>
/// ckAll 控件。 /// ckAll 控件。
/// </summary> /// </summary>
@ -65,7 +67,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.CheckBox ckAll; protected global::FineUIPro.CheckBox ckAll;
/// <summary> /// <summary>
/// btnSave 控件。 /// btnSave 控件。
/// </summary> /// </summary>
@ -74,7 +76,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Button btnSave; protected global::FineUIPro.Button btnSave;
/// <summary> /// <summary>
/// lbErrCout 控件。 /// lbErrCout 控件。
/// </summary> /// </summary>
@ -83,7 +85,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextArea lbErrCout; protected global::FineUIPro.TextArea lbErrCout;
/// <summary> /// <summary>
/// txtValue1 控件。 /// txtValue1 控件。
/// </summary> /// </summary>
@ -92,7 +94,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue1; protected global::FineUIPro.TextBox txtValue1;
/// <summary> /// <summary>
/// txtValue2 控件。 /// txtValue2 控件。
/// </summary> /// </summary>
@ -101,7 +103,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue2; protected global::FineUIPro.TextBox txtValue2;
/// <summary> /// <summary>
/// txtValue3 控件。 /// txtValue3 控件。
/// </summary> /// </summary>
@ -110,7 +112,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue3; protected global::FineUIPro.TextBox txtValue3;
/// <summary> /// <summary>
/// txtValue4 控件。 /// txtValue4 控件。
/// </summary> /// </summary>
@ -119,7 +121,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue4; protected global::FineUIPro.TextBox txtValue4;
/// <summary> /// <summary>
/// txtValue5 控件。 /// txtValue5 控件。
/// </summary> /// </summary>
@ -128,7 +130,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue5; protected global::FineUIPro.TextBox txtValue5;
/// <summary> /// <summary>
/// txtValue6 控件。 /// txtValue6 控件。
/// </summary> /// </summary>
@ -137,7 +139,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue6; protected global::FineUIPro.TextBox txtValue6;
/// <summary> /// <summary>
/// txtValue7 控件。 /// txtValue7 控件。
/// </summary> /// </summary>
@ -146,7 +148,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue7; protected global::FineUIPro.TextBox txtValue7;
/// <summary> /// <summary>
/// txtValue8 控件。 /// txtValue8 控件。
/// </summary> /// </summary>
@ -155,7 +157,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue8; protected global::FineUIPro.TextBox txtValue8;
/// <summary> /// <summary>
/// txtValue9 控件。 /// txtValue9 控件。
/// </summary> /// </summary>
@ -164,7 +166,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue9; protected global::FineUIPro.TextBox txtValue9;
/// <summary> /// <summary>
/// txtValue10 控件。 /// txtValue10 控件。
/// </summary> /// </summary>
@ -173,7 +175,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue10; protected global::FineUIPro.TextBox txtValue10;
/// <summary> /// <summary>
/// txtValue11 控件。 /// txtValue11 控件。
/// </summary> /// </summary>
@ -182,7 +184,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue11; protected global::FineUIPro.TextBox txtValue11;
/// <summary> /// <summary>
/// txtValue12 控件。 /// txtValue12 控件。
/// </summary> /// </summary>
@ -191,7 +193,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue12; protected global::FineUIPro.TextBox txtValue12;
/// <summary> /// <summary>
/// txtValue13 控件。 /// txtValue13 控件。
/// </summary> /// </summary>
@ -200,7 +202,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue13; protected global::FineUIPro.TextBox txtValue13;
/// <summary> /// <summary>
/// txtValue14 控件。 /// txtValue14 控件。
/// </summary> /// </summary>
@ -209,7 +211,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue14; protected global::FineUIPro.TextBox txtValue14;
/// <summary> /// <summary>
/// txtValue15 控件。 /// txtValue15 控件。
/// </summary> /// </summary>
@ -218,7 +220,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue15; protected global::FineUIPro.TextBox txtValue15;
/// <summary> /// <summary>
/// txtValue16 控件。 /// txtValue16 控件。
/// </summary> /// </summary>
@ -227,7 +229,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue16; protected global::FineUIPro.TextBox txtValue16;
/// <summary> /// <summary>
/// txtValue17 控件。 /// txtValue17 控件。
/// </summary> /// </summary>
@ -236,7 +238,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue17; protected global::FineUIPro.TextBox txtValue17;
/// <summary> /// <summary>
/// txtValue18 控件。 /// txtValue18 控件。
/// </summary> /// </summary>
@ -245,7 +247,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue18; protected global::FineUIPro.TextBox txtValue18;
/// <summary> /// <summary>
/// txtValue19 控件。 /// txtValue19 控件。
/// </summary> /// </summary>
@ -254,7 +256,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue19; protected global::FineUIPro.TextBox txtValue19;
/// <summary> /// <summary>
/// txtValue20 控件。 /// txtValue20 控件。
/// </summary> /// </summary>
@ -263,7 +265,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue20; protected global::FineUIPro.TextBox txtValue20;
/// <summary> /// <summary>
/// txtValue21 控件。 /// txtValue21 控件。
/// </summary> /// </summary>
@ -272,7 +274,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue21; protected global::FineUIPro.TextBox txtValue21;
/// <summary> /// <summary>
/// txtValue22 控件。 /// txtValue22 控件。
/// </summary> /// </summary>
@ -281,7 +283,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.NumberBox txtValue22; protected global::FineUIPro.NumberBox txtValue22;
/// <summary> /// <summary>
/// txtValue23 控件。 /// txtValue23 控件。
/// </summary> /// </summary>
@ -290,7 +292,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue23; protected global::FineUIPro.TextBox txtValue23;
/// <summary> /// <summary>
/// txtValue24 控件。 /// txtValue24 控件。
/// </summary> /// </summary>
@ -299,7 +301,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue24; protected global::FineUIPro.TextBox txtValue24;
/// <summary> /// <summary>
/// txtValue25 控件。 /// txtValue25 控件。
/// </summary> /// </summary>
@ -308,7 +310,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue25; protected global::FineUIPro.TextBox txtValue25;
/// <summary> /// <summary>
/// txtValue26 控件。 /// txtValue26 控件。
/// </summary> /// </summary>
@ -317,7 +319,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue26; protected global::FineUIPro.TextBox txtValue26;
/// <summary> /// <summary>
/// txtValue27 控件。 /// txtValue27 控件。
/// </summary> /// </summary>
@ -326,7 +328,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue27; protected global::FineUIPro.TextBox txtValue27;
/// <summary> /// <summary>
/// txtValue28 控件。 /// txtValue28 控件。
/// </summary> /// </summary>
@ -335,7 +337,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue28; protected global::FineUIPro.TextBox txtValue28;
/// <summary> /// <summary>
/// txtValue29 控件。 /// txtValue29 控件。
/// </summary> /// </summary>
@ -344,7 +346,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue29; protected global::FineUIPro.TextBox txtValue29;
/// <summary> /// <summary>
/// txtValue30 控件。 /// txtValue30 控件。
/// </summary> /// </summary>
@ -353,7 +355,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue30; protected global::FineUIPro.TextBox txtValue30;
/// <summary> /// <summary>
/// txtValue31 控件。 /// txtValue31 控件。
/// </summary> /// </summary>
@ -362,7 +364,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue31; protected global::FineUIPro.TextBox txtValue31;
/// <summary> /// <summary>
/// txtValue32 控件。 /// txtValue32 控件。
/// </summary> /// </summary>
@ -371,7 +373,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue32; protected global::FineUIPro.TextBox txtValue32;
/// <summary> /// <summary>
/// txtValue33 控件。 /// txtValue33 控件。
/// </summary> /// </summary>
@ -380,7 +382,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue33; protected global::FineUIPro.TextBox txtValue33;
/// <summary> /// <summary>
/// txtValue34 控件。 /// txtValue34 控件。
/// </summary> /// </summary>
@ -389,7 +391,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue34; protected global::FineUIPro.TextBox txtValue34;
/// <summary> /// <summary>
/// txtValue36 控件。 /// txtValue36 控件。
/// </summary> /// </summary>
@ -398,7 +400,7 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue36; protected global::FineUIPro.TextBox txtValue36;
/// <summary> /// <summary>
/// txtValue37 控件。 /// txtValue37 控件。
/// </summary> /// </summary>
@ -407,7 +409,16 @@ namespace FineUIPro.Web.WeldingProcess.DataIn {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtValue37; protected global::FineUIPro.TextBox txtValue37;
/// <summary>
/// txtValue38 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue38;
/// <summary> /// <summary>
/// txtValue35 控件。 /// txtValue35 控件。
/// </summary> /// </summary>

View File

@ -30,7 +30,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
viewWeldlines[i].WeldTypeCode, viewWeldlines[i].WeldTypeCode,
viewWeldlines[i].JointAttribute, viewWeldlines[i].JointAttribute,
viewWeldlines[i].WeldingLocationCode, viewWeldlines[i].WeldingLocationCode,
viewWeldlines[i].DoneDin, viewWeldlines[i].Size,
viewWeldlines[i].Dia, viewWeldlines[i].Dia,
viewWeldlines[i].Thickness, viewWeldlines[i].Thickness,
viewWeldlines[i].WeldingMethodCode, viewWeldlines[i].WeldingMethodCode,

View File

@ -163,7 +163,7 @@
columnMenu: false, columnMenu: false,
columnResizing: false, columnResizing: false,
cls: 'gridinrowexpander', cls: 'gridinrowexpander',
fields: ['Num', 'PipelineCode', 'WeldJointCode', 'BackingWelderCode', 'CoverWelderCode', 'WeldTypeCode', 'JointAttribute', 'WeldingLocationCode', 'DoneDin', 'Dia', 'Thickness', 'WeldingMethodCode', 'Material1Code', 'Material2Code', 'ComponentsCode1', 'ComponentsCode2', 'HeartNo1', 'HeartNo2', 'WeldSilkCode', 'WeldMatCode', 'PipeSegment', 'WPQCode'], fields: ['Num', 'PipelineCode', 'WeldJointCode', 'BackingWelderCode', 'CoverWelderCode', 'WeldTypeCode', 'JointAttribute', 'WeldingLocationCode', 'Size', 'Dia', 'Thickness', 'WeldingMethodCode', 'Material1Code', 'Material2Code', 'ComponentsCode1', 'ComponentsCode2', 'HeartNo1', 'HeartNo2', 'WeldSilkCode', 'WeldMatCode', 'PipeSegment', 'WPQCode'],
columns: [{ columns: [{
text: '序号', field: 'Num', width: 50 text: '序号', field: 'Num', width: 50
}, { }, {
@ -181,7 +181,7 @@
}, { }, {
text: '焊接位置', field: 'WeldingLocationCode', width: 80 text: '焊接位置', field: 'WeldingLocationCode', width: 80
}, { }, {
text: '管径', field: 'DoneDin', width: 65 text: '管径', field: 'Size', width: 65
}, { }, {
text: '外径', field: 'Dia', width: 65 text: '外径', field: 'Dia', width: 65
}, { }, {

View File

@ -1019,15 +1019,15 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
} }
else else
{ {
d.Material1Id = steel.MaterialId; if ((!string.IsNullOrEmpty(d.Material1Id) && steel.MaterialId != d.Material1Id)
//if (!string.IsNullOrEmpty(d.Material1Id) && d.Material1Id != steel.MaterialId) || (!string.IsNullOrEmpty(d.Material2Id) && steel.MaterialId != d.Material2Id))
//{ {
// errorInfos += (i + 2) + "行,材质1[" + ds.Tables[0].Rows[i]["材质1"].ToString() + "]验证不一至;"; errorInfos += (i + 2) + "行,材质1[" + ds.Tables[0].Rows[i]["材质1"].ToString() + "]验证不一至;";
//} }
//else else
//{ {
// d.Material1Id = steel.MaterialId; d.Material1Id = steel.MaterialId;
//} }
} }
} }
@ -1040,18 +1040,19 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
} }
else else
{ {
d.Material2Id = steel.MaterialId; if ((!string.IsNullOrEmpty(d.Material2Id) && steel.MaterialId!=d.Material2Id)
//if (!string.IsNullOrEmpty(d.Material2Id) && d.Material2Id != steel.MaterialId) || (!string.IsNullOrEmpty(d.Material1Id) && steel.MaterialId != d.Material1Id))
//{ {
// errorInfos += (i + 2) + "行,材质2[" + ds.Tables[0].Rows[i]["材质2"].ToString() + "]验证不一至;"; errorInfos += (i + 2) + "行,材质2[" + ds.Tables[0].Rows[i]["材质2"].ToString() + "]验证不一至;";
//} }
//else else
//{ {
// d.Material2Id = steel.MaterialId; d.Material2Id = steel.MaterialId;
//} }
} }
} }
if (ds.Tables[0].Rows[i]["组件1"] != null && !string.IsNullOrEmpty(ds.Tables[0].Rows[i]["组件1"].ToString())) if (ds.Tables[0].Rows[i]["组件1"] != null && !string.IsNullOrEmpty(ds.Tables[0].Rows[i]["组件1"].ToString()))
{ {
var com = componentss.FirstOrDefault(x => x.ComponentsCode == ds.Tables[0].Rows[i]["组件1"].ToString()); var com = componentss.FirstOrDefault(x => x.ComponentsCode == ds.Tables[0].Rows[i]["组件1"].ToString());
@ -1061,7 +1062,9 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
} }
else else
{ {
if (!string.IsNullOrEmpty(d.PipeAssembly1Id) && d.PipeAssembly1Id != com.ComponentsId) if ((!string.IsNullOrEmpty(d.PipeAssembly1Id) && com.ComponentsId != d.PipeAssembly1Id)
|| (!string.IsNullOrEmpty(d.PipeAssembly2Id) && com.ComponentsId != d.PipeAssembly2Id))
{ {
errorInfos += (i + 2) + "行,组件1[" + ds.Tables[0].Rows[i]["组件1"].ToString() + "]验证不一至;"; errorInfos += (i + 2) + "行,组件1[" + ds.Tables[0].Rows[i]["组件1"].ToString() + "]验证不一至;";
} }
@ -1081,7 +1084,8 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
} }
else else
{ {
if (!string.IsNullOrEmpty(d.PipeAssembly2Id) && d.PipeAssembly2Id != com.ComponentsId) if ((!string.IsNullOrEmpty(d.PipeAssembly1Id) && com.ComponentsId != d.PipeAssembly1Id)
|| (!string.IsNullOrEmpty(d.PipeAssembly2Id) && com.ComponentsId != d.PipeAssembly2Id))
{ {
errorInfos += (i + 2) + "行,组件2[" + ds.Tables[0].Rows[i]["组件2"].ToString() + "]验证不一至;"; errorInfos += (i + 2) + "行,组件2[" + ds.Tables[0].Rows[i]["组件2"].ToString() + "]验证不一至;";
} }
@ -1094,27 +1098,28 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
if (ds.Tables[0].Rows[i]["炉批号1"] != null && !string.IsNullOrEmpty(ds.Tables[0].Rows[i]["炉批号1"].ToString())) if (ds.Tables[0].Rows[i]["炉批号1"] != null && !string.IsNullOrEmpty(ds.Tables[0].Rows[i]["炉批号1"].ToString()))
{ {
d.HeartNo1 = ds.Tables[0].Rows[i]["炉批号1"].ToString(); if ((!string.IsNullOrEmpty(d.HeartNo1) && ds.Tables[0].Rows[i]["炉批号1"].ToString() != d.HeartNo1)
//if (!string.IsNullOrEmpty(d.HeartNo1) && d.HeartNo1 != ds.Tables[0].Rows[i]["炉批号1"].ToString()) || (!string.IsNullOrEmpty(d.HeartNo2) && ds.Tables[0].Rows[i]["炉批号1"].ToString() != d.HeartNo2))
//{ {
// errorInfos += (i + 2) + "行,炉批号1[" + ds.Tables[0].Rows[i]["炉批号1"].ToString() + "]验证不一至;"; errorInfos += (i + 2) + "行,炉批号1[" + ds.Tables[0].Rows[i]["炉批号1"].ToString() + "]验证不一至;";
//} }
//else else
//{ {
// d.HeartNo1 = ds.Tables[0].Rows[i]["炉批号1"].ToString(); d.HeartNo1 = ds.Tables[0].Rows[i]["炉批号1"].ToString();
//} }
} }
if (ds.Tables[0].Rows[i]["炉批号2"] != null && !string.IsNullOrEmpty(ds.Tables[0].Rows[i]["炉批号2"].ToString())) if (ds.Tables[0].Rows[i]["炉批号2"] != null && !string.IsNullOrEmpty(ds.Tables[0].Rows[i]["炉批号2"].ToString()))
{ {
d.HeartNo2 = ds.Tables[0].Rows[i]["炉批号2"].ToString(); if ((!string.IsNullOrEmpty(d.HeartNo1) && ds.Tables[0].Rows[i]["炉批号2"].ToString() != d.HeartNo1)
//if (!string.IsNullOrEmpty(d.HeartNo2) && d.HeartNo2 != ds.Tables[0].Rows[i]["炉批号2"].ToString()) || (!string.IsNullOrEmpty(d.HeartNo2) && ds.Tables[0].Rows[i]["炉批号2"].ToString() != d.HeartNo2))
//{ {
// errorInfos += (i + 2) + "行,炉批号2[" + ds.Tables[0].Rows[i]["炉批号2"].ToString() + "]验证不一至;"; errorInfos += (i + 2) + "行,炉批号2[" + ds.Tables[0].Rows[i]["炉批号2"].ToString() + "]验证不一至;";
//} }
//else else
//{ {
// d.HeartNo2 = ds.Tables[0].Rows[i]["炉批号2"].ToString(); d.HeartNo2 = ds.Tables[0].Rows[i]["炉批号2"].ToString();
//} }
} }
//if (ds.Tables[0].Rows[i]["焊丝"] != null && !string.IsNullOrEmpty(ds.Tables[0].Rows[i]["焊丝"].ToString())) //if (ds.Tables[0].Rows[i]["焊丝"] != null && !string.IsNullOrEmpty(ds.Tables[0].Rows[i]["焊丝"].ToString()))

View File

@ -28,17 +28,20 @@
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left"> <f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
<Items> <Items>
<f:DropDownList ID="drpInstallation" runat="server" Label="<%$ Resources:Lan,InstallationCode %>" AutoPostBack="true" <f:DropDownList ID="drpInstallation" runat="server" Label="<%$ Resources:Lan,InstallationCode %>" AutoPostBack="true"
LabelAlign="Right" Width="240px" OnSelectedIndexChanged="drpInstallation_OnSelectedIndexChanged"> LabelAlign="Right" Width="180px" LabelWidth="80px" OnSelectedIndexChanged="drpInstallation_OnSelectedIndexChanged">
</f:DropDownList> </f:DropDownList>
<f:DropDownList ID="drpWorkAreaId" runat="server" Label="<%$ Resources:Lan,Area %>" <f:DropDownList ID="drpWorkAreaId" runat="server" Label="<%$ Resources:Lan,Area %>"
LabelAlign="Right" Width="240px" > LabelAlign="Right" Width="180px" LabelWidth="80px" >
</f:DropDownList> </f:DropDownList>
<f:DropDownList ID="drpUnit" runat="server" Label="施工单位" LabelAlign="Right" Width="240px" EmptyText="请选择施工单位" <f:DropDownList ID="drpUnit" runat="server" Label="施工单位" LabelAlign="Right" Width="220px" EmptyText="请选择施工单位"
LabelWidth="90px"> LabelWidth="90px">
</f:DropDownList> </f:DropDownList>
<f:DropDownList ID="drpTeamGroup" runat="server" Label="班组" EnableCheckBoxSelect="true" EnableMultiSelect="true"
LabelAlign="Right" Width="240px" LabelWidth="80px">
</f:DropDownList>
<f:DatePicker runat="server" Label="焊接日期" ID="txtStarTime" LabelAlign="Right" <f:DatePicker runat="server" Label="焊接日期" ID="txtStarTime" LabelAlign="Right"
LabelWidth="100px" Width="220px"> LabelWidth="90px" Width="210px">
</f:DatePicker> </f:DatePicker>
<f:Label ID="Label1" runat="server" Text="<%$ Resources:Lan,To %>"> <f:Label ID="Label1" runat="server" Text="<%$ Resources:Lan,To %>">
</f:Label> </f:Label>

View File

@ -1,7 +1,6 @@
using BLL; using BLL;
using NPOI.XSSF.UserModel; using NPOI.XSSF.UserModel;
using NPOI.SS.UserModel; using NPOI.SS.UserModel;
using NPOI.HSSF.Util;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
@ -10,13 +9,9 @@ using System.Data.SqlClient;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using Newtonsoft.Json.Linq; using Newtonsoft.Json.Linq;
using NPOI.HSSF.UserModel;
using NPOI.SS.Util;
using NPOI.SS.Formula.Functions;
using NPOI.OpenXmlFormats.Wordprocessing;
using System.Web.UI.WebControls;
using BorderStyle = NPOI.SS.UserModel.BorderStyle; using BorderStyle = NPOI.SS.UserModel.BorderStyle;
using System.Data.Linq;
namespace FineUIPro.Web.WeldingProcess.WeldingReport namespace FineUIPro.Web.WeldingProcess.WeldingReport
{ {
@ -36,6 +31,12 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport
BLL.Project_InstallationService.InitInstallationDropDownList(drpInstallation, true, CurrUser.LoginProjectId, Resources.Lan.PleaseSelect); BLL.Project_InstallationService.InitInstallationDropDownList(drpInstallation, true, CurrUser.LoginProjectId, Resources.Lan.PleaseSelect);
BLL.Base_UnitService.InitProjectUnitDropDownList(this.drpUnit, true, CurrUser.LoginProjectId, Const.UnitType_5, Resources.Lan.PleaseSelect); BLL.Base_UnitService.InitProjectUnitDropDownList(this.drpUnit, true, CurrUser.LoginProjectId, Const.UnitType_5, Resources.Lan.PleaseSelect);
Funs.FineUIPleaseSelect(drpWorkAreaId, Resources.Lan.PleaseSelect); Funs.FineUIPleaseSelect(drpWorkAreaId, Resources.Lan.PleaseSelect);
var teamGroup = BLL.Welder_TeamGroupService.GetAllTeamGroupList(CurrUser.LoginProjectId, "");
drpTeamGroup.DataValueField = "Value";
drpTeamGroup.DataTextField = "Text";
drpTeamGroup.DataSource = teamGroup;
drpTeamGroup.DataBind();
Funs.FineUIPleaseSelect(drpTeamGroup, "");
} }
} }
@ -70,7 +71,9 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport
left join Welder_Welder AS fw on weldJoint.BackingWelderId = fw.WelderId left join Welder_Welder AS fw on weldJoint.BackingWelderId = fw.WelderId
left join Welder_Welder AS cw on weldJoint.CoverWelderId = cw.WelderId left join Welder_Welder AS cw on weldJoint.CoverWelderId = cw.WelderId
LEFT JOIN dbo.Base_DetectionRate rate ON rate.DetectionRateId = pipeline.DetectionRateId LEFT JOIN dbo.Base_DetectionRate rate ON rate.DetectionRateId = pipeline.DetectionRateId
WHERE weldJoint.WeldingDailyId IS NOT NULL AND weldJoint.ProjectId=@projectId"; LEFT JOIN dbo.Welder_ProjectWelder pcw ON pcw.WelderId = weldJoint.CoverWelderId AND pcw.ProjectId=weldJoint.ProjectId
LEFT JOIN dbo.Welder_ProjectWelder pfw ON pfw.WelderId = weldJoint.BackingWelderId AND pfw.ProjectId=weldJoint.ProjectId
WHERE weldJoint.WeldingDailyId IS NOT NULL AND weldJoint.ProjectId=@projectId";
List<SqlParameter> listStr = new List<SqlParameter>(); List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@projectId", this.CurrUser.LoginProjectId)); listStr.Add(new SqlParameter("@projectId", this.CurrUser.LoginProjectId));
@ -97,11 +100,13 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport
strSql += " AND pipeline.UnitId = @UnitId"; strSql += " AND pipeline.UnitId = @UnitId";
listStr.Add(new SqlParameter("@UnitId", drpUnit.SelectedValue)); listStr.Add(new SqlParameter("@UnitId", drpUnit.SelectedValue));
} }
//if (this.drpWelder.SelectedValue!=Const._Null) if (this.drpTeamGroup.SelectedValueArray.Length>0)
//{ {
// strSql += " AND (weldJoint.CoverWelderId=@WelderId OR weldJoint.BackingWelderId=@WelderId)"; string[] teamGroupList = drpTeamGroup.SelectedValueArray;
// listStr.Add(new SqlParameter("@WelderId", drpWelder.SelectedValue)); string teamGroups = string.Join(",", teamGroupList);
//} strSql += " AND (CHARINDEX(pcw.TeamGroupId,@TeamGroupId)>0 OR CHARINDEX(pfw.TeamGroupId,@TeamGroupId)>0) ";
listStr.Add(new SqlParameter("@TeamGroupId", teamGroups));
}
if (txtStarTime.Text != "") if (txtStarTime.Text != "")
{ {
strSql += " AND weldingDaily.WeldingDate> = @WeldingStartDate"; strSql += " AND weldingDaily.WeldingDate> = @WeldingStartDate";

View File

@ -7,11 +7,13 @@
// </自动生成> // </自动生成>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace FineUIPro.Web.WeldingProcess.WeldingReport { namespace FineUIPro.Web.WeldingProcess.WeldingReport
{
public partial class WeldDailyExport {
public partial class WeldDailyExport
{
/// <summary> /// <summary>
/// form1 控件。 /// form1 控件。
/// </summary> /// </summary>
@ -20,7 +22,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1; protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary> /// <summary>
/// PageManager1 控件。 /// PageManager1 控件。
/// </summary> /// </summary>
@ -29,7 +31,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.PageManager PageManager1; protected global::FineUIPro.PageManager PageManager1;
/// <summary> /// <summary>
/// Panel1 控件。 /// Panel1 控件。
/// </summary> /// </summary>
@ -38,7 +40,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Panel Panel1; protected global::FineUIPro.Panel Panel1;
/// <summary> /// <summary>
/// Grid1 控件。 /// Grid1 控件。
/// </summary> /// </summary>
@ -47,7 +49,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Grid Grid1; protected global::FineUIPro.Grid Grid1;
/// <summary> /// <summary>
/// Toolbar1 控件。 /// Toolbar1 控件。
/// </summary> /// </summary>
@ -56,7 +58,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Toolbar Toolbar1; protected global::FineUIPro.Toolbar Toolbar1;
/// <summary> /// <summary>
/// drpInstallation 控件。 /// drpInstallation 控件。
/// </summary> /// </summary>
@ -65,7 +67,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.DropDownList drpInstallation; protected global::FineUIPro.DropDownList drpInstallation;
/// <summary> /// <summary>
/// drpWorkAreaId 控件。 /// drpWorkAreaId 控件。
/// </summary> /// </summary>
@ -74,7 +76,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.DropDownList drpWorkAreaId; protected global::FineUIPro.DropDownList drpWorkAreaId;
/// <summary> /// <summary>
/// drpUnit 控件。 /// drpUnit 控件。
/// </summary> /// </summary>
@ -83,7 +85,16 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.DropDownList drpUnit; protected global::FineUIPro.DropDownList drpUnit;
/// <summary>
/// drpTeamGroup 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpTeamGroup;
/// <summary> /// <summary>
/// txtStarTime 控件。 /// txtStarTime 控件。
/// </summary> /// </summary>
@ -92,7 +103,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.DatePicker txtStarTime; protected global::FineUIPro.DatePicker txtStarTime;
/// <summary> /// <summary>
/// Label1 控件。 /// Label1 控件。
/// </summary> /// </summary>
@ -101,7 +112,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Label Label1; protected global::FineUIPro.Label Label1;
/// <summary> /// <summary>
/// txtEndTime 控件。 /// txtEndTime 控件。
/// </summary> /// </summary>
@ -110,7 +121,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.DatePicker txtEndTime; protected global::FineUIPro.DatePicker txtEndTime;
/// <summary> /// <summary>
/// ToolbarFill1 控件。 /// ToolbarFill1 控件。
/// </summary> /// </summary>
@ -119,7 +130,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1; protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary> /// <summary>
/// BtnAnalyse 控件。 /// BtnAnalyse 控件。
/// </summary> /// </summary>
@ -128,7 +139,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Button BtnAnalyse; protected global::FineUIPro.Button BtnAnalyse;
/// <summary> /// <summary>
/// btnOut 控件。 /// btnOut 控件。
/// </summary> /// </summary>
@ -137,7 +148,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.Button btnOut; protected global::FineUIPro.Button btnOut;
/// <summary> /// <summary>
/// labNumber 控件。 /// labNumber 控件。
/// </summary> /// </summary>
@ -146,7 +157,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label labNumber; protected global::System.Web.UI.WebControls.Label labNumber;
/// <summary> /// <summary>
/// Label3 控件。 /// Label3 控件。
/// </summary> /// </summary>
@ -155,7 +166,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label Label3; protected global::System.Web.UI.WebControls.Label Label3;
/// <summary> /// <summary>
/// ToolbarSeparator1 控件。 /// ToolbarSeparator1 控件。
/// </summary> /// </summary>
@ -164,7 +175,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
/// <summary> /// <summary>
/// ToolbarText1 控件。 /// ToolbarText1 控件。
/// </summary> /// </summary>
@ -173,7 +184,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.ToolbarText ToolbarText1; protected global::FineUIPro.ToolbarText ToolbarText1;
/// <summary> /// <summary>
/// ddlPageSize 控件。 /// ddlPageSize 控件。
/// </summary> /// </summary>

View File

@ -21479,10 +21479,12 @@ namespace Model
private int _Status; private int _Status;
private System.Nullable<System.DateTime> _CreatedTime; private System.Nullable<System.DateTime> _CheckTime;
private string _ReportNo; private string _ReportNo;
private System.Nullable<System.DateTime> _ReportTime;
#region #region
partial void OnLoaded(); partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnValidate(System.Data.Linq.ChangeAction action);
@ -21499,10 +21501,12 @@ namespace Model
partial void OnAcceptanceChanged(); partial void OnAcceptanceChanged();
partial void OnStatusChanging(int value); partial void OnStatusChanging(int value);
partial void OnStatusChanged(); partial void OnStatusChanged();
partial void OnCreatedTimeChanging(System.Nullable<System.DateTime> value); partial void OnCheckTimeChanging(System.Nullable<System.DateTime> value);
partial void OnCreatedTimeChanged(); partial void OnCheckTimeChanged();
partial void OnReportNoChanging(string value); partial void OnReportNoChanging(string value);
partial void OnReportNoChanged(); partial void OnReportNoChanged();
partial void OnReportTimeChanging(System.Nullable<System.DateTime> value);
partial void OnReportTimeChanged();
#endregion #endregion
public PMI_DelegationDetails() public PMI_DelegationDetails()
@ -21630,22 +21634,22 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedTime", DbType="DateTime")] [global::System.Data.Linq.Mapping.ColumnAttribute(Name="checkTime", Storage="_CheckTime", DbType="DateTime")]
public System.Nullable<System.DateTime> CreatedTime public System.Nullable<System.DateTime> CheckTime
{ {
get get
{ {
return this._CreatedTime; return this._CheckTime;
} }
set set
{ {
if ((this._CreatedTime != value)) if ((this._CheckTime != value))
{ {
this.OnCreatedTimeChanging(value); this.OnCheckTimeChanging(value);
this.SendPropertyChanging(); this.SendPropertyChanging();
this._CreatedTime = value; this._CheckTime = value;
this.SendPropertyChanged("CreatedTime"); this.SendPropertyChanged("CheckTime");
this.OnCreatedTimeChanged(); this.OnCheckTimeChanged();
} }
} }
} }
@ -21670,6 +21674,26 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="reportTime", Storage="_ReportTime", DbType="DateTime")]
public System.Nullable<System.DateTime> ReportTime
{
get
{
return this._ReportTime;
}
set
{
if ((this._ReportTime != value))
{
this.OnReportTimeChanging(value);
this.SendPropertyChanging();
this._ReportTime = value;
this.SendPropertyChanged("ReportTime");
this.OnReportTimeChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged; public event PropertyChangedEventHandler PropertyChanged;
@ -40691,7 +40715,9 @@ namespace Model
private string _Acceptance; private string _Acceptance;
private System.Nullable<System.DateTime> _CreatedTime; private System.Nullable<System.DateTime> _CheckTime;
private System.Nullable<System.DateTime> _ReportTime;
private string _WeldJointId; private string _WeldJointId;
@ -40755,18 +40781,34 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedTime", DbType="DateTime")] [global::System.Data.Linq.Mapping.ColumnAttribute(Name="checkTime", Storage="_CheckTime", DbType="DateTime")]
public System.Nullable<System.DateTime> CreatedTime public System.Nullable<System.DateTime> CheckTime
{ {
get get
{ {
return this._CreatedTime; return this._CheckTime;
} }
set set
{ {
if ((this._CreatedTime != value)) if ((this._CheckTime != value))
{ {
this._CreatedTime = value; this._CheckTime = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="reportTime", Storage="_ReportTime", DbType="DateTime")]
public System.Nullable<System.DateTime> ReportTime
{
get
{
return this._ReportTime;
}
set
{
if ((this._ReportTime != value))
{
this._ReportTime = value;
} }
} }
} }

View File

@ -267,8 +267,12 @@ GO
alter table PMI_DelegationDetails add reportTime datetime
-- 增加报告编号
ALTER TABLE dbo.PMI_DelegationDetails ADD reportNo NVARCHAR(50)
-- 增加报告日期
ALTER TABLE dbo.PMI_DelegationDetails ADD reportTime datetime
GO
ALTER VIEW [dbo].[View_PMI_DelegationDetails] ALTER VIEW [dbo].[View_PMI_DelegationDetails]
@ -286,6 +290,7 @@ TrustItem.PMIId,
Trust.ProjectId, Trust.ProjectId,
Trust.DelegationNo, Trust.DelegationNo,
Trust.DelegationDate, Trust.DelegationDate,
ISNULL(TrustItem.reportNo,Trust.DelegationNo) as reportNo,
WeldJoint.WeldJointCode, WeldJoint.WeldJointCode,
Pipeline.PipelineCode, Pipeline.PipelineCode,
WeldJoint.Specification, WeldJoint.Specification,
@ -304,3 +309,4 @@ GO