diff --git a/DataBase/版本日志/SGGLDB_WH_2024-04-16-bwj.sql b/DataBase/版本日志/SGGLDB_WH_2024-04-16-bwj.sql
new file mode 100644
index 00000000..1ebd5691
--- /dev/null
+++ b/DataBase/版本日志/SGGLDB_WH_2024-04-16-bwj.sql
@@ -0,0 +1,84 @@
+
+CREATE TABLE [dbo].[Sys_DataInTemp](
+ [TempId] [nvarchar](50) NOT NULL,
+ [ProjectId] [nvarchar](50) NULL,
+ [UserId] [nvarchar](50) NULL,
+ [Time] [datetime] NULL,
+ [RowNo] [int] NULL,
+ [Value1] [nvarchar](100) NULL,
+ [Value2] [nvarchar](100) NULL,
+ [Value3] [nvarchar](100) NULL,
+ [Value4] [nvarchar](100) NULL,
+ [Value5] [nvarchar](100) NULL,
+ [Value6] [nvarchar](100) NULL,
+ [Value7] [nvarchar](100) NULL,
+ [Value8] [nvarchar](100) NULL,
+ [Value9] [nvarchar](100) NULL,
+ [Value10] [nvarchar](100) NULL,
+ [Value11] [nvarchar](100) NULL,
+ [Value12] [nvarchar](100) NULL,
+ [Value13] [nvarchar](100) NULL,
+ [Value14] [nvarchar](100) NULL,
+ [Value15] [nvarchar](100) NULL,
+ [Value16] [nvarchar](100) NULL,
+ [Value17] [nvarchar](100) NULL,
+ [Value18] [nvarchar](100) NULL,
+ [Value19] [nvarchar](100) NULL,
+ [Value20] [nvarchar](100) NULL,
+ [Value21] [nvarchar](100) NULL,
+ [Value22] [nvarchar](100) NULL,
+ [Value23] [nvarchar](100) NULL,
+ [Value24] [nvarchar](100) NULL,
+ [Value25] [nvarchar](100) NULL,
+ [Value26] [nvarchar](100) NULL,
+ [Value27] [nvarchar](100) NULL,
+ [Value28] [nvarchar](100) NULL,
+ [Value29] [nvarchar](100) NULL,
+ [Value30] [nvarchar](100) NULL,
+ [Value31] [nvarchar](100) NULL,
+ [Value32] [nvarchar](100) NULL,
+ [Value33] [nvarchar](100) NULL,
+ [Value34] [nvarchar](100) NULL,
+ [Value35] [nvarchar](100) NULL,
+ [Value36] [nvarchar](100) NULL,
+ [Value37] [nvarchar](100) NULL,
+ [Value38] [nvarchar](100) NULL,
+ [Value39] [nvarchar](100) NULL,
+ [Value40] [nvarchar](100) NULL,
+ [Value41] [nvarchar](100) NULL,
+ [Value42] [nvarchar](100) NULL,
+ [Value43] [nvarchar](100) NULL,
+ [Value44] [nvarchar](100) NULL,
+ [Value45] [nvarchar](100) NULL,
+ [Value46] [nvarchar](100) NULL,
+ [Value47] [nvarchar](100) NULL,
+ [Value48] [nvarchar](100) NULL,
+ [Value49] [nvarchar](100) NULL,
+ [Value50] [nvarchar](100) NULL,
+ [ToopValue] [nvarchar](4000) NULL,
+ [Type] [nvarchar](50) NULL,
+ CONSTRAINT [PK_Sys_DataInTemp] PRIMARY KEY CLUSTERED
+(
+ [TempId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY]
+GO
+
+ALTER TABLE [dbo].[Sys_DataInTemp] WITH CHECK ADD CONSTRAINT [FK_Sys_DataInTemp_Base_Project] FOREIGN KEY([ProjectId])
+REFERENCES [dbo].[Base_Project] ([ProjectId])
+GO
+
+ALTER TABLE [dbo].[Sys_DataInTemp] CHECK CONSTRAINT [FK_Sys_DataInTemp_Base_Project]
+GO
+
+ALTER TABLE [dbo].[Sys_DataInTemp] WITH CHECK ADD CONSTRAINT [FK_Sys_DataInTemp_Sys_User] FOREIGN KEY([UserId])
+REFERENCES [dbo].[Sys_User] ([UserId])
+GO
+
+ALTER TABLE [dbo].[Sys_DataInTemp] CHECK CONSTRAINT [FK_Sys_DataInTemp_Sys_User]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Sys_DataInTemp'
+GO
+
+
diff --git a/SGGL/BLL/BLL.csproj b/SGGL/BLL/BLL.csproj
index ff413696..a2279f0b 100644
--- a/SGGL/BLL/BLL.csproj
+++ b/SGGL/BLL/BLL.csproj
@@ -181,6 +181,7 @@
+
diff --git a/SGGL/BLL/CQMS/Comprehensive/DataReceivingDocService.cs b/SGGL/BLL/CQMS/Comprehensive/DataReceivingDocService.cs
index 6068958e..9dac14b5 100644
--- a/SGGL/BLL/CQMS/Comprehensive/DataReceivingDocService.cs
+++ b/SGGL/BLL/CQMS/Comprehensive/DataReceivingDocService.cs
@@ -21,6 +21,17 @@ namespace BLL
return Funs.DB.Comprehensive_DataReceivingDoc.FirstOrDefault(e => e.DataReceivingDocId == dataReceivingDocId);
}
+ ///
+ /// 根据编号和名称获取资料收发文登记记录
+ ///
+ ///
+ ///
+ ///
+ public static Model.Comprehensive_DataReceivingDoc GetDataReceivingDocByCodeAndName(string fileCode, string fileName)
+ {
+ return Funs.DB.Comprehensive_DataReceivingDoc.FirstOrDefault(e => e.FileCode == fileCode && e.FileName == fileName);
+ }
+
///
/// 添加资料收发文登记记录
///
diff --git a/SGGL/BLL/Common/Const.cs b/SGGL/BLL/Common/Const.cs
index c42c8498..6d133b12 100644
--- a/SGGL/BLL/Common/Const.cs
+++ b/SGGL/BLL/Common/Const.cs
@@ -3240,6 +3240,11 @@ namespace BLL
/// 新项目质量月报模板文件原始虚拟路径
///
public const string MonthReportNewTemplateUrl = "File\\Word\\CQMS\\项目质量月报.doc";
+
+ ///
+ /// 资料收发文登记记录导入模板原始虚拟路径
+ ///
+ public const string CQMS_DataReceivingDocTempUrl = "File\\Excel\\DataIn\\资料收发文登记记录导入模板.xlsx";
#endregion
#region 绩效考核模板文件路径
diff --git a/SGGL/BLL/Common/Sys_DataTempService.cs b/SGGL/BLL/Common/Sys_DataTempService.cs
new file mode 100644
index 00000000..1b09aa07
--- /dev/null
+++ b/SGGL/BLL/Common/Sys_DataTempService.cs
@@ -0,0 +1,266 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace BLL
+{
+ ///
+ /// 导入到临时表
+ ///
+ public class Sys_DataTempService
+ {
+ ///
+ /// 根据主键获取导入临时表信息
+ ///
+ /// Id
+ ///
+ public static Model.Sys_DataInTemp GetDataInTempByTempId(string tempId)
+ {
+ return Funs.DB.Sys_DataInTemp.FirstOrDefault(x => x.TempId == tempId);
+ }
+
+ ///
+ /// 增加导入临时表记录
+ ///
+ /// 委托实体
+ public static void AddDataInTemp(Model.Sys_DataInTemp dataInTemp)
+ {
+ Model.SGGLDB db = Funs.DB;
+ Model.Sys_DataInTemp newDataInTemp = new Model.Sys_DataInTemp();
+ newDataInTemp.TempId = dataInTemp.TempId;
+ newDataInTemp.ProjectId = dataInTemp.ProjectId;
+ newDataInTemp.UserId = dataInTemp.UserId;
+ newDataInTemp.Time = dataInTemp.Time;
+ newDataInTemp.RowNo = dataInTemp.RowNo;
+ newDataInTemp.Type = dataInTemp.Type;
+ newDataInTemp.Value1 = dataInTemp.Value1;
+ newDataInTemp.Value2 = dataInTemp.Value2;
+ newDataInTemp.Value3 = dataInTemp.Value3;
+ newDataInTemp.Value4 = dataInTemp.Value4;
+ newDataInTemp.Value5 = dataInTemp.Value5;
+ newDataInTemp.Value6 = dataInTemp.Value6;
+ newDataInTemp.Value7 = dataInTemp.Value7;
+ newDataInTemp.Value8 = dataInTemp.Value8;
+ newDataInTemp.Value9 = dataInTemp.Value9;
+ newDataInTemp.Value10 = dataInTemp.Value10;
+ newDataInTemp.Value11 = dataInTemp.Value11;
+ newDataInTemp.Value12 = dataInTemp.Value12;
+ newDataInTemp.Value13 = dataInTemp.Value13;
+ newDataInTemp.Value14 = dataInTemp.Value14;
+ newDataInTemp.Value15 = dataInTemp.Value15;
+ newDataInTemp.Value16 = dataInTemp.Value16;
+ newDataInTemp.Value17 = dataInTemp.Value17;
+ newDataInTemp.Value18 = dataInTemp.Value18;
+ newDataInTemp.Value19 = dataInTemp.Value19;
+ newDataInTemp.Value20 = dataInTemp.Value20;
+ newDataInTemp.Value21 = dataInTemp.Value21;
+ newDataInTemp.Value22 = dataInTemp.Value22;
+ newDataInTemp.Value23 = dataInTemp.Value23;
+ newDataInTemp.Value24 = dataInTemp.Value24;
+ newDataInTemp.Value25 = dataInTemp.Value25;
+ newDataInTemp.Value26 = dataInTemp.Value26;
+ newDataInTemp.Value27 = dataInTemp.Value27;
+ newDataInTemp.Value28 = dataInTemp.Value28;
+ newDataInTemp.Value29 = dataInTemp.Value29;
+ newDataInTemp.Value30 = dataInTemp.Value30;
+ newDataInTemp.Value31 = dataInTemp.Value31;
+ newDataInTemp.Value32 = dataInTemp.Value32;
+ newDataInTemp.Value33 = dataInTemp.Value33;
+ newDataInTemp.Value34 = dataInTemp.Value34;
+ newDataInTemp.Value35 = dataInTemp.Value35;
+ newDataInTemp.Value36 = dataInTemp.Value36;
+ newDataInTemp.Value37 = dataInTemp.Value37;
+ newDataInTemp.Value38 = dataInTemp.Value38;
+ newDataInTemp.Value39 = dataInTemp.Value39;
+ newDataInTemp.Value40 = dataInTemp.Value40;
+ newDataInTemp.Value41 = dataInTemp.Value41;
+ newDataInTemp.Value42 = dataInTemp.Value42;
+ newDataInTemp.Value43 = dataInTemp.Value43;
+ newDataInTemp.Value44 = dataInTemp.Value44;
+ newDataInTemp.Value45 = dataInTemp.Value45;
+ newDataInTemp.Value46 = dataInTemp.Value46;
+ newDataInTemp.Value47 = dataInTemp.Value47;
+ newDataInTemp.Value48 = dataInTemp.Value48;
+ newDataInTemp.Value49 = dataInTemp.Value49;
+ newDataInTemp.Value50 = dataInTemp.Value50;
+
+
+ newDataInTemp.ToopValue = dataInTemp.ToopValue;
+ db.Sys_DataInTemp.InsertOnSubmit(newDataInTemp);
+ db.SubmitChanges();
+ }
+
+
+ public static void AddDataInTemp(List dataInTemps)
+ {
+ Model.SGGLDB db = Funs.DB;
+ foreach (var dataInTemp in dataInTemps)
+ {
+ Model.Sys_DataInTemp newDataInTemp = new Model.Sys_DataInTemp();
+ newDataInTemp.TempId = dataInTemp.TempId;
+ newDataInTemp.ProjectId = dataInTemp.ProjectId;
+ newDataInTemp.UserId = dataInTemp.UserId;
+ newDataInTemp.Time = dataInTemp.Time;
+ newDataInTemp.RowNo = dataInTemp.RowNo;
+ newDataInTemp.Type = dataInTemp.Type;
+ newDataInTemp.Value1 = dataInTemp.Value1;
+ newDataInTemp.Value2 = dataInTemp.Value2;
+ newDataInTemp.Value3 = dataInTemp.Value3;
+ newDataInTemp.Value4 = dataInTemp.Value4;
+ newDataInTemp.Value5 = dataInTemp.Value5;
+ newDataInTemp.Value6 = dataInTemp.Value6;
+ newDataInTemp.Value7 = dataInTemp.Value7;
+ newDataInTemp.Value8 = dataInTemp.Value8;
+ newDataInTemp.Value9 = dataInTemp.Value9;
+ newDataInTemp.Value10 = dataInTemp.Value10;
+ newDataInTemp.Value11 = dataInTemp.Value11;
+ newDataInTemp.Value12 = dataInTemp.Value12;
+ newDataInTemp.Value13 = dataInTemp.Value13;
+ newDataInTemp.Value14 = dataInTemp.Value14;
+ newDataInTemp.Value15 = dataInTemp.Value15;
+ newDataInTemp.Value16 = dataInTemp.Value16;
+ newDataInTemp.Value17 = dataInTemp.Value17;
+ newDataInTemp.Value18 = dataInTemp.Value18;
+ newDataInTemp.Value19 = dataInTemp.Value19;
+ newDataInTemp.Value20 = dataInTemp.Value20;
+ newDataInTemp.Value21 = dataInTemp.Value21;
+ newDataInTemp.Value22 = dataInTemp.Value22;
+ newDataInTemp.Value23 = dataInTemp.Value23;
+ newDataInTemp.Value24 = dataInTemp.Value24;
+ newDataInTemp.Value25 = dataInTemp.Value25;
+ newDataInTemp.Value26 = dataInTemp.Value26;
+ newDataInTemp.Value27 = dataInTemp.Value27;
+ newDataInTemp.Value28 = dataInTemp.Value28;
+ newDataInTemp.Value29 = dataInTemp.Value29;
+ newDataInTemp.Value30 = dataInTemp.Value30;
+ newDataInTemp.Value31 = dataInTemp.Value31;
+ newDataInTemp.Value32 = dataInTemp.Value32;
+ newDataInTemp.Value33 = dataInTemp.Value33;
+ newDataInTemp.Value34 = dataInTemp.Value34;
+ newDataInTemp.Value35 = dataInTemp.Value35;
+ newDataInTemp.Value36 = dataInTemp.Value36;
+ newDataInTemp.Value37 = dataInTemp.Value37;
+ newDataInTemp.Value38 = dataInTemp.Value38;
+ newDataInTemp.Value39 = dataInTemp.Value39;
+ newDataInTemp.Value40 = dataInTemp.Value40;
+ newDataInTemp.Value41 = dataInTemp.Value41;
+ newDataInTemp.Value42 = dataInTemp.Value42;
+ newDataInTemp.Value43 = dataInTemp.Value43;
+ newDataInTemp.Value44 = dataInTemp.Value44;
+ newDataInTemp.Value45 = dataInTemp.Value45;
+ newDataInTemp.Value46 = dataInTemp.Value46;
+ newDataInTemp.Value47 = dataInTemp.Value47;
+ newDataInTemp.Value48 = dataInTemp.Value48;
+ newDataInTemp.Value49 = dataInTemp.Value49;
+ newDataInTemp.Value50 = dataInTemp.Value50;
+
+ newDataInTemp.ToopValue = dataInTemp.ToopValue;
+ db.Sys_DataInTemp.InsertOnSubmit(newDataInTemp);
+ }
+ db.SubmitChanges();
+ }
+
+
+
+ ///
+ /// 修改导入临时表记录
+ ///
+ /// 焊接实体
+ public static void UpdateDataInTemp(Model.Sys_DataInTemp dataInTemp)
+ {
+ Model.SGGLDB db = Funs.DB;
+ Model.Sys_DataInTemp newDataInTemp = db.Sys_DataInTemp.FirstOrDefault(e => e.TempId == dataInTemp.TempId);
+ if (newDataInTemp != null)
+ {
+ newDataInTemp.UserId = dataInTemp.UserId;
+ newDataInTemp.Time = dataInTemp.Time;
+ newDataInTemp.Value1 = dataInTemp.Value1;
+ newDataInTemp.Value2 = dataInTemp.Value2;
+ newDataInTemp.Value3 = dataInTemp.Value3;
+ newDataInTemp.Value4 = dataInTemp.Value4;
+ newDataInTemp.Value5 = dataInTemp.Value5;
+ newDataInTemp.Value6 = dataInTemp.Value6;
+ newDataInTemp.Value7 = dataInTemp.Value7;
+ newDataInTemp.Value8 = dataInTemp.Value8;
+ newDataInTemp.Value9 = dataInTemp.Value9;
+ newDataInTemp.Value10 = dataInTemp.Value10;
+ newDataInTemp.Value11 = dataInTemp.Value11;
+ newDataInTemp.Value12 = dataInTemp.Value12;
+ newDataInTemp.Value13 = dataInTemp.Value13;
+ newDataInTemp.Value14 = dataInTemp.Value14;
+ newDataInTemp.Value15 = dataInTemp.Value15;
+ newDataInTemp.Value16 = dataInTemp.Value16;
+ newDataInTemp.Value17 = dataInTemp.Value17;
+ newDataInTemp.Value18 = dataInTemp.Value18;
+ newDataInTemp.Value19 = dataInTemp.Value19;
+ newDataInTemp.Value20 = dataInTemp.Value20;
+ newDataInTemp.Value21 = dataInTemp.Value21;
+ newDataInTemp.Value22 = dataInTemp.Value22;
+ newDataInTemp.Value23 = dataInTemp.Value23;
+ newDataInTemp.Value24 = dataInTemp.Value24;
+ newDataInTemp.Value25 = dataInTemp.Value25;
+ newDataInTemp.Value26 = dataInTemp.Value26;
+ newDataInTemp.Value27 = dataInTemp.Value27;
+ newDataInTemp.Value28 = dataInTemp.Value28;
+ newDataInTemp.Value29 = dataInTemp.Value29;
+ newDataInTemp.Value30 = dataInTemp.Value30;
+ newDataInTemp.Value31 = dataInTemp.Value31;
+ newDataInTemp.Value32 = dataInTemp.Value32;
+ newDataInTemp.Value33 = dataInTemp.Value33;
+ newDataInTemp.Value34 = dataInTemp.Value34;
+ newDataInTemp.Value35 = dataInTemp.Value35;
+ newDataInTemp.Value36 = dataInTemp.Value36;
+ newDataInTemp.Value37 = dataInTemp.Value37;
+ newDataInTemp.Value38 = dataInTemp.Value38;
+ newDataInTemp.Value39 = dataInTemp.Value39;
+ newDataInTemp.Value40 = dataInTemp.Value40;
+ newDataInTemp.Value41 = dataInTemp.Value41;
+ newDataInTemp.Value42 = dataInTemp.Value42;
+ newDataInTemp.Value43 = dataInTemp.Value43;
+ newDataInTemp.Value44 = dataInTemp.Value44;
+ newDataInTemp.Value45 = dataInTemp.Value45;
+ newDataInTemp.Value46 = dataInTemp.Value46;
+ newDataInTemp.Value47 = dataInTemp.Value47;
+ newDataInTemp.Value48 = dataInTemp.Value48;
+ newDataInTemp.Value49 = dataInTemp.Value49;
+ newDataInTemp.Value50 = dataInTemp.Value50;
+ newDataInTemp.ToopValue = dataInTemp.ToopValue;
+ newDataInTemp.Type = dataInTemp.Type;
+ db.SubmitChanges();
+ }
+ }
+
+ ///
+ /// 根据主键删除导入临时表记录
+ ///
+ /// 委托主键
+ public static void DeleteDataInTempByDataInTempID(string tempId)
+ {
+ Model.SGGLDB db = Funs.DB;
+ Model.Sys_DataInTemp dataInTemp = db.Sys_DataInTemp.FirstOrDefault(e => e.TempId == tempId);
+ if (dataInTemp != null)
+ {
+ db.Sys_DataInTemp.DeleteOnSubmit(dataInTemp);
+ db.SubmitChanges();
+ }
+ }
+
+ ///
+ /// 根据项目用户主键删除导入临时表记录
+ ///
+ ///
+ ///
+ public static void DeleteDataInTempByProjectIdUserId(string projectId, string userId, string type)
+ {
+ Model.SGGLDB db = Funs.DB;
+ var dataInTemp = from x in db.Sys_DataInTemp where x.ProjectId == projectId && x.UserId == userId && x.Type == type select x;
+ if (dataInTemp.Count() > 0)
+ {
+ db.Sys_DataInTemp.DeleteAllOnSubmit(dataInTemp);
+ db.SubmitChanges();
+ }
+ }
+ }
+}
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx
index 19171c07..02d5d8a7 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx
@@ -32,8 +32,8 @@
- <%--
- --%>
+
+
@@ -154,10 +154,10 @@
Target="Parent" EnableResize="false" runat="server" IsModal="true" OnClose="Window1_Close"
Width="1024px" Height="550px">
- <%--
- --%>
+ Width="1024px" Height="560px">
+
<%--
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx.cs
index 097e7a42..ca189fce 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx.cs
@@ -210,12 +210,12 @@ namespace FineUIPro.Web.CQMS.Comprehensive
///
///
///
- //protected void btnImport_Click(object sender, EventArgs e)
- //{
- // PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("DataReceivingDocDataIn.aspx", "导入 - ")));
- //}
+ protected void btnImport_Click(object sender, EventArgs e)
+ {
+ PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("DataReceivingDocDataIn.aspx", "导入 - ")));
+ }
#endregion
-
+
#region 格式化字符串
///
/// 获取单位名称
@@ -313,10 +313,10 @@ namespace FineUIPro.Web.CQMS.Comprehensive
{
this.btnMenuDel.Hidden = false;
}
- //if (buttonList.Contains(BLL.Const.BtnSave))
- //{
- // this.btnImport.Hidden = false;
- //}
+ if (buttonList.Contains(BLL.Const.BtnSave))
+ {
+ this.btnImport.Hidden = false;
+ }
}
}
#endregion
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx.designer.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx.designer.cs
index 37d92463..f68eca34 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx.designer.cs
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx.designer.cs
@@ -93,6 +93,15 @@ namespace FineUIPro.Web.CQMS.Comprehensive {
///
protected global::FineUIPro.Button btnNew;
+ ///
+ /// btnImport 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnImport;
+
///
/// lblPageIndex 控件。
///
@@ -156,6 +165,15 @@ namespace FineUIPro.Web.CQMS.Comprehensive {
///
protected global::FineUIPro.Window Window1;
+ ///
+ /// Window2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window2;
+
///
/// Menu1 控件。
///
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocDataIn.aspx b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocDataIn.aspx
new file mode 100644
index 00000000..d8c41fa8
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocDataIn.aspx
@@ -0,0 +1,205 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DataReceivingDocDataIn.aspx.cs" Inherits="FineUIPro.Web.CQMS.Comprehensive.DataReceivingDocDataIn" %>
+
+
+
+
+
+
+ 导入资料收发文登记记录
+
+
+
+
+
+
+
+
+
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocDataIn.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocDataIn.aspx.cs
new file mode 100644
index 00000000..dc38a99d
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocDataIn.aspx.cs
@@ -0,0 +1,695 @@
+using BLL;
+using Model;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Data.SqlClient;
+using System.IO;
+using System.Linq;
+using System.Threading;
+
+namespace FineUIPro.Web.CQMS.Comprehensive
+{
+ public partial class DataReceivingDocDataIn : PageBase
+ {
+ #region 定义项
+ ///
+ /// 上传预设的虚拟路径
+ ///
+ private string initPath = Const.ExcelUrl;
+
+ ///
+ /// 错误集合
+ ///
+ public static string errorInfos = string.Empty;
+
+ #endregion
+
+ #region 加载
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ if (percent == null)
+ {
+ percent = new Dictionary();
+ }
+ this.id.Text = this.CurrUser.UserId;
+ this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
+ // 绑定表格
+ this.BindGrid();
+ }
+ else if (GetRequestEventArgument() == "reloadGrid")
+ {
+ BindGrid();
+ }
+ }
+ #endregion
+
+ #region 绑定数据
+ ///
+ /// 绑定数据
+ ///
+ private void BindGrid()
+ {
+ string strSql = @"SELECT TempId,ProjectId,UserId,Time,RowNo,ToopValue,Value1,Value2,Value3,Value4,Value5,Value6,Value7,Value8,Value9,Value10"
+ + @" ,Value11,Value12,Value13,Value14,Value15,Value16,Value17,Value18,Value19,Value20,Value21,Value22,Value23,Value24,Value25,Value26,Value27,Value28,Value29,Value30"
+ + @" ,Value31,Value32,Value33,Value34,Value35,Value36,Value37,Value38,Value39,Value40,Value41,Value42,Value43,Value44,Value45,Value46,Value47,Value48,Value49,Value50,ToopValue,Type"
+ + @" FROM Sys_DataInTemp "
+ + @" WHERE ProjectId=@ProjectId AND UserId=@UserId AND Type=@Type";
+ List listStr = new List();
+ listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
+ listStr.Add(new SqlParameter("@UserId", this.CurrUser.UserId));
+ listStr.Add(new SqlParameter("@Type", "DataReceivingDoc"));//资料收发文登记记录
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
+ Grid1.RecordCount = tb.Rows.Count;
+ var table = this.GetPagedDataTable(Grid1, tb);
+ Grid1.DataSource = table;
+ Grid1.DataBind();
+
+ var dataInTempAll = from x in Funs.DB.Sys_DataInTemp
+ where x.ProjectId == this.CurrUser.LoginProjectId && x.UserId == this.CurrUser.UserId && x.Type == "DataReceivingDoc"
+ select x;
+ for (int i = 0; i < Grid1.Rows.Count; i++)
+ {
+ var dataInTemp = dataInTempAll.FirstOrDefault(x => x.TempId == Grid1.Rows[i].DataKeys[0].ToString());
+ if (dataInTemp != null)
+ {
+ if (!string.IsNullOrEmpty(dataInTemp.ToopValue))
+ {
+ Grid1.Rows[i].RowCssClass = "red";
+ }
+ }
+ }
+ var errData = from x in dataInTempAll where x.ToopValue != null select x;
+ this.lbDataCout.Text = errData.Count().ToString();
+ }
+ #endregion
+
+ #region 双击事件
+ ///
+ /// Grid行双击事件
+ ///
+ ///
+ ///
+ protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
+ return;
+ }
+ if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.DataReceivingDocMenuId, Const.BtnSave))
+ {
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("DataReceivingDocDataInEdit.aspx?TempId={0}", Grid1.SelectedRowID, "维护 - ")));
+ }
+ else
+ {
+ ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ }
+ }
+ #endregion
+
+ #region 导入信息 维护
+ ///
+ /// 导入信息编辑
+ ///
+ ///
+ ///
+ protected void btnMenuEdit_Click(object sender, EventArgs e)
+ {
+ if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.DataReceivingDocMenuId, BLL.Const.BtnSave))
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
+ return;
+ }
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("DataReceivingDocDataInEdit.aspx?TempId={0}", Grid1.SelectedRowID, "维护 - ")));
+ }
+ else
+ {
+ ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ }
+ }
+
+ ///
+ /// 删除按钮
+ ///
+ ///
+ ///
+ protected void btnMenuDelete_Click(object sender, EventArgs e)
+ {
+ if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.DataReceivingDocMenuId, Const.BtnSave))
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
+ return;
+ }
+ foreach (int rowIndex in Grid1.SelectedRowIndexArray)
+ {
+ string rowID = Grid1.DataKeys[rowIndex][0].ToString();
+ BLL.Sys_DataTempService.DeleteDataInTempByDataInTempID(rowID);
+ }
+ ShowNotify("删除成功!", MessageBoxIcon.Success);
+ this.BindGrid();
+ }
+ else
+ {
+ Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ #endregion
+
+ #region 分页 排序
+ ///
+ /// 分页
+ ///
+ ///
+ ///
+ protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
+ {
+ BindGrid();
+ }
+
+ ///
+ /// 分页显示条数下拉框
+ ///
+ ///
+ ///
+ protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
+ BindGrid();
+ }
+
+ ///
+ /// 排序
+ ///
+ ///
+ ///
+ protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 删除所有数据事件
+ ///
+ /// 删除所有数据事件
+ ///
+ ///
+ ///
+ protected void btnAllDelete_Click(object sender, EventArgs e)
+ {
+ if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.DataReceivingDocMenuId, Const.BtnSave))
+ {
+ //先删除临时表中 该人员以前导入的数据
+ BLL.Sys_DataTempService.DeleteDataInTempByProjectIdUserId(this.CurrUser.LoginProjectId, this.CurrUser.UserId, "DataReceivingDoc");
+ this.BindGrid();
+ ShowNotify("删除成功!", MessageBoxIcon.Success);
+ this.lbDataCout.Text = string.Empty;
+ }
+ else
+ {
+ Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ #endregion
+
+ #region 下载模板
+ ///
+ /// 下载模板
+ ///
+ ///
+ ///
+ protected void imgbtnUpload_Click(object sender, EventArgs e)
+ {
+ this.TemplateUpload(BLL.Const.CQMS_DataReceivingDocTempUrl);
+ }
+
+ protected void TemplateUpload(string initTemplatePath)
+ {
+ string rootPath = Server.MapPath("~/");
+ string uploadfilepath = rootPath + initTemplatePath;
+ string filePath = Const.CQMS_DataReceivingDocTempUrl;
+ string fileName = Path.GetFileName(filePath);
+ FileInfo info = new FileInfo(uploadfilepath);
+ long fileSize = info.Length;
+ Response.ClearContent();
+ Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));
+ Response.ContentType = "excel/plain";
+ Response.ContentEncoding = System.Text.Encoding.UTF8;
+ Response.AddHeader("Content-Length", fileSize.ToString().Trim());
+ Response.TransmitFile(uploadfilepath, 0, fileSize);
+ Response.End();
+ }
+
+ ///
+ /// 导入说明
+ ///
+ ///
+ ///
+ //protected void lkAchievements_Click(object sender, EventArgs e)
+ //{
+ // this.TemplateUpload(Const.CQMS_DataReceivingDocTempUrl);
+ //}
+ #endregion
+
+ #region 进度条
+ public static Dictionary percent { get; set; }
+ public static Dictionary url { get; set; }
+
+ [System.Web.Services.WebMethod]
+ public static int getPercent(string id)
+ {
+ return percent[id];
+ }
+ #endregion
+
+ #region 文件上传
+ ///
+ /// 文件上传
+ ///
+ ///
+ ///
+ protected void imgbtnImport_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ if (this.FileExcel.HasFile == false)
+ {
+ ShowNotify("请选择Excel文件!", MessageBoxIcon.Warning);
+ return;
+ }
+ string IsXls = Path.GetExtension(this.FileExcel.FileName).ToString().Trim().ToLower();
+ if (IsXls != ".xls" && IsXls != ".xlsx")
+ {
+ ShowNotify("只能选择Excel文件!", MessageBoxIcon.Warning);
+ return;
+ }
+ string rootPath = Server.MapPath("~/");
+ string initFullPath = rootPath + initPath;
+ if (!Directory.Exists(initFullPath))
+ {
+ Directory.CreateDirectory(initFullPath);
+ }
+ //指定上传文件名称
+ this.hdfileName.Text = BLL.Funs.GetNewFileName() + IsXls;
+ //上传文件路径
+ string filePath = initFullPath + this.hdfileName.Text;
+ //文件上传服务器
+ this.FileExcel.PostedFile.SaveAs(filePath);
+ //文件上传服务器后的名称
+ string fileName = rootPath + initPath + this.hdfileName.Text;
+ //读取Excel
+ DataSet ds = NPOIHelper.ExcelToDataSet(fileName, out errorInfos, true);
+ //验证Excel读取是否有误
+ if (!string.IsNullOrEmpty(errorInfos))
+ {
+ ShowNotify(errorInfos, MessageBoxIcon.Warning);
+ return;
+ }
+
+ if (ds.Tables.Count > 0)
+ {
+ for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
+ {
+ Sys_DataInTemp newDataInTemp = new Sys_DataInTemp();
+ newDataInTemp.TempId = SQLHelper.GetNewID(typeof(Model.Sys_DataInTemp));
+ newDataInTemp.ProjectId = this.CurrUser.LoginProjectId;
+ newDataInTemp.UserId = this.CurrUser.UserId;
+ newDataInTemp.Time = System.DateTime.Now;
+ newDataInTemp.Type = "DataReceivingDoc";
+ newDataInTemp.RowNo = i + 2;
+ newDataInTemp.Value1 = ds.Tables[0].Rows[i]["日期"].ToString().Trim();
+ newDataInTemp.Value2 = ds.Tables[0].Rows[i]["文件号"].ToString().Trim();
+ newDataInTemp.Value3 = ds.Tables[0].Rows[i]["文件名称"].ToString().Trim();
+ newDataInTemp.Value4 = ds.Tables[0].Rows[i]["文件类别"].ToString().Trim();
+ newDataInTemp.Value5 = ds.Tables[0].Rows[i]["专业"].ToString().Trim();
+ newDataInTemp.Value6 = ds.Tables[0].Rows[i]["发件单位"].ToString().Trim();
+ newDataInTemp.Value7 = ds.Tables[0].Rows[i]["发件人"].ToString().Trim();
+ newDataInTemp.Value8 = ds.Tables[0].Rows[i]["份数"].ToString().Trim();
+ newDataInTemp.Value9 = ds.Tables[0].Rows[i]["文件处理人"].ToString().Trim();
+ newDataInTemp.Value10 = ds.Tables[0].Rows[i]["发出日期"].ToString().Trim();
+ newDataInTemp.Value11 = ds.Tables[0].Rows[i]["接收单位"].ToString().Trim();
+ newDataInTemp.Value12 = ds.Tables[0].Rows[i]["接收人"].ToString().Trim();
+ newDataInTemp.Value13 = ds.Tables[0].Rows[i]["是否需回复"].ToString().Trim();
+ newDataInTemp.Value14 = ds.Tables[0].Rows[i]["返回五环日期"].ToString().Trim();
+ newDataInTemp.Value15 = ds.Tables[0].Rows[i]["返回五环份数"].ToString().Trim();
+ newDataInTemp.Value16 = ds.Tables[0].Rows[i]["下发至单位"].ToString().Trim();
+ newDataInTemp.Value17 = ds.Tables[0].Rows[i]["下发份数"].ToString().Trim();
+ newDataInTemp.Value18 = ds.Tables[0].Rows[i]["下发单位接收人"].ToString().Trim();
+ newDataInTemp.Value19 = ds.Tables[0].Rows[i]["是否存档"].ToString().Trim();
+
+ BLL.Sys_DataTempService.AddDataInTemp(newDataInTemp);
+ }
+ this.BindGrid();
+ ShowNotify("数据已导入临时表!", MessageBoxIcon.Success);
+ }
+ else
+ {
+ ShowNotify("无数据!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ catch (Exception ex)
+ {
+ Alert.ShowInTop("'" + ex.Message + "'", MessageBoxIcon.Warning);
+ }
+ }
+ #endregion
+
+ #region 保存审核事件
+ ///
+ /// 保存审核事件
+ ///
+ ///
+ ///
+ protected void btnSave_Click(object sender, EventArgs e)
+ {
+ Thread t = new Thread(new ThreadStart(() => { btnSaveMethod(this.CurrUser.LoginProjectId, this.CurrUser.UserId); }));
+ t.Start();
+ if (percent.ContainsKey(this.CurrUser.UserId))
+ {
+ percent[CurrUser.UserId] = 0;
+ }
+ else
+ {
+ percent.Add(CurrUser.UserId, 0);
+ }
+ PageContext.RegisterStartupScript("printX()");
+ }
+ protected void btnRefresh_Click(object sender, EventArgs e)
+ {
+ this.BindGrid();
+ }
+
+ protected void btnSaveMethod(string LoginProjectId, string UserId)
+ {
+ var units = from x in Funs.DB.Base_Unit
+ join y in Funs.DB.Project_ProjectUnit on x.UnitId equals y.UnitId
+ where y.ProjectId == LoginProjectId
+ select x;
+ var cNProfessionals = from x in Funs.DB.Base_CNProfessional select x;//专业
+
+ var dataInTemp = from x in Funs.DB.Sys_DataInTemp
+ where x.ProjectId == LoginProjectId && x.UserId == UserId && x.Type == "DataReceivingDoc"
+ select x;
+ int okCount = 0;
+ int i = 0;
+ int ir = dataInTemp.Count();
+ string erreMessage = "";
+ foreach (var tempData in dataInTemp)
+ {
+ if (tempData != null)
+ {
+ i++;
+ percent[UserId] = (int)(100 * i / ir);
+ string errInfo = string.Empty;
+ var isExitValue = Funs.DB.Comprehensive_DataReceivingDoc.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.FileCode == tempData.Value2
+ && x.FileName == tempData.Value3);
+ if (isExitValue == null || this.ckUpdate.Checked)
+ {
+ Model.Comprehensive_DataReceivingDoc newData = new Model.Comprehensive_DataReceivingDoc();
+ if (!string.IsNullOrEmpty(tempData.Value1.Trim()))
+ {
+ try
+ {
+ newData.ReceiveDate = Funs.GetNewDateTime(tempData.Value1.Trim());
+ }
+ catch (Exception)
+ {
+ errInfo += "日期格式不正确;";
+ }
+ }
+ else
+ {
+ errInfo += "日期为必填项;";
+ }
+
+ if (!string.IsNullOrEmpty(tempData.Value2.Trim()))
+ {
+ newData.FileCode = tempData.Value2.Trim();
+ }
+ else
+ {
+ errInfo += "文件号为必填项;";
+ }
+ if (!string.IsNullOrEmpty(tempData.Value3.Trim()))
+ {
+ newData.FileName = tempData.Value3.Trim();
+ }
+ else
+ {
+ errInfo += "文件名称为必填项;";
+ }
+ if (!string.IsNullOrEmpty(tempData.Value4.Trim()))
+ {
+ newData.FileType = tempData.Value4.Trim();
+ }
+ else
+ {
+ errInfo += "文件类别为必填项;";
+ }
+ if (!string.IsNullOrEmpty(tempData.Value5.Trim()))
+ {
+ var professional = cNProfessionals.FirstOrDefault(e => e.ProfessionalName == tempData.Value5.Trim());
+ if (professional != null)
+ {
+ newData.CNProfessionalId = professional.CNProfessionalId;
+ }
+ else
+ {
+ errInfo += "专业不存在;";
+ }
+ }
+ else
+ {
+ errInfo += "专业为必填项;";
+ }
+ if (!string.IsNullOrEmpty(tempData.Value6.Trim()))
+ {
+ var unit = units.FirstOrDefault(e => e.UnitName == tempData.Value6.Trim());
+ if (unit != null)
+ {
+ newData.SendUnit = unit.UnitId;
+ }
+ else
+ {
+ errInfo += "发件单位不存在;";
+ }
+ }
+ else
+ {
+ errInfo += "发件单位为必填项;";
+ }
+ if (!string.IsNullOrEmpty(tempData.Value7.Trim()))//发件人
+ {
+ newData.SendMan = tempData.Value7.Trim();
+ }
+ else
+ {
+ errInfo += "发件人为必填项;";
+ }
+ if (!string.IsNullOrEmpty(tempData.Value8.Trim()))//份数
+ {
+ try
+ {
+ newData.Copies = Funs.GetNewInt(tempData.Value8.Trim());
+ }
+ catch (Exception)
+ {
+ errInfo += "份数格式不正确;";
+ }
+ }
+ else
+ {
+ errInfo += "份数为必填项;";
+ }
+ if (!string.IsNullOrEmpty(tempData.Value9.Trim())) //文件处理人
+ {
+ newData.DocumentHandler = tempData.Value9.Trim();
+ }
+ if (!string.IsNullOrEmpty(tempData.Value10.Trim())) //发出日期
+ {
+ try
+ {
+ newData.SendDate = Funs.GetNewDateTime(tempData.Value10.Trim());
+ }
+ catch (Exception)
+ {
+ errInfo += "发出日期格式不正确;";
+ }
+ }
+ if (!string.IsNullOrEmpty(tempData.Value11.Trim()))//接收单位
+ {
+ string unitList = string.Empty;
+ List lists = tempData.Value11.Trim().Split(',').ToList();
+ if (lists.Count > 0)
+ {
+ foreach (var item in lists)
+ {
+ var unit = units.FirstOrDefault(x => x.UnitName == item.Trim());
+ if (unit != null)
+ {
+ unitList += unit.UnitId + ",";
+ }
+ else
+ {
+ errInfo += "接收单位不存在;";
+ }
+ }
+ if (!string.IsNullOrEmpty(unitList))
+ {
+ newData.ReceiveUnit = unitList.Substring(0, unitList.LastIndexOf(","));
+ }
+ }
+ }
+ if (!string.IsNullOrEmpty(tempData.Value12.Trim()))//接收人
+ {
+ newData.ReceiveMan = tempData.Value12.Trim();
+ }
+ if (tempData.Value13.Trim() == "是") //是否需回复
+ {
+ newData.IsReply = true;
+ }
+ else
+ {
+ newData.IsReply = false;
+ }
+ if (!string.IsNullOrEmpty(tempData.Value14.Trim())) //返回五环日期
+ {
+ try
+ {
+ newData.ReturnWuhuangDate = Funs.GetNewDateTime(tempData.Value14.Trim());
+ }
+ catch (Exception)
+ {
+ errInfo += "返回五环日期格式不正确;";
+ }
+ }
+ if (!string.IsNullOrEmpty(tempData.Value15.Trim()))//返回五环份数
+ {
+ try
+ {
+ newData.RetrunWuhuangCopies = Funs.GetNewInt(tempData.Value15.Trim());
+ }
+ catch (Exception)
+ {
+ errInfo += "返回五环份数格式不正确;";
+ }
+ }
+ if (!string.IsNullOrEmpty(tempData.Value16.Trim()))//下发至单位
+ {
+ string unitLists = string.Empty;
+ List lists = tempData.Value16.Trim().Split(',').ToList();
+ if (lists.Count > 0)
+ {
+ foreach (var item in lists)
+ {
+ var unit = units.FirstOrDefault(x => x.UnitName == item.Trim());
+ if (unit != null)
+ {
+ unitLists += unit.UnitId + ",";
+ }
+ else
+ {
+ errInfo += "下发至单位不存在;";
+ }
+ }
+ if (!string.IsNullOrEmpty(unitLists))
+ {
+ newData.IssueToUnit = unitLists.Substring(0, unitLists.LastIndexOf(","));
+ }
+ }
+ }
+ if (!string.IsNullOrEmpty(tempData.Value17.Trim())) //下发份数
+ {
+ try
+ {
+ newData.IssueCopies = Funs.GetNewInt(tempData.Value17.Trim());
+ }
+ catch (Exception)
+ {
+ errInfo += "下发份数格式不正确;";
+ }
+ }
+ if (!string.IsNullOrEmpty(tempData.Value18.Trim()))//下发单位接收人
+ {
+ newData.IssueUnitReceiver = tempData.Value18.Trim();
+ }
+ if (!string.IsNullOrEmpty(tempData.Value19.Trim())) //是否存档
+ {
+ if (tempData.Value19.Trim() == "是")
+ {
+ newData.IsOnFile = true;
+ }
+ else
+ {
+ newData.IsOnFile = false;
+ }
+ }
+ if (string.IsNullOrEmpty(errInfo)) ////所有信息正确的话 这插入管线焊口
+ {
+ newData.ProjectId = this.CurrUser.LoginProjectId;
+
+ var data = BLL.DataReceivingDocService.GetDataReceivingDocByCodeAndName(newData.FileCode, newData.FileName);
+ if (data == null)
+ {
+ newData.DataReceivingDocId = SQLHelper.GetNewID(typeof(Model.Comprehensive_DataReceivingDoc));
+ BLL.DataReceivingDocService.AddDataReceivingDoc(newData);
+ }
+ else
+ {
+ newData.DataReceivingDocId = data.DataReceivingDocId;
+ BLL.DataReceivingDocService.UpdateDataReceivingDoc(newData);
+ }
+
+ BLL.Sys_DataTempService.DeleteDataInTempByDataInTempID(tempData.TempId);
+ okCount++;
+ }
+ }
+ else
+ {
+ errInfo = "该条记录已存在于资料收发文登记记录表中。";
+ }
+
+ if (!string.IsNullOrEmpty(errInfo))
+ {
+ tempData.ToopValue = errInfo;
+ BLL.Sys_DataTempService.UpdateDataInTemp(tempData);
+ erreMessage += errInfo + ";";
+ }
+ }
+ }
+ }
+ #endregion
+
+ #region 导出按钮
+ /// 导出按钮
+ ///
+ ///
+ ///
+ protected void btnOut_Click(object sender, EventArgs e)
+ {
+ Response.ClearContent();
+ string filename = Funs.GetNewFileName();
+ Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("资料收发文登记记录导入模板" + filename, System.Text.Encoding.UTF8) + ".xlsx");
+ Response.ContentType = "application/excel";
+ Response.ContentEncoding = System.Text.Encoding.UTF8;
+ Response.Write(GetGridTableHtml(Grid1));
+ Response.End();
+ }
+ #endregion
+ }
+}
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocDataIn.aspx.designer.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocDataIn.aspx.designer.cs
new file mode 100644
index 00000000..f0af2d6c
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocDataIn.aspx.designer.cs
@@ -0,0 +1,267 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.CQMS.Comprehensive {
+
+
+ public partial class DataReceivingDocDataIn {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// id 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.HiddenField id;
+
+ ///
+ /// Panel1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel1;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// hdfileName 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.HiddenField hdfileName;
+
+ ///
+ /// FileExcel 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.FileUpload FileExcel;
+
+ ///
+ /// imgbtnImport 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button imgbtnImport;
+
+ ///
+ /// ToolbarFill1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarFill ToolbarFill1;
+
+ ///
+ /// ckUpdate 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.CheckBox ckUpdate;
+
+ ///
+ /// btnSave 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnSave;
+
+ ///
+ /// btnRefresh 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnRefresh;
+
+ ///
+ /// btnAllDelete 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnAllDelete;
+
+ ///
+ /// btnOut 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnOut;
+
+ ///
+ /// imgbtnUpload 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button imgbtnUpload;
+
+ ///
+ /// Grid1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid1;
+
+ ///
+ /// lblPageIndex 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.WebControls.Label lblPageIndex;
+
+ ///
+ /// ToolbarSeparator1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
+
+ ///
+ /// ToolbarText1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarText ToolbarText1;
+
+ ///
+ /// ddlPageSize 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList ddlPageSize;
+
+ ///
+ /// lbDataCout 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Label lbDataCout;
+
+ ///
+ /// Window1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window1;
+
+ ///
+ /// Window2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window2;
+
+ ///
+ /// ContentPanel3 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ContentPanel ContentPanel3;
+
+ ///
+ /// Menu1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Menu Menu1;
+
+ ///
+ /// btnMenuEdit 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuEdit;
+
+ ///
+ /// btnMenuDelete 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuDelete;
+
+ ///
+ /// ScriptManager2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.ScriptManager ScriptManager2;
+ }
+}
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocDataInEdit.aspx b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocDataInEdit.aspx
new file mode 100644
index 00000000..3eb9f78e
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocDataInEdit.aspx
@@ -0,0 +1,94 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DataReceivingDocDataInEdit.aspx.cs" Inherits="FineUIPro.Web.CQMS.Comprehensive.DataReceivingDocDataInEdit" %>
+
+
+
+
+
+
+ 编辑导入资料收发文登记记录
+
+
+
+
+
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocDataInEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocDataInEdit.aspx.cs
new file mode 100644
index 00000000..01bab778
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocDataInEdit.aspx.cs
@@ -0,0 +1,347 @@
+using BLL;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace FineUIPro.Web.CQMS.Comprehensive
+{
+ public partial class DataReceivingDocDataInEdit : PageBase
+ {
+ #region 定义项
+ ///
+ /// 临时表主键
+ ///
+ public string TempId
+ {
+ get
+ {
+ return (string)ViewState["TempId"];
+ }
+ set
+ {
+ ViewState["TempId"] = value;
+ }
+ }
+ #endregion
+
+ #region 加载页面
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ this.TempId = Request.Params["TempId"];
+ this.txtValue1.Focus();
+ var dataInTemp = BLL.Sys_DataTempService.GetDataInTempByTempId(this.TempId);
+ if (dataInTemp != null)
+ {
+ this.txtValue1.Text = dataInTemp.Value1;
+ this.txtValue2.Text = dataInTemp.Value2;
+ this.txtValue3.Text = dataInTemp.Value3;
+ this.txtValue4.Text = dataInTemp.Value4;
+ this.txtValue5.Text = dataInTemp.Value5;
+ this.txtValue6.Text = dataInTemp.Value6;
+ this.txtValue7.Text = dataInTemp.Value7;
+ this.txtValue8.Text = dataInTemp.Value8;
+ this.txtValue9.Text = dataInTemp.Value9;
+ this.txtValue10.Text = dataInTemp.Value10;
+ this.txtValue11.Text = dataInTemp.Value11;
+ this.txtValue12.Text = dataInTemp.Value12;
+ this.txtValue13.Text = dataInTemp.Value13;
+ this.txtValue14.Text = dataInTemp.Value14;
+ this.txtValue15.Text = dataInTemp.Value15;
+ this.txtValue16.Text = dataInTemp.Value16;
+ this.txtValue17.Text = dataInTemp.Value17;
+ this.txtValue18.Text = dataInTemp.Value18;
+ this.txtValue19.Text = dataInTemp.Value19;
+
+ this.lbErrCout.Text = dataInTemp.ToopValue;
+ }
+ }
+ }
+ #endregion
+
+ #region 保存按钮
+ ///
+ /// 保存按钮
+ ///
+ ///
+ ///
+ protected void btnSave_Click(object sender, EventArgs e)
+ {
+ var dataInTemp = BLL.Sys_DataTempService.GetDataInTempByTempId(this.TempId);
+ if (this.ckAll.Checked)
+ {
+ var allDataInTemp = from x in Funs.DB.Sys_DataInTemp where x.ProjectId == this.CurrUser.LoginProjectId && x.UserId == this.CurrUser.UserId select x;
+ if (dataInTemp.Value1 != this.txtValue1.Text.Trim())
+ {
+ var tempValue1 = allDataInTemp.Where(x => x.Value1 == dataInTemp.Value1 || (x.Value1 == null && dataInTemp.Value1 == null));
+ if (tempValue1 != null)
+ {
+ foreach (var item in tempValue1)
+ {
+ item.Value1 = this.txtValue1.Text.Trim();
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+ if (dataInTemp.Value2 != this.txtValue2.Text.Trim())
+ {
+ var tempValue2 = allDataInTemp.Where(x => x.Value2 == dataInTemp.Value2 || (x.Value2 == null && dataInTemp.Value2 == null));
+ if (tempValue2 != null)
+ {
+ foreach (var item in tempValue2)
+ {
+ item.Value2 = this.txtValue2.Text.Trim();
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+ if (dataInTemp.Value3 != this.txtValue3.Text.Trim())
+ {
+ var tempValue3 = allDataInTemp.Where(x => x.Value3 == dataInTemp.Value3 || (x.Value3 == null && dataInTemp.Value3 == null));
+ if (tempValue3 != null)
+ {
+ foreach (var item in tempValue3)
+ {
+ item.Value3 = this.txtValue3.Text.Trim();
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+ if (dataInTemp.Value5 != this.txtValue5.Text.Trim())
+ {
+ var tempValue5 = allDataInTemp.Where(x => x.Value5 == dataInTemp.Value5 || (x.Value5 == null && dataInTemp.Value5 == null));
+ if (tempValue5 != null)
+ {
+ foreach (var item in tempValue5)
+ {
+ item.Value5 = this.txtValue5.Text.Trim();
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+ if (dataInTemp.Value6 != this.txtValue6.Text.Trim())
+ {
+ var tempValue6 = allDataInTemp.Where(x => x.Value6 == dataInTemp.Value6 || (x.Value6 == null && dataInTemp.Value6 == null));
+ if (tempValue6 != null)
+ {
+ foreach (var item in tempValue6)
+ {
+ item.Value6 = this.txtValue6.Text.Trim();
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+ if (dataInTemp.Value7 != this.txtValue7.Text.Trim())
+ {
+ var tempValue7 = allDataInTemp.Where(x => x.Value7 == dataInTemp.Value7 || (x.Value7 == null && dataInTemp.Value7 == null));
+ if (tempValue7 != null)
+ {
+ foreach (var item in tempValue7)
+ {
+ item.Value7 = this.txtValue7.Text.Trim();
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+ if (dataInTemp.Value8 != this.txtValue8.Text.Trim())
+ {
+ var tempValue8 = allDataInTemp.Where(x => x.Value8 == dataInTemp.Value8 || (x.Value8 == null && dataInTemp.Value8 == null));
+ if (tempValue8 != null)
+ {
+ foreach (var item in tempValue8)
+ {
+ item.Value8 = this.txtValue8.Text.Trim();
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+ if (dataInTemp.Value9 != this.txtValue9.Text.Trim())
+ {
+ var tempValue9 = allDataInTemp.Where(x => x.Value9 == dataInTemp.Value9 || (x.Value9 == null && dataInTemp.Value9 == null));
+ if (tempValue9 != null)
+ {
+ foreach (var item in tempValue9)
+ {
+ item.Value9 = this.txtValue9.Text.Trim();
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+ if (dataInTemp.Value10 != this.txtValue10.Text.Trim())
+ {
+ var tempValue10 = allDataInTemp.Where(x => x.Value10 == dataInTemp.Value10 || (x.Value10 == null && dataInTemp.Value10 == null));
+ if (tempValue10 != null)
+ {
+ foreach (var item in tempValue10)
+ {
+ item.Value10 = this.txtValue10.Text.Trim();
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+ if (dataInTemp.Value11 != this.txtValue11.Text.Trim())
+ {
+ var tempValue11 = allDataInTemp.Where(x => x.Value11 == dataInTemp.Value11 || (x.Value11 == null && dataInTemp.Value11 == null));
+ if (tempValue11 != null)
+ {
+ foreach (var item in tempValue11)
+ {
+ item.Value11 = this.txtValue11.Text.Trim();
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+ if (dataInTemp.Value12 != this.txtValue12.Text.Trim())
+ {
+ var tempValue12 = allDataInTemp.Where(x => x.Value12 == dataInTemp.Value12 || (x.Value12 == null && dataInTemp.Value12 == null));
+ if (tempValue12 != null)
+ {
+ foreach (var item in tempValue12)
+ {
+ item.Value12 = this.txtValue12.Text.Trim();
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+ if (dataInTemp.Value13 != this.txtValue13.Text.Trim())
+ {
+ var tempValue13 = allDataInTemp.Where(x => x.Value13 == dataInTemp.Value13 || (x.Value13 == null && dataInTemp.Value13 == null));
+ if (tempValue13 != null)
+ {
+ foreach (var item in tempValue13)
+ {
+ item.Value13 = this.txtValue13.Text.Trim();
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+ if (dataInTemp.Value14 != this.txtValue14.Text.Trim())
+ {
+ var tempValue14 = allDataInTemp.Where(x => x.Value14 == dataInTemp.Value14 || (x.Value14 == null && dataInTemp.Value14 == null));
+ if (tempValue14 != null)
+ {
+ foreach (var item in tempValue14)
+ {
+ item.Value14 = this.txtValue14.Text.Trim();
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+ if (dataInTemp.Value15 != this.txtValue15.Text.Trim())
+ {
+ var tempValue15 = allDataInTemp.Where(x => x.Value15 == dataInTemp.Value15 || (x.Value15 == null && dataInTemp.Value15 == null));
+ if (tempValue15 != null)
+ {
+ foreach (var item in tempValue15)
+ {
+ item.Value15 = this.txtValue15.Text.Trim();
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+ if (dataInTemp.Value16 != this.txtValue16.Text.Trim())
+ {
+ var tempValue16 = allDataInTemp.Where(x => x.Value16 == dataInTemp.Value16 || (x.Value16 == null && dataInTemp.Value16 == null));
+ if (tempValue16 != null)
+ {
+ foreach (var item in tempValue16)
+ {
+ item.Value16 = this.txtValue16.Text.Trim();
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+ if (dataInTemp.Value17 != this.txtValue17.Text.Trim())
+ {
+ var tempValue17 = allDataInTemp.Where(x => x.Value17 == dataInTemp.Value17 || (x.Value17 == null && dataInTemp.Value17 == null));
+ if (tempValue17 != null)
+ {
+ foreach (var item in tempValue17)
+ {
+ item.Value17 = this.txtValue17.Text.Trim();
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+ if (dataInTemp.Value18 != this.txtValue18.Text.Trim())
+ {
+ var tempValue18 = allDataInTemp.Where(x => x.Value18 == dataInTemp.Value18 || (x.Value18 == null && dataInTemp.Value18 == null));
+ if (tempValue18 != null)
+ {
+ foreach (var item in tempValue18)
+ {
+ item.Value18 = this.txtValue18.Text.Trim();
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+ if (dataInTemp.Value19 != this.txtValue19.Text.Trim())
+ {
+ var tempValue19 = allDataInTemp.Where(x => x.Value19 == dataInTemp.Value19 || (x.Value19 == null && dataInTemp.Value19 == null));
+ if (tempValue19 != null)
+ {
+ foreach (var item in tempValue19)
+ {
+ item.Value19 = this.txtValue19.Text.Trim();
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+ var toopValue = allDataInTemp.Where(x => x.ToopValue == dataInTemp.ToopValue);
+ if (toopValue != null)
+ {
+ foreach (var item in toopValue)
+ {
+ item.ToopValue = null;
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+ else
+ {
+ Model.Sys_DataInTemp newDataInTemp = new Model.Sys_DataInTemp();
+ newDataInTemp.ProjectId = this.CurrUser.LoginProjectId;
+ newDataInTemp.UserId = this.CurrUser.UserId;
+ newDataInTemp.Time = System.DateTime.Now;
+ newDataInTemp.Type = dataInTemp.Type;
+ newDataInTemp.Value1 = this.txtValue1.Text.Trim();
+ newDataInTemp.Value2 = this.txtValue2.Text.Trim();
+ newDataInTemp.Value3 = this.txtValue3.Text.Trim();
+ newDataInTemp.Value4 = this.txtValue4.Text.Trim();
+ newDataInTemp.Value5 = this.txtValue5.Text.Trim();
+ newDataInTemp.Value6 = this.txtValue6.Text.Trim();
+ newDataInTemp.Value7 = this.txtValue7.Text.Trim();
+ newDataInTemp.Value8 = this.txtValue8.Text.Trim();
+ newDataInTemp.Value9 = this.txtValue9.Text.Trim();
+ newDataInTemp.Value10 = this.txtValue10.Text.Trim();
+ newDataInTemp.Value11 = this.txtValue11.Text.Trim();
+ newDataInTemp.Value12 = this.txtValue12.Text.Trim();
+ newDataInTemp.Value13 = this.txtValue13.Text.Trim();
+ newDataInTemp.Value14 = this.txtValue14.Text.Trim();
+ newDataInTemp.Value15 = this.txtValue15.Text.Trim();
+ newDataInTemp.Value16 = this.txtValue16.Text.Trim();
+ newDataInTemp.Value17 = this.txtValue17.Text.Trim();
+ newDataInTemp.Value18 = this.txtValue18.Text.Trim();
+ newDataInTemp.Value19 = this.txtValue19.Text.Trim();
+ if (!string.IsNullOrEmpty(this.TempId))
+ {
+ newDataInTemp.TempId = this.TempId;
+ newDataInTemp.ToopValue = null;
+ BLL.Sys_DataTempService.UpdateDataInTemp(newDataInTemp);
+ }
+ }
+ ShowNotify("信息修改完成!", MessageBoxIcon.Success);
+ PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference());
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocDataInEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocDataInEdit.aspx.designer.cs
new file mode 100644
index 00000000..a3820a97
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocDataInEdit.aspx.designer.cs
@@ -0,0 +1,258 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.CQMS.Comprehensive {
+
+
+ public partial class DataReceivingDocDataInEdit {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// SimpleForm1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Form SimpleForm1;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// ToolbarFill1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarFill ToolbarFill1;
+
+ ///
+ /// btnSave 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnSave;
+
+ ///
+ /// txtValue1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtValue1;
+
+ ///
+ /// txtValue2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtValue2;
+
+ ///
+ /// txtValue3 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtValue3;
+
+ ///
+ /// txtValue4 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtValue4;
+
+ ///
+ /// txtValue5 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtValue5;
+
+ ///
+ /// txtValue6 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtValue6;
+
+ ///
+ /// txtValue7 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtValue7;
+
+ ///
+ /// txtValue8 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtValue8;
+
+ ///
+ /// txtValue9 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtValue9;
+
+ ///
+ /// txtValue10 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.NumberBox txtValue10;
+
+ ///
+ /// txtValue11 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtValue11;
+
+ ///
+ /// txtValue12 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtValue12;
+
+ ///
+ /// txtValue13 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtValue13;
+
+ ///
+ /// txtValue14 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtValue14;
+
+ ///
+ /// txtValue15 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtValue15;
+
+ ///
+ /// txtValue16 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtValue16;
+
+ ///
+ /// txtValue17 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtValue17;
+
+ ///
+ /// txtValue18 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtValue18;
+
+ ///
+ /// txtValue19 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtValue19;
+
+ ///
+ /// ckAll 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.CheckBox ckAll;
+
+ ///
+ /// lbErrCout 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextArea lbErrCout;
+ }
+}
diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/资料收发文登记记录导入模板.xlsx b/SGGL/FineUIPro.Web/File/Excel/DataIn/资料收发文登记记录导入模板.xlsx
new file mode 100644
index 00000000..9b6ff15a
Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/DataIn/资料收发文登记记录导入模板.xlsx differ
diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj
index 3bace61e..220a1a5c 100644
--- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj
+++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj
@@ -426,6 +426,8 @@
+
+
@@ -7348,6 +7350,20 @@
DataReceivingDocApprove.aspx
+
+ DataReceivingDocDataIn.aspx
+ ASPXCodeBehind
+
+
+ DataReceivingDocDataIn.aspx
+
+
+ DataReceivingDocDataInEdit.aspx
+ ASPXCodeBehind
+
+
+ DataReceivingDocDataInEdit.aspx
+
DataReceivingDocEdit.aspx
ASPXCodeBehind
diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs
index e702ff56..98e0f115 100644
--- a/SGGL/Model/Model.cs
+++ b/SGGL/Model/Model.cs
@@ -1454,6 +1454,9 @@ namespace Model
partial void InsertManager_Month_CheckC(Manager_Month_CheckC instance);
partial void UpdateManager_Month_CheckC(Manager_Month_CheckC instance);
partial void DeleteManager_Month_CheckC(Manager_Month_CheckC instance);
+ partial void InsertManager_Month_ComplianceObligations(Manager_Month_ComplianceObligations instance);
+ partial void UpdateManager_Month_ComplianceObligations(Manager_Month_ComplianceObligations instance);
+ partial void DeleteManager_Month_ComplianceObligations(Manager_Month_ComplianceObligations instance);
partial void InsertManager_Month_ComplianceObligationsC(Manager_Month_ComplianceObligationsC instance);
partial void UpdateManager_Month_ComplianceObligationsC(Manager_Month_ComplianceObligationsC instance);
partial void DeleteManager_Month_ComplianceObligationsC(Manager_Month_ComplianceObligationsC instance);
@@ -2012,6 +2015,9 @@ namespace Model
partial void InsertReport_CQMS_MonthReportItem(Report_CQMS_MonthReportItem instance);
partial void UpdateReport_CQMS_MonthReportItem(Report_CQMS_MonthReportItem instance);
partial void DeleteReport_CQMS_MonthReportItem(Report_CQMS_MonthReportItem instance);
+ partial void InsertReport_CQMS_ProblemHandle(Report_CQMS_ProblemHandle instance);
+ partial void UpdateReport_CQMS_ProblemHandle(Report_CQMS_ProblemHandle instance);
+ partial void DeleteReport_CQMS_ProblemHandle(Report_CQMS_ProblemHandle instance);
partial void InsertReport_CqmsTarget(Report_CqmsTarget instance);
partial void UpdateReport_CqmsTarget(Report_CqmsTarget instance);
partial void DeleteReport_CqmsTarget(Report_CqmsTarget instance);
@@ -2246,6 +2252,9 @@ namespace Model
partial void InsertSys_DataExchange(Sys_DataExchange instance);
partial void UpdateSys_DataExchange(Sys_DataExchange instance);
partial void DeleteSys_DataExchange(Sys_DataExchange instance);
+ partial void InsertSys_DataInTemp(Sys_DataInTemp instance);
+ partial void UpdateSys_DataInTemp(Sys_DataInTemp instance);
+ partial void DeleteSys_DataInTemp(Sys_DataInTemp instance);
partial void InsertSys_ErrLogInfo(Sys_ErrLogInfo instance);
partial void UpdateSys_ErrLogInfo(Sys_ErrLogInfo instance);
partial void DeleteSys_ErrLogInfo(Sys_ErrLogInfo instance);
@@ -6479,6 +6488,14 @@ namespace Model
}
}
+ public System.Data.Linq.Table Manager_Month_ComplianceObligations
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table Manager_Month_ComplianceObligationsC
{
get
@@ -7967,6 +7984,14 @@ namespace Model
}
}
+ public System.Data.Linq.Table Report_CQMS_ProblemHandle
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table Report_CqmsTarget
{
get
@@ -8599,6 +8624,14 @@ namespace Model
}
}
+ public System.Data.Linq.Table Sys_DataInTemp
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table Sys_ErrLogInfo
{
get
@@ -21480,8 +21513,6 @@ namespace Model
private string _CodeRule;
- private EntitySet _Doc_DocManage;
-
#region 可扩展性方法定义
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -21498,7 +21529,6 @@ namespace Model
public Base_DocType()
{
- this._Doc_DocManage = new EntitySet(new Action(this.attach_Doc_DocManage), new Action(this.detach_Doc_DocManage));
OnCreated();
}
@@ -21582,19 +21612,6 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Doc_DocManage_Base_DocType", Storage="_Doc_DocManage", ThisKey="DocTypeId", OtherKey="DocTypeId", DeleteRule="NO ACTION")]
- public EntitySet Doc_DocManage
- {
- get
- {
- return this._Doc_DocManage;
- }
- set
- {
- this._Doc_DocManage.Assign(value);
- }
- }
-
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -21614,18 +21631,6 @@ namespace Model
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
-
- private void attach_Doc_DocManage(Doc_DocManage entity)
- {
- this.SendPropertyChanging();
- entity.Base_DocType = this;
- }
-
- private void detach_Doc_DocManage(Doc_DocManage entity)
- {
- this.SendPropertyChanging();
- entity.Base_DocType = null;
- }
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_EmergencyType")]
@@ -26459,6 +26464,8 @@ namespace Model
private EntitySet _Sys_CodeRecords;
+ private EntitySet _Sys_DataInTemp;
+
private EntitySet _Sys_FlowOperate;
private EntitySet _Sys_RoleItem;
@@ -26872,6 +26879,7 @@ namespace Model
this._Supervise_SuperviseCheckRectify = new EntitySet(new Action(this.attach_Supervise_SuperviseCheckRectify), new Action(this.detach_Supervise_SuperviseCheckRectify));
this._Supervise_SuperviseCheckReport = new EntitySet(new Action(this.attach_Supervise_SuperviseCheckReport), new Action(this.detach_Supervise_SuperviseCheckReport));
this._Sys_CodeRecords = new EntitySet(new Action(this.attach_Sys_CodeRecords), new Action(this.detach_Sys_CodeRecords));
+ this._Sys_DataInTemp = new EntitySet(new Action(this.attach_Sys_DataInTemp), new Action(this.detach_Sys_DataInTemp));
this._Sys_FlowOperate = new EntitySet(new Action(this.attach_Sys_FlowOperate), new Action(this.detach_Sys_FlowOperate));
this._Sys_RoleItem = new EntitySet(new Action(this.attach_Sys_RoleItem), new Action(this.detach_Sys_RoleItem));
this._Sys_User = new EntitySet(new Action(this.attach_Sys_User), new Action(this.detach_Sys_User));
@@ -31275,6 +31283,19 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_DataInTemp_Base_Project", Storage="_Sys_DataInTemp", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
+ public EntitySet Sys_DataInTemp
+ {
+ get
+ {
+ return this._Sys_DataInTemp;
+ }
+ set
+ {
+ this._Sys_DataInTemp.Assign(value);
+ }
+ }
+
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_FlowOperate_Base_Project", Storage="_Sys_FlowOperate", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet Sys_FlowOperate
{
@@ -34874,6 +34895,18 @@ namespace Model
entity.Base_Project = null;
}
+ private void attach_Sys_DataInTemp(Sys_DataInTemp entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = this;
+ }
+
+ private void detach_Sys_DataInTemp(Sys_DataInTemp entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = null;
+ }
+
private void attach_Sys_FlowOperate(Sys_FlowOperate entity)
{
this.SendPropertyChanging();
@@ -97330,10 +97363,10 @@ namespace Model
private string _AuditMan;
- private string _Problem;
-
private string _Measure;
+ private string _Problem;
+
private EntityRef _Sys_User;
private EntityRef _Base_CNProfessional;
@@ -97380,10 +97413,10 @@ namespace Model
partial void OnStatusChanged();
partial void OnAuditManChanging(string value);
partial void OnAuditManChanged();
- partial void OnProblemChanging(string value);
- partial void OnProblemChanged();
partial void OnMeasureChanging(string value);
partial void OnMeasureChanged();
+ partial void OnProblemChanging(string value);
+ partial void OnProblemChanged();
#endregion
public Comprehensive_NCRManagement()
@@ -97751,27 +97784,7 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Problem", DbType="VarChar(50)")]
- public string Problem
- {
- get
- {
- return this._Problem;
- }
- set
- {
- if ((this._Problem != value))
- {
- this.OnProblemChanging(value);
- this.SendPropertyChanging();
- this._Problem = value;
- this.SendPropertyChanged("Problem");
- this.OnProblemChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Measure", DbType="VarChar(100)")]
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Measure", DbType="VarChar(500)")]
public string Measure
{
get
@@ -97791,6 +97804,26 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Problem", DbType="VarChar(100)")]
+ public string Problem
+ {
+ get
+ {
+ return this._Problem;
+ }
+ set
+ {
+ if ((this._Problem != value))
+ {
+ this.OnProblemChanging(value);
+ this.SendPropertyChanging();
+ this._Problem = value;
+ this.SendPropertyChanged("Problem");
+ this.OnProblemChanged();
+ }
+ }
+ }
+
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="Comprehensive_NCRManagement_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)]
public Sys_User Sys_User
{
@@ -119625,8 +119658,6 @@ namespace Model
private EntityRef _Base_CNProfessional;
- private EntityRef _Base_DocType;
-
private EntityRef _Base_Project;
private EntityRef _Base_Unit;
@@ -119678,7 +119709,6 @@ namespace Model
public Doc_DocManage()
{
this._Base_CNProfessional = default(EntityRef);
- this._Base_DocType = default(EntityRef);
this._Base_Project = default(EntityRef);
this._Base_Unit = default(EntityRef);
this._Sys_User = default(EntityRef);
@@ -119757,10 +119787,6 @@ namespace Model
{
if ((this._DocTypeId != value))
{
- if (this._Base_DocType.HasLoadedOrAssignedValue)
- {
- throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
- }
this.OnDocTypeIdChanging(value);
this.SendPropertyChanging();
this._DocTypeId = value;
@@ -120080,40 +120106,6 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Doc_DocManage_Base_DocType", Storage="_Base_DocType", ThisKey="DocTypeId", OtherKey="DocTypeId", IsForeignKey=true)]
- public Base_DocType Base_DocType
- {
- get
- {
- return this._Base_DocType.Entity;
- }
- set
- {
- Base_DocType previousValue = this._Base_DocType.Entity;
- if (((previousValue != value)
- || (this._Base_DocType.HasLoadedOrAssignedValue == false)))
- {
- this.SendPropertyChanging();
- if ((previousValue != null))
- {
- this._Base_DocType.Entity = null;
- previousValue.Doc_DocManage.Remove(this);
- }
- this._Base_DocType.Entity = value;
- if ((value != null))
- {
- value.Doc_DocManage.Add(this);
- this._DocTypeId = value.DocTypeId;
- }
- else
- {
- this._DocTypeId = default(string);
- }
- this.SendPropertyChanged("Base_DocType");
- }
- }
- }
-
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Doc_DocManage_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{
@@ -120284,8 +120276,6 @@ namespace Model
private EntityRef _Doc_DocManage;
- private EntityRef _Sys_User;
-
#region 可扩展性方法定义
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -120309,7 +120299,6 @@ namespace Model
public Doc_DocManageApprove()
{
this._Doc_DocManage = default(EntityRef);
- this._Sys_User = default(EntityRef);
OnCreated();
}
@@ -120357,7 +120346,7 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveMan", DbType="NVarChar(50)")]
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveMan", DbType="NVarChar(500)")]
public string ApproveMan
{
get
@@ -120368,10 +120357,6 @@ namespace Model
{
if ((this._ApproveMan != value))
{
- if (this._Sys_User.HasLoadedOrAssignedValue)
- {
- throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
- }
this.OnApproveManChanging(value);
this.SendPropertyChanging();
this._ApproveMan = value;
@@ -120495,40 +120480,6 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Doc_DocManageApprove_Sys_User", Storage="_Sys_User", ThisKey="ApproveMan", OtherKey="UserId", IsForeignKey=true)]
- public Sys_User Sys_User
- {
- get
- {
- return this._Sys_User.Entity;
- }
- set
- {
- Sys_User previousValue = this._Sys_User.Entity;
- if (((previousValue != value)
- || (this._Sys_User.HasLoadedOrAssignedValue == false)))
- {
- this.SendPropertyChanging();
- if ((previousValue != null))
- {
- this._Sys_User.Entity = null;
- previousValue.Doc_DocManageApprove.Remove(this);
- }
- this._Sys_User.Entity = value;
- if ((value != null))
- {
- value.Doc_DocManageApprove.Add(this);
- this._ApproveMan = value.UserId;
- }
- else
- {
- this._ApproveMan = default(string);
- }
- this.SendPropertyChanged("Sys_User");
- }
- }
- }
-
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -234292,6 +234243,229 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Manager_Month_ComplianceObligations")]
+ public partial class Manager_Month_ComplianceObligations : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _ComplianceObligationsId;
+
+ private string _MonthReportId;
+
+ private string _InformationContent;
+
+ private string _ResponseMeasures;
+
+ private string _ImplementationStatus;
+
+ private string _EvaluationConclusion;
+
+ private EntityRef _Manager_MonthReportC;
+
+ #region 可扩展性方法定义
+ partial void OnLoaded();
+ partial void OnValidate(System.Data.Linq.ChangeAction action);
+ partial void OnCreated();
+ partial void OnComplianceObligationsIdChanging(string value);
+ partial void OnComplianceObligationsIdChanged();
+ partial void OnMonthReportIdChanging(string value);
+ partial void OnMonthReportIdChanged();
+ partial void OnInformationContentChanging(string value);
+ partial void OnInformationContentChanged();
+ partial void OnResponseMeasuresChanging(string value);
+ partial void OnResponseMeasuresChanged();
+ partial void OnImplementationStatusChanging(string value);
+ partial void OnImplementationStatusChanged();
+ partial void OnEvaluationConclusionChanging(string value);
+ partial void OnEvaluationConclusionChanged();
+ #endregion
+
+ public Manager_Month_ComplianceObligations()
+ {
+ this._Manager_MonthReportC = default(EntityRef);
+ OnCreated();
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ComplianceObligationsId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
+ public string ComplianceObligationsId
+ {
+ get
+ {
+ return this._ComplianceObligationsId;
+ }
+ set
+ {
+ if ((this._ComplianceObligationsId != value))
+ {
+ this.OnComplianceObligationsIdChanging(value);
+ this.SendPropertyChanging();
+ this._ComplianceObligationsId = value;
+ this.SendPropertyChanged("ComplianceObligationsId");
+ this.OnComplianceObligationsIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MonthReportId", DbType="NVarChar(50)")]
+ public string MonthReportId
+ {
+ get
+ {
+ return this._MonthReportId;
+ }
+ set
+ {
+ if ((this._MonthReportId != value))
+ {
+ if (this._Manager_MonthReportC.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnMonthReportIdChanging(value);
+ this.SendPropertyChanging();
+ this._MonthReportId = value;
+ this.SendPropertyChanged("MonthReportId");
+ this.OnMonthReportIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InformationContent", DbType="NVarChar(500)")]
+ public string InformationContent
+ {
+ get
+ {
+ return this._InformationContent;
+ }
+ set
+ {
+ if ((this._InformationContent != value))
+ {
+ this.OnInformationContentChanging(value);
+ this.SendPropertyChanging();
+ this._InformationContent = value;
+ this.SendPropertyChanged("InformationContent");
+ this.OnInformationContentChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponseMeasures", DbType="NVarChar(500)")]
+ public string ResponseMeasures
+ {
+ get
+ {
+ return this._ResponseMeasures;
+ }
+ set
+ {
+ if ((this._ResponseMeasures != value))
+ {
+ this.OnResponseMeasuresChanging(value);
+ this.SendPropertyChanging();
+ this._ResponseMeasures = value;
+ this.SendPropertyChanged("ResponseMeasures");
+ this.OnResponseMeasuresChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ImplementationStatus", DbType="NVarChar(500)")]
+ public string ImplementationStatus
+ {
+ get
+ {
+ return this._ImplementationStatus;
+ }
+ set
+ {
+ if ((this._ImplementationStatus != value))
+ {
+ this.OnImplementationStatusChanging(value);
+ this.SendPropertyChanging();
+ this._ImplementationStatus = value;
+ this.SendPropertyChanged("ImplementationStatus");
+ this.OnImplementationStatusChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EvaluationConclusion", DbType="NVarChar(50)")]
+ public string EvaluationConclusion
+ {
+ get
+ {
+ return this._EvaluationConclusion;
+ }
+ set
+ {
+ if ((this._EvaluationConclusion != value))
+ {
+ this.OnEvaluationConclusionChanging(value);
+ this.SendPropertyChanging();
+ this._EvaluationConclusion = value;
+ this.SendPropertyChanged("EvaluationConclusion");
+ this.OnEvaluationConclusionChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Manager_Month_ComplianceObligations_Manager_MonthReportC", Storage="_Manager_MonthReportC", ThisKey="MonthReportId", OtherKey="MonthReportId", IsForeignKey=true)]
+ public Manager_MonthReportC Manager_MonthReportC
+ {
+ get
+ {
+ return this._Manager_MonthReportC.Entity;
+ }
+ set
+ {
+ Manager_MonthReportC previousValue = this._Manager_MonthReportC.Entity;
+ if (((previousValue != value)
+ || (this._Manager_MonthReportC.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Manager_MonthReportC.Entity = null;
+ previousValue.Manager_Month_ComplianceObligations.Remove(this);
+ }
+ this._Manager_MonthReportC.Entity = value;
+ if ((value != null))
+ {
+ value.Manager_Month_ComplianceObligations.Add(this);
+ this._MonthReportId = value.MonthReportId;
+ }
+ else
+ {
+ this._MonthReportId = default(string);
+ }
+ this.SendPropertyChanged("Manager_MonthReportC");
+ }
+ }
+ }
+
+ public event PropertyChangingEventHandler PropertyChanging;
+
+ public event PropertyChangedEventHandler PropertyChanged;
+
+ protected virtual void SendPropertyChanging()
+ {
+ if ((this.PropertyChanging != null))
+ {
+ this.PropertyChanging(this, emptyChangingEventArgs);
+ }
+ }
+
+ protected virtual void SendPropertyChanged(String propertyName)
+ {
+ if ((this.PropertyChanged != null))
+ {
+ this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Manager_Month_ComplianceObligationsC")]
public partial class Manager_Month_ComplianceObligationsC : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -240491,6 +240665,8 @@ namespace Model
private EntitySet _Manager_Month_CheckC;
+ private EntitySet _Manager_Month_ComplianceObligations;
+
private EntitySet _Manager_Month_ComplianceObligationsC;
private EntitySet _Manager_Month_CostInvestmentPlanC;
@@ -240763,6 +240939,7 @@ namespace Model
this._Manager_Month_ActivitiesC = new EntitySet(new Action(this.attach_Manager_Month_ActivitiesC), new Action(this.detach_Manager_Month_ActivitiesC));
this._Manager_Month_ActivityDesC = new EntitySet(new Action(this.attach_Manager_Month_ActivityDesC), new Action(this.detach_Manager_Month_ActivityDesC));
this._Manager_Month_CheckC = new EntitySet(new Action(this.attach_Manager_Month_CheckC), new Action(this.detach_Manager_Month_CheckC));
+ this._Manager_Month_ComplianceObligations = new EntitySet(new Action(this.attach_Manager_Month_ComplianceObligations), new Action(this.detach_Manager_Month_ComplianceObligations));
this._Manager_Month_ComplianceObligationsC = new EntitySet(new Action(this.attach_Manager_Month_ComplianceObligationsC), new Action(this.detach_Manager_Month_ComplianceObligationsC));
this._Manager_Month_CostInvestmentPlanC = new EntitySet(new Action(this.attach_Manager_Month_CostInvestmentPlanC), new Action(this.detach_Manager_Month_CostInvestmentPlanC));
this._Manager_Month_EmergencyExercisesC = new EntitySet(new Action(this.attach_Manager_Month_EmergencyExercisesC), new Action(this.detach_Manager_Month_EmergencyExercisesC));
@@ -242943,6 +243120,19 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Manager_Month_ComplianceObligations_Manager_MonthReportC", Storage="_Manager_Month_ComplianceObligations", ThisKey="MonthReportId", OtherKey="MonthReportId", DeleteRule="NO ACTION")]
+ public EntitySet Manager_Month_ComplianceObligations
+ {
+ get
+ {
+ return this._Manager_Month_ComplianceObligations;
+ }
+ set
+ {
+ this._Manager_Month_ComplianceObligations.Assign(value);
+ }
+ }
+
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Manager_Month_ComplianceObligationsC_Manager_MonthReportC", Storage="_Manager_Month_ComplianceObligationsC", ThisKey="MonthReportId", OtherKey="MonthReportId", DeleteRule="NO ACTION")]
public EntitySet Manager_Month_ComplianceObligationsC
{
@@ -243524,6 +243714,18 @@ namespace Model
entity.Manager_MonthReportC = null;
}
+ private void attach_Manager_Month_ComplianceObligations(Manager_Month_ComplianceObligations entity)
+ {
+ this.SendPropertyChanging();
+ entity.Manager_MonthReportC = this;
+ }
+
+ private void detach_Manager_Month_ComplianceObligations(Manager_Month_ComplianceObligations entity)
+ {
+ this.SendPropertyChanging();
+ entity.Manager_MonthReportC = null;
+ }
+
private void attach_Manager_Month_ComplianceObligationsC(Manager_Month_ComplianceObligationsC entity)
{
this.SendPropertyChanging();
@@ -271868,7 +272070,7 @@ namespace Model
private System.Nullable _ProblemType;
- private string _SubInspectId;
+ private string _QuestionTechnologyId;
private string _TermItemId;
@@ -271882,18 +272084,20 @@ namespace Model
private string _InspectUser;
- private string _HandleUser;
-
private string _ApproveUser;
- private System.Nullable _AdjustCompleteTime;
-
private System.Nullable _ApproveState;
private string _AddUser;
private System.Nullable _AddTime;
+ private string _HandleUser;
+
+ private System.Nullable _AdjustCompleteTime;
+
+ private string _SubInspectId;
+
#region 可扩展性方法定义
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -271910,8 +272114,8 @@ namespace Model
partial void OnConstructionUnitChanged();
partial void OnProblemTypeChanging(System.Nullable value);
partial void OnProblemTypeChanged();
- partial void OnSubInspectIdChanging(string value);
- partial void OnSubInspectIdChanged();
+ partial void OnQuestionTechnologyIdChanging(string value);
+ partial void OnQuestionTechnologyIdChanged();
partial void OnTermItemIdChanging(string value);
partial void OnTermItemIdChanged();
partial void OnWorkPackIdChanging(string value);
@@ -271924,18 +272128,20 @@ namespace Model
partial void OnRectifyTimeChanged();
partial void OnInspectUserChanging(string value);
partial void OnInspectUserChanged();
- partial void OnHandleUserChanging(string value);
- partial void OnHandleUserChanged();
partial void OnApproveUserChanging(string value);
partial void OnApproveUserChanged();
- partial void OnAdjustCompleteTimeChanging(System.Nullable value);
- partial void OnAdjustCompleteTimeChanged();
partial void OnApproveStateChanging(System.Nullable value);
partial void OnApproveStateChanged();
partial void OnAddUserChanging(string value);
partial void OnAddUserChanged();
partial void OnAddTimeChanging(System.Nullable value);
partial void OnAddTimeChanged();
+ partial void OnHandleUserChanging(string value);
+ partial void OnHandleUserChanged();
+ partial void OnAdjustCompleteTimeChanging(System.Nullable value);
+ partial void OnAdjustCompleteTimeChanged();
+ partial void OnSubInspectIdChanging(string value);
+ partial void OnSubInspectIdChanged();
#endregion
public PreRun_InspectTailTerm()
@@ -272063,22 +272269,22 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubInspectId", DbType="VarChar(50)")]
- public string SubInspectId
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QuestionTechnologyId", DbType="VarChar(50)")]
+ public string QuestionTechnologyId
{
get
{
- return this._SubInspectId;
+ return this._QuestionTechnologyId;
}
set
{
- if ((this._SubInspectId != value))
+ if ((this._QuestionTechnologyId != value))
{
- this.OnSubInspectIdChanging(value);
+ this.OnQuestionTechnologyIdChanging(value);
this.SendPropertyChanging();
- this._SubInspectId = value;
- this.SendPropertyChanged("SubInspectId");
- this.OnSubInspectIdChanged();
+ this._QuestionTechnologyId = value;
+ this.SendPropertyChanged("QuestionTechnologyId");
+ this.OnQuestionTechnologyIdChanged();
}
}
}
@@ -272203,26 +272409,6 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleUser", DbType="VarChar(50)")]
- public string HandleUser
- {
- get
- {
- return this._HandleUser;
- }
- set
- {
- if ((this._HandleUser != value))
- {
- this.OnHandleUserChanging(value);
- this.SendPropertyChanging();
- this._HandleUser = value;
- this.SendPropertyChanged("HandleUser");
- this.OnHandleUserChanged();
- }
- }
- }
-
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveUser", DbType="VarChar(50)")]
public string ApproveUser
{
@@ -272243,26 +272429,6 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdjustCompleteTime", DbType="DateTime")]
- public System.Nullable AdjustCompleteTime
- {
- get
- {
- return this._AdjustCompleteTime;
- }
- set
- {
- if ((this._AdjustCompleteTime != value))
- {
- this.OnAdjustCompleteTimeChanging(value);
- this.SendPropertyChanging();
- this._AdjustCompleteTime = value;
- this.SendPropertyChanged("AdjustCompleteTime");
- this.OnAdjustCompleteTimeChanged();
- }
- }
- }
-
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveState", DbType="Int")]
public System.Nullable ApproveState
{
@@ -272323,6 +272489,66 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleUser", DbType="VarChar(50)")]
+ public string HandleUser
+ {
+ get
+ {
+ return this._HandleUser;
+ }
+ set
+ {
+ if ((this._HandleUser != value))
+ {
+ this.OnHandleUserChanging(value);
+ this.SendPropertyChanging();
+ this._HandleUser = value;
+ this.SendPropertyChanged("HandleUser");
+ this.OnHandleUserChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdjustCompleteTime", DbType="DateTime")]
+ public System.Nullable AdjustCompleteTime
+ {
+ get
+ {
+ return this._AdjustCompleteTime;
+ }
+ set
+ {
+ if ((this._AdjustCompleteTime != value))
+ {
+ this.OnAdjustCompleteTimeChanging(value);
+ this.SendPropertyChanging();
+ this._AdjustCompleteTime = value;
+ this.SendPropertyChanged("AdjustCompleteTime");
+ this.OnAdjustCompleteTimeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubInspectId", DbType="NVarChar(50)")]
+ public string SubInspectId
+ {
+ get
+ {
+ return this._SubInspectId;
+ }
+ set
+ {
+ if ((this._SubInspectId != value))
+ {
+ this.OnSubInspectIdChanging(value);
+ this.SendPropertyChanging();
+ this._SubInspectId = value;
+ this.SendPropertyChanged("SubInspectId");
+ this.OnSubInspectIdChanged();
+ }
+ }
+ }
+
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -272364,14 +272590,14 @@ namespace Model
private string _ApproveUser;
- private System.Nullable _ApproveType;
-
private System.Nullable _ApproveState;
private string _AddUser;
private System.Nullable _AddTime;
+ private System.Nullable _ApproveType;
+
#region 可扩展性方法定义
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -272390,14 +272616,14 @@ namespace Model
partial void OnApproveTimeChanged();
partial void OnApproveUserChanging(string value);
partial void OnApproveUserChanged();
- partial void OnApproveTypeChanging(System.Nullable value);
- partial void OnApproveTypeChanged();
partial void OnApproveStateChanging(System.Nullable value);
partial void OnApproveStateChanged();
partial void OnAddUserChanging(string value);
partial void OnAddUserChanged();
partial void OnAddTimeChanging(System.Nullable value);
partial void OnAddTimeChanged();
+ partial void OnApproveTypeChanging(System.Nullable value);
+ partial void OnApproveTypeChanged();
#endregion
public PreRun_InspectTermApproveRecords()
@@ -272545,26 +272771,6 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveType", DbType="Int")]
- public System.Nullable ApproveType
- {
- get
- {
- return this._ApproveType;
- }
- set
- {
- if ((this._ApproveType != value))
- {
- this.OnApproveTypeChanging(value);
- this.SendPropertyChanging();
- this._ApproveType = value;
- this.SendPropertyChanged("ApproveType");
- this.OnApproveTypeChanged();
- }
- }
- }
-
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveState", DbType="Int")]
public System.Nullable ApproveState
{
@@ -272625,6 +272831,26 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveType", DbType="Int")]
+ public System.Nullable ApproveType
+ {
+ get
+ {
+ return this._ApproveType;
+ }
+ set
+ {
+ if ((this._ApproveType != value))
+ {
+ this.OnApproveTypeChanging(value);
+ this.SendPropertyChanging();
+ this._ApproveType = value;
+ this.SendPropertyChanged("ApproveType");
+ this.OnApproveTypeChanged();
+ }
+ }
+ }
+
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -273557,7 +273783,7 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
public string Remark
{
get
@@ -273680,6 +273906,12 @@ namespace Model
private string _InspectResult;
+ private System.Nullable _InspectTime;
+
+ private string _AddUser;
+
+ private System.Nullable _AddTime;
+
private string _Subcontractor;
private string _Contractor;
@@ -273688,6 +273920,12 @@ namespace Model
private string _Owner;
+ private System.Nullable _IsUnifyWanderAbout;
+
+ private System.Nullable _UnifyWanderAboutData;
+
+ private string _UnifyWanderAboutOpinion;
+
private System.Nullable _InspectionIsAllPass;
private System.Nullable _SubcontractorIsAllPass;
@@ -273698,9 +273936,7 @@ namespace Model
private System.Nullable _OwnerIsAllPass;
- private System.Nullable _WorkPackType;
-
- private string _PropertyTechnologyId;
+ private System.Nullable _WanderIsComplete;
private System.Nullable _SubcontractorAllPassData;
@@ -273710,35 +273946,25 @@ namespace Model
private System.Nullable _OwnerAllPassData;
- private System.Nullable _WanderIsComplete;
-
private System.Nullable _WanderCompleteData;
+ private System.Nullable _WorkPackType;
+
private System.Nullable _IsSiteImplement;
- private string _SiteImplementUser;
-
- private System.Nullable _SiteImplementConfirmData;
-
- private System.Nullable _RecordUploadData;
-
private System.Nullable _InspectIsClose;
- private string _InspectIsCloseUser;
-
private System.Nullable _InspectCloseData;
- private System.Nullable _IsUnifyWanderAbout;
+ private string _InspectIsCloseUser;
- private System.Nullable _UnifyWanderAboutData;
+ private string _PropertyTechnologyId;
- private string _UnifyWanderAboutOpinion;
+ private System.Nullable _RecordUploadData;
- private System.Nullable _InspectTime;
+ private System.Nullable _SiteImplementConfirmData;
- private string _AddUser;
-
- private System.Nullable _AddTime;
+ private string _SiteImplementUser;
#region 可扩展性方法定义
partial void OnLoaded();
@@ -273760,6 +273986,12 @@ namespace Model
partial void OnWorkPackIdChanged();
partial void OnInspectResultChanging(string value);
partial void OnInspectResultChanged();
+ partial void OnInspectTimeChanging(System.Nullable value);
+ partial void OnInspectTimeChanged();
+ partial void OnAddUserChanging(string value);
+ partial void OnAddUserChanged();
+ partial void OnAddTimeChanging(System.Nullable value);
+ partial void OnAddTimeChanged();
partial void OnSubcontractorChanging(string value);
partial void OnSubcontractorChanged();
partial void OnContractorChanging(string value);
@@ -273768,6 +274000,12 @@ namespace Model
partial void OnSupervisionChanged();
partial void OnOwnerChanging(string value);
partial void OnOwnerChanged();
+ partial void OnIsUnifyWanderAboutChanging(System.Nullable value);
+ partial void OnIsUnifyWanderAboutChanged();
+ partial void OnUnifyWanderAboutDataChanging(System.Nullable value);
+ partial void OnUnifyWanderAboutDataChanged();
+ partial void OnUnifyWanderAboutOpinionChanging(string value);
+ partial void OnUnifyWanderAboutOpinionChanged();
partial void OnInspectionIsAllPassChanging(System.Nullable value);
partial void OnInspectionIsAllPassChanged();
partial void OnSubcontractorIsAllPassChanging(System.Nullable value);
@@ -273778,10 +274016,8 @@ namespace Model
partial void OnSupervisionIsAllPassChanged();
partial void OnOwnerIsAllPassChanging(System.Nullable value);
partial void OnOwnerIsAllPassChanged();
- partial void OnWorkPackTypeChanging(System.Nullable value);
- partial void OnWorkPackTypeChanged();
- partial void OnPropertyTechnologyIdChanging(string value);
- partial void OnPropertyTechnologyIdChanged();
+ partial void OnWanderIsCompleteChanging(System.Nullable value);
+ partial void OnWanderIsCompleteChanged();
partial void OnSubcontractorAllPassDataChanging(System.Nullable value);
partial void OnSubcontractorAllPassDataChanged();
partial void OnContractorAllPassDataChanging(System.Nullable value);
@@ -273790,36 +274026,26 @@ namespace Model
partial void OnSupervisionAllPassDataChanged();
partial void OnOwnerAllPassDataChanging(System.Nullable value);
partial void OnOwnerAllPassDataChanged();
- partial void OnWanderIsCompleteChanging(System.Nullable value);
- partial void OnWanderIsCompleteChanged();
partial void OnWanderCompleteDataChanging(System.Nullable value);
partial void OnWanderCompleteDataChanged();
+ partial void OnWorkPackTypeChanging(System.Nullable value);
+ partial void OnWorkPackTypeChanged();
partial void OnIsSiteImplementChanging(System.Nullable value);
partial void OnIsSiteImplementChanged();
- partial void OnSiteImplementUserChanging(string value);
- partial void OnSiteImplementUserChanged();
- partial void OnSiteImplementConfirmDataChanging(System.Nullable value);
- partial void OnSiteImplementConfirmDataChanged();
- partial void OnRecordUploadDataChanging(System.Nullable value);
- partial void OnRecordUploadDataChanged();
partial void OnInspectIsCloseChanging(System.Nullable value);
partial void OnInspectIsCloseChanged();
- partial void OnInspectIsCloseUserChanging(string value);
- partial void OnInspectIsCloseUserChanged();
partial void OnInspectCloseDataChanging(System.Nullable value);
partial void OnInspectCloseDataChanged();
- partial void OnIsUnifyWanderAboutChanging(System.Nullable value);
- partial void OnIsUnifyWanderAboutChanged();
- partial void OnUnifyWanderAboutDataChanging(System.Nullable value);
- partial void OnUnifyWanderAboutDataChanged();
- partial void OnUnifyWanderAboutOpinionChanging(string value);
- partial void OnUnifyWanderAboutOpinionChanged();
- partial void OnInspectTimeChanging(System.Nullable value);
- partial void OnInspectTimeChanged();
- partial void OnAddUserChanging(string value);
- partial void OnAddUserChanged();
- partial void OnAddTimeChanging(System.Nullable value);
- partial void OnAddTimeChanged();
+ partial void OnInspectIsCloseUserChanging(string value);
+ partial void OnInspectIsCloseUserChanged();
+ partial void OnPropertyTechnologyIdChanging(string value);
+ partial void OnPropertyTechnologyIdChanged();
+ partial void OnRecordUploadDataChanging(System.Nullable value);
+ partial void OnRecordUploadDataChanged();
+ partial void OnSiteImplementConfirmDataChanging(System.Nullable value);
+ partial void OnSiteImplementConfirmDataChanged();
+ partial void OnSiteImplementUserChanging(string value);
+ partial void OnSiteImplementUserChanged();
#endregion
public PreRun_SubInspectTerm()
@@ -273987,6 +274213,66 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectTime", DbType="DateTime")]
+ public System.Nullable InspectTime
+ {
+ get
+ {
+ return this._InspectTime;
+ }
+ set
+ {
+ if ((this._InspectTime != value))
+ {
+ this.OnInspectTimeChanging(value);
+ this.SendPropertyChanging();
+ this._InspectTime = value;
+ this.SendPropertyChanged("InspectTime");
+ this.OnInspectTimeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddUser", DbType="VarChar(50)")]
+ public string AddUser
+ {
+ get
+ {
+ return this._AddUser;
+ }
+ set
+ {
+ if ((this._AddUser != value))
+ {
+ this.OnAddUserChanging(value);
+ this.SendPropertyChanging();
+ this._AddUser = value;
+ this.SendPropertyChanged("AddUser");
+ this.OnAddUserChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddTime", DbType="DateTime")]
+ public System.Nullable AddTime
+ {
+ get
+ {
+ return this._AddTime;
+ }
+ set
+ {
+ if ((this._AddTime != value))
+ {
+ this.OnAddTimeChanging(value);
+ this.SendPropertyChanging();
+ this._AddTime = value;
+ this.SendPropertyChanged("AddTime");
+ this.OnAddTimeChanged();
+ }
+ }
+ }
+
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Subcontractor", DbType="VarChar(50)")]
public string Subcontractor
{
@@ -274067,6 +274353,66 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsUnifyWanderAbout", DbType="Int")]
+ public System.Nullable IsUnifyWanderAbout
+ {
+ get
+ {
+ return this._IsUnifyWanderAbout;
+ }
+ set
+ {
+ if ((this._IsUnifyWanderAbout != value))
+ {
+ this.OnIsUnifyWanderAboutChanging(value);
+ this.SendPropertyChanging();
+ this._IsUnifyWanderAbout = value;
+ this.SendPropertyChanged("IsUnifyWanderAbout");
+ this.OnIsUnifyWanderAboutChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnifyWanderAboutData", DbType="DateTime")]
+ public System.Nullable UnifyWanderAboutData
+ {
+ get
+ {
+ return this._UnifyWanderAboutData;
+ }
+ set
+ {
+ if ((this._UnifyWanderAboutData != value))
+ {
+ this.OnUnifyWanderAboutDataChanging(value);
+ this.SendPropertyChanging();
+ this._UnifyWanderAboutData = value;
+ this.SendPropertyChanged("UnifyWanderAboutData");
+ this.OnUnifyWanderAboutDataChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnifyWanderAboutOpinion", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
+ public string UnifyWanderAboutOpinion
+ {
+ get
+ {
+ return this._UnifyWanderAboutOpinion;
+ }
+ set
+ {
+ if ((this._UnifyWanderAboutOpinion != value))
+ {
+ this.OnUnifyWanderAboutOpinionChanging(value);
+ this.SendPropertyChanging();
+ this._UnifyWanderAboutOpinion = value;
+ this.SendPropertyChanged("UnifyWanderAboutOpinion");
+ this.OnUnifyWanderAboutOpinionChanged();
+ }
+ }
+ }
+
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectionIsAllPass", DbType="Int")]
public System.Nullable InspectionIsAllPass
{
@@ -274167,42 +274513,22 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackType", DbType="Int")]
- public System.Nullable WorkPackType
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WanderIsComplete", DbType="Int")]
+ public System.Nullable WanderIsComplete
{
get
{
- return this._WorkPackType;
+ return this._WanderIsComplete;
}
set
{
- if ((this._WorkPackType != value))
+ if ((this._WanderIsComplete != value))
{
- this.OnWorkPackTypeChanging(value);
+ this.OnWanderIsCompleteChanging(value);
this.SendPropertyChanging();
- this._WorkPackType = value;
- this.SendPropertyChanged("WorkPackType");
- this.OnWorkPackTypeChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyTechnologyId", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
- public string PropertyTechnologyId
- {
- get
- {
- return this._PropertyTechnologyId;
- }
- set
- {
- if ((this._PropertyTechnologyId != value))
- {
- this.OnPropertyTechnologyIdChanging(value);
- this.SendPropertyChanging();
- this._PropertyTechnologyId = value;
- this.SendPropertyChanged("PropertyTechnologyId");
- this.OnPropertyTechnologyIdChanged();
+ this._WanderIsComplete = value;
+ this.SendPropertyChanged("WanderIsComplete");
+ this.OnWanderIsCompleteChanged();
}
}
}
@@ -274287,26 +274613,6 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WanderIsComplete", DbType="Int")]
- public System.Nullable WanderIsComplete
- {
- get
- {
- return this._WanderIsComplete;
- }
- set
- {
- if ((this._WanderIsComplete != value))
- {
- this.OnWanderIsCompleteChanging(value);
- this.SendPropertyChanging();
- this._WanderIsComplete = value;
- this.SendPropertyChanged("WanderIsComplete");
- this.OnWanderIsCompleteChanged();
- }
- }
- }
-
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WanderCompleteData", DbType="DateTime")]
public System.Nullable WanderCompleteData
{
@@ -274327,6 +274633,26 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackType", DbType="Int")]
+ public System.Nullable WorkPackType
+ {
+ get
+ {
+ return this._WorkPackType;
+ }
+ set
+ {
+ if ((this._WorkPackType != value))
+ {
+ this.OnWorkPackTypeChanging(value);
+ this.SendPropertyChanging();
+ this._WorkPackType = value;
+ this.SendPropertyChanged("WorkPackType");
+ this.OnWorkPackTypeChanged();
+ }
+ }
+ }
+
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSiteImplement", DbType="Int")]
public System.Nullable IsSiteImplement
{
@@ -274347,66 +274673,6 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SiteImplementUser", DbType="VarChar(50)")]
- public string SiteImplementUser
- {
- get
- {
- return this._SiteImplementUser;
- }
- set
- {
- if ((this._SiteImplementUser != value))
- {
- this.OnSiteImplementUserChanging(value);
- this.SendPropertyChanging();
- this._SiteImplementUser = value;
- this.SendPropertyChanged("SiteImplementUser");
- this.OnSiteImplementUserChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SiteImplementConfirmData", DbType="DateTime")]
- public System.Nullable SiteImplementConfirmData
- {
- get
- {
- return this._SiteImplementConfirmData;
- }
- set
- {
- if ((this._SiteImplementConfirmData != value))
- {
- this.OnSiteImplementConfirmDataChanging(value);
- this.SendPropertyChanging();
- this._SiteImplementConfirmData = value;
- this.SendPropertyChanged("SiteImplementConfirmData");
- this.OnSiteImplementConfirmDataChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecordUploadData", DbType="DateTime")]
- public System.Nullable RecordUploadData
- {
- get
- {
- return this._RecordUploadData;
- }
- set
- {
- if ((this._RecordUploadData != value))
- {
- this.OnRecordUploadDataChanging(value);
- this.SendPropertyChanging();
- this._RecordUploadData = value;
- this.SendPropertyChanged("RecordUploadData");
- this.OnRecordUploadDataChanged();
- }
- }
- }
-
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectIsClose", DbType="Int")]
public System.Nullable InspectIsClose
{
@@ -274427,26 +274693,6 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectIsCloseUser", DbType="VarChar(50)")]
- public string InspectIsCloseUser
- {
- get
- {
- return this._InspectIsCloseUser;
- }
- set
- {
- if ((this._InspectIsCloseUser != value))
- {
- this.OnInspectIsCloseUserChanging(value);
- this.SendPropertyChanging();
- this._InspectIsCloseUser = value;
- this.SendPropertyChanged("InspectIsCloseUser");
- this.OnInspectIsCloseUserChanged();
- }
- }
- }
-
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectCloseData", DbType="DateTime")]
public System.Nullable InspectCloseData
{
@@ -274467,122 +274713,102 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsUnifyWanderAbout", DbType="Int")]
- public System.Nullable IsUnifyWanderAbout
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectIsCloseUser", DbType="NVarChar(50)")]
+ public string InspectIsCloseUser
{
get
{
- return this._IsUnifyWanderAbout;
+ return this._InspectIsCloseUser;
}
set
{
- if ((this._IsUnifyWanderAbout != value))
+ if ((this._InspectIsCloseUser != value))
{
- this.OnIsUnifyWanderAboutChanging(value);
+ this.OnInspectIsCloseUserChanging(value);
this.SendPropertyChanging();
- this._IsUnifyWanderAbout = value;
- this.SendPropertyChanged("IsUnifyWanderAbout");
- this.OnIsUnifyWanderAboutChanged();
+ this._InspectIsCloseUser = value;
+ this.SendPropertyChanged("InspectIsCloseUser");
+ this.OnInspectIsCloseUserChanged();
}
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnifyWanderAboutData", DbType="DateTime")]
- public System.Nullable UnifyWanderAboutData
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyTechnologyId", DbType="NVarChar(500)")]
+ public string PropertyTechnologyId
{
get
{
- return this._UnifyWanderAboutData;
+ return this._PropertyTechnologyId;
}
set
{
- if ((this._UnifyWanderAboutData != value))
+ if ((this._PropertyTechnologyId != value))
{
- this.OnUnifyWanderAboutDataChanging(value);
+ this.OnPropertyTechnologyIdChanging(value);
this.SendPropertyChanging();
- this._UnifyWanderAboutData = value;
- this.SendPropertyChanged("UnifyWanderAboutData");
- this.OnUnifyWanderAboutDataChanged();
+ this._PropertyTechnologyId = value;
+ this.SendPropertyChanged("PropertyTechnologyId");
+ this.OnPropertyTechnologyIdChanged();
}
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnifyWanderAboutOpinion", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
- public string UnifyWanderAboutOpinion
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecordUploadData", DbType="DateTime")]
+ public System.Nullable RecordUploadData
{
get
{
- return this._UnifyWanderAboutOpinion;
+ return this._RecordUploadData;
}
set
{
- if ((this._UnifyWanderAboutOpinion != value))
+ if ((this._RecordUploadData != value))
{
- this.OnUnifyWanderAboutOpinionChanging(value);
+ this.OnRecordUploadDataChanging(value);
this.SendPropertyChanging();
- this._UnifyWanderAboutOpinion = value;
- this.SendPropertyChanged("UnifyWanderAboutOpinion");
- this.OnUnifyWanderAboutOpinionChanged();
+ this._RecordUploadData = value;
+ this.SendPropertyChanged("RecordUploadData");
+ this.OnRecordUploadDataChanged();
}
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectTime", DbType="DateTime")]
- public System.Nullable InspectTime
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SiteImplementConfirmData", DbType="DateTime")]
+ public System.Nullable SiteImplementConfirmData
{
get
{
- return this._InspectTime;
+ return this._SiteImplementConfirmData;
}
set
{
- if ((this._InspectTime != value))
+ if ((this._SiteImplementConfirmData != value))
{
- this.OnInspectTimeChanging(value);
+ this.OnSiteImplementConfirmDataChanging(value);
this.SendPropertyChanging();
- this._InspectTime = value;
- this.SendPropertyChanged("InspectTime");
- this.OnInspectTimeChanged();
+ this._SiteImplementConfirmData = value;
+ this.SendPropertyChanged("SiteImplementConfirmData");
+ this.OnSiteImplementConfirmDataChanged();
}
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddUser", DbType="VarChar(50)")]
- public string AddUser
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SiteImplementUser", DbType="NVarChar(50)")]
+ public string SiteImplementUser
{
get
{
- return this._AddUser;
+ return this._SiteImplementUser;
}
set
{
- if ((this._AddUser != value))
+ if ((this._SiteImplementUser != value))
{
- this.OnAddUserChanging(value);
+ this.OnSiteImplementUserChanging(value);
this.SendPropertyChanging();
- this._AddUser = value;
- this.SendPropertyChanged("AddUser");
- this.OnAddUserChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddTime", DbType="DateTime")]
- public System.Nullable AddTime
- {
- get
- {
- return this._AddTime;
- }
- set
- {
- if ((this._AddTime != value))
- {
- this.OnAddTimeChanging(value);
- this.SendPropertyChanging();
- this._AddTime = value;
- this.SendPropertyChanged("AddTime");
- this.OnAddTimeChanged();
+ this._SiteImplementUser = value;
+ this.SendPropertyChanged("SiteImplementUser");
+ this.OnSiteImplementUserChanged();
}
}
}
@@ -274650,22 +274876,6 @@ namespace Model
private string _Owner;
- private System.Nullable _SubcontractorIsPass;
-
- private System.Nullable _ContractorIsPass;
-
- private System.Nullable _SupervisionIsPass;
-
- private System.Nullable _OwnerIsPass;
-
- private string _SubcontractorRemark;
-
- private string _ContractorRemark;
-
- private string _SupervisionRemark;
-
- private string _OwnerRemark;
-
private System.Nullable _WorkPackType;
private string _PropertyTechnologyId;
@@ -274678,6 +274888,22 @@ namespace Model
private System.Nullable _Sort;
+ private string _SubcontractorRemark;
+
+ private string _ContractorRemark;
+
+ private string _SupervisionRemark;
+
+ private string _OwnerRemark;
+
+ private System.Nullable _SubcontractorIsPass;
+
+ private System.Nullable _ContractorIsPass;
+
+ private System.Nullable _SupervisionIsPass;
+
+ private System.Nullable _OwnerIsPass;
+
#region 可扩展性方法定义
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -274718,22 +274944,6 @@ namespace Model
partial void OnSupervisionChanged();
partial void OnOwnerChanging(string value);
partial void OnOwnerChanged();
- partial void OnSubcontractorIsPassChanging(System.Nullable value);
- partial void OnSubcontractorIsPassChanged();
- partial void OnContractorIsPassChanging(System.Nullable value);
- partial void OnContractorIsPassChanged();
- partial void OnSupervisionIsPassChanging(System.Nullable value);
- partial void OnSupervisionIsPassChanged();
- partial void OnOwnerIsPassChanging(System.Nullable value);
- partial void OnOwnerIsPassChanged();
- partial void OnSubcontractorRemarkChanging(string value);
- partial void OnSubcontractorRemarkChanged();
- partial void OnContractorRemarkChanging(string value);
- partial void OnContractorRemarkChanged();
- partial void OnSupervisionRemarkChanging(string value);
- partial void OnSupervisionRemarkChanged();
- partial void OnOwnerRemarkChanging(string value);
- partial void OnOwnerRemarkChanged();
partial void OnWorkPackTypeChanging(System.Nullable value);
partial void OnWorkPackTypeChanged();
partial void OnPropertyTechnologyIdChanging(string value);
@@ -274746,6 +274956,22 @@ namespace Model
partial void OnAddTimeChanged();
partial void OnSortChanging(System.Nullable value);
partial void OnSortChanged();
+ partial void OnSubcontractorRemarkChanging(string value);
+ partial void OnSubcontractorRemarkChanged();
+ partial void OnContractorRemarkChanging(string value);
+ partial void OnContractorRemarkChanged();
+ partial void OnSupervisionRemarkChanging(string value);
+ partial void OnSupervisionRemarkChanged();
+ partial void OnOwnerRemarkChanging(string value);
+ partial void OnOwnerRemarkChanged();
+ partial void OnSubcontractorIsPassChanging(System.Nullable value);
+ partial void OnSubcontractorIsPassChanged();
+ partial void OnContractorIsPassChanging(System.Nullable value);
+ partial void OnContractorIsPassChanged();
+ partial void OnSupervisionIsPassChanging(System.Nullable value);
+ partial void OnSupervisionIsPassChanged();
+ partial void OnOwnerIsPassChanging(System.Nullable value);
+ partial void OnOwnerIsPassChanged();
#endregion
public PreRun_SubInspectTermItem()
@@ -275113,166 +275339,6 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubcontractorIsPass", DbType="Int")]
- public System.Nullable SubcontractorIsPass
- {
- get
- {
- return this._SubcontractorIsPass;
- }
- set
- {
- if ((this._SubcontractorIsPass != value))
- {
- this.OnSubcontractorIsPassChanging(value);
- this.SendPropertyChanging();
- this._SubcontractorIsPass = value;
- this.SendPropertyChanged("SubcontractorIsPass");
- this.OnSubcontractorIsPassChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorIsPass", DbType="Int")]
- public System.Nullable ContractorIsPass
- {
- get
- {
- return this._ContractorIsPass;
- }
- set
- {
- if ((this._ContractorIsPass != value))
- {
- this.OnContractorIsPassChanging(value);
- this.SendPropertyChanging();
- this._ContractorIsPass = value;
- this.SendPropertyChanged("ContractorIsPass");
- this.OnContractorIsPassChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupervisionIsPass", DbType="Int")]
- public System.Nullable SupervisionIsPass
- {
- get
- {
- return this._SupervisionIsPass;
- }
- set
- {
- if ((this._SupervisionIsPass != value))
- {
- this.OnSupervisionIsPassChanging(value);
- this.SendPropertyChanging();
- this._SupervisionIsPass = value;
- this.SendPropertyChanged("SupervisionIsPass");
- this.OnSupervisionIsPassChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OwnerIsPass", DbType="Int")]
- public System.Nullable OwnerIsPass
- {
- get
- {
- return this._OwnerIsPass;
- }
- set
- {
- if ((this._OwnerIsPass != value))
- {
- this.OnOwnerIsPassChanging(value);
- this.SendPropertyChanging();
- this._OwnerIsPass = value;
- this.SendPropertyChanged("OwnerIsPass");
- this.OnOwnerIsPassChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubcontractorRemark", DbType="VarChar(1000)")]
- public string SubcontractorRemark
- {
- get
- {
- return this._SubcontractorRemark;
- }
- set
- {
- if ((this._SubcontractorRemark != value))
- {
- this.OnSubcontractorRemarkChanging(value);
- this.SendPropertyChanging();
- this._SubcontractorRemark = value;
- this.SendPropertyChanged("SubcontractorRemark");
- this.OnSubcontractorRemarkChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorRemark", DbType="VarChar(1000)")]
- public string ContractorRemark
- {
- get
- {
- return this._ContractorRemark;
- }
- set
- {
- if ((this._ContractorRemark != value))
- {
- this.OnContractorRemarkChanging(value);
- this.SendPropertyChanging();
- this._ContractorRemark = value;
- this.SendPropertyChanged("ContractorRemark");
- this.OnContractorRemarkChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupervisionRemark", DbType="VarChar(1000)")]
- public string SupervisionRemark
- {
- get
- {
- return this._SupervisionRemark;
- }
- set
- {
- if ((this._SupervisionRemark != value))
- {
- this.OnSupervisionRemarkChanging(value);
- this.SendPropertyChanging();
- this._SupervisionRemark = value;
- this.SendPropertyChanged("SupervisionRemark");
- this.OnSupervisionRemarkChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OwnerRemark", DbType="VarChar(1000)")]
- public string OwnerRemark
- {
- get
- {
- return this._OwnerRemark;
- }
- set
- {
- if ((this._OwnerRemark != value))
- {
- this.OnOwnerRemarkChanging(value);
- this.SendPropertyChanging();
- this._OwnerRemark = value;
- this.SendPropertyChanged("OwnerRemark");
- this.OnOwnerRemarkChanged();
- }
- }
- }
-
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackType", DbType="Int")]
public System.Nullable WorkPackType
{
@@ -275293,7 +275359,7 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyTechnologyId", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyTechnologyId", DbType="VarChar(50)")]
public string PropertyTechnologyId
{
get
@@ -275393,6 +275459,166 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubcontractorRemark", DbType="VarChar(1000)")]
+ public string SubcontractorRemark
+ {
+ get
+ {
+ return this._SubcontractorRemark;
+ }
+ set
+ {
+ if ((this._SubcontractorRemark != value))
+ {
+ this.OnSubcontractorRemarkChanging(value);
+ this.SendPropertyChanging();
+ this._SubcontractorRemark = value;
+ this.SendPropertyChanged("SubcontractorRemark");
+ this.OnSubcontractorRemarkChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorRemark", DbType="VarChar(1000)")]
+ public string ContractorRemark
+ {
+ get
+ {
+ return this._ContractorRemark;
+ }
+ set
+ {
+ if ((this._ContractorRemark != value))
+ {
+ this.OnContractorRemarkChanging(value);
+ this.SendPropertyChanging();
+ this._ContractorRemark = value;
+ this.SendPropertyChanged("ContractorRemark");
+ this.OnContractorRemarkChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupervisionRemark", DbType="VarChar(1000)")]
+ public string SupervisionRemark
+ {
+ get
+ {
+ return this._SupervisionRemark;
+ }
+ set
+ {
+ if ((this._SupervisionRemark != value))
+ {
+ this.OnSupervisionRemarkChanging(value);
+ this.SendPropertyChanging();
+ this._SupervisionRemark = value;
+ this.SendPropertyChanged("SupervisionRemark");
+ this.OnSupervisionRemarkChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OwnerRemark", DbType="VarChar(1000)")]
+ public string OwnerRemark
+ {
+ get
+ {
+ return this._OwnerRemark;
+ }
+ set
+ {
+ if ((this._OwnerRemark != value))
+ {
+ this.OnOwnerRemarkChanging(value);
+ this.SendPropertyChanging();
+ this._OwnerRemark = value;
+ this.SendPropertyChanged("OwnerRemark");
+ this.OnOwnerRemarkChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubcontractorIsPass", DbType="Int")]
+ public System.Nullable SubcontractorIsPass
+ {
+ get
+ {
+ return this._SubcontractorIsPass;
+ }
+ set
+ {
+ if ((this._SubcontractorIsPass != value))
+ {
+ this.OnSubcontractorIsPassChanging(value);
+ this.SendPropertyChanging();
+ this._SubcontractorIsPass = value;
+ this.SendPropertyChanged("SubcontractorIsPass");
+ this.OnSubcontractorIsPassChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorIsPass", DbType="Int")]
+ public System.Nullable ContractorIsPass
+ {
+ get
+ {
+ return this._ContractorIsPass;
+ }
+ set
+ {
+ if ((this._ContractorIsPass != value))
+ {
+ this.OnContractorIsPassChanging(value);
+ this.SendPropertyChanging();
+ this._ContractorIsPass = value;
+ this.SendPropertyChanged("ContractorIsPass");
+ this.OnContractorIsPassChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupervisionIsPass", DbType="Int")]
+ public System.Nullable SupervisionIsPass
+ {
+ get
+ {
+ return this._SupervisionIsPass;
+ }
+ set
+ {
+ if ((this._SupervisionIsPass != value))
+ {
+ this.OnSupervisionIsPassChanging(value);
+ this.SendPropertyChanging();
+ this._SupervisionIsPass = value;
+ this.SendPropertyChanged("SupervisionIsPass");
+ this.OnSupervisionIsPassChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OwnerIsPass", DbType="Int")]
+ public System.Nullable OwnerIsPass
+ {
+ get
+ {
+ return this._OwnerIsPass;
+ }
+ set
+ {
+ if ((this._OwnerIsPass != value))
+ {
+ this.OnOwnerIsPassChanging(value);
+ this.SendPropertyChanging();
+ this._OwnerIsPass = value;
+ this.SendPropertyChanged("OwnerIsPass");
+ this.OnOwnerIsPassChanged();
+ }
+ }
+ }
+
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -276394,8 +276620,6 @@ namespace Model
private string _RestrictCondition;
- private System.Nullable _ResponsibilityProposeSatate;
-
private System.Nullable _ResponsibilityConfirm;
private System.Nullable _ProposeConfirm;
@@ -276406,11 +276630,9 @@ namespace Model
private System.Nullable _OwnerConfirm;
- private System.Nullable _ProposeConfirmData;
-
private System.Nullable _ResponsibilityConfirmData;
- private System.Nullable _ProposeHandleData;
+ private System.Nullable _ProposeConfirmData;
private System.Nullable _GeneraConfirmData;
@@ -276426,6 +276648,10 @@ namespace Model
private System.Nullable _Sort;
+ private System.Nullable _ResponsibilityProposeSatate;
+
+ private System.Nullable _ProposeHandleData;
+
private string _FourDecisionCode;
#region 可扩展性方法定义
@@ -276462,8 +276688,6 @@ namespace Model
partial void OnRealityDestructionTimeChanged();
partial void OnRestrictConditionChanging(string value);
partial void OnRestrictConditionChanged();
- partial void OnResponsibilityProposeSatateChanging(System.Nullable value);
- partial void OnResponsibilityProposeSatateChanged();
partial void OnResponsibilityConfirmChanging(System.Nullable value);
partial void OnResponsibilityConfirmChanged();
partial void OnProposeConfirmChanging(System.Nullable value);
@@ -276474,12 +276698,10 @@ namespace Model
partial void OnSupervisionConfirmChanged();
partial void OnOwnerConfirmChanging(System.Nullable value);
partial void OnOwnerConfirmChanged();
- partial void OnProposeConfirmDataChanging(System.Nullable value);
- partial void OnProposeConfirmDataChanged();
partial void OnResponsibilityConfirmDataChanging(System.Nullable value);
partial void OnResponsibilityConfirmDataChanged();
- partial void OnProposeHandleDataChanging(System.Nullable value);
- partial void OnProposeHandleDataChanged();
+ partial void OnProposeConfirmDataChanging(System.Nullable value);
+ partial void OnProposeConfirmDataChanged();
partial void OnGeneraConfirmDataChanging(System.Nullable value);
partial void OnGeneraConfirmDataChanged();
partial void OnSupervisionConfirmDataChanging(System.Nullable value);
@@ -276494,6 +276716,10 @@ namespace Model
partial void OnAddTimeChanged();
partial void OnSortChanging(System.Nullable value);
partial void OnSortChanged();
+ partial void OnResponsibilityProposeSatateChanging(System.Nullable value);
+ partial void OnResponsibilityProposeSatateChanged();
+ partial void OnProposeHandleDataChanging(System.Nullable value);
+ partial void OnProposeHandleDataChanged();
partial void OnFourDecisionCodeChanging(string value);
partial void OnFourDecisionCodeChanged();
#endregion
@@ -276803,26 +277029,6 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibilityProposeSatate", DbType="Int")]
- public System.Nullable ResponsibilityProposeSatate
- {
- get
- {
- return this._ResponsibilityProposeSatate;
- }
- set
- {
- if ((this._ResponsibilityProposeSatate != value))
- {
- this.OnResponsibilityProposeSatateChanging(value);
- this.SendPropertyChanging();
- this._ResponsibilityProposeSatate = value;
- this.SendPropertyChanged("ResponsibilityProposeSatate");
- this.OnResponsibilityProposeSatateChanged();
- }
- }
- }
-
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibilityConfirm", DbType="Int")]
public System.Nullable ResponsibilityConfirm
{
@@ -276923,26 +277129,6 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProposeConfirmData", DbType="DateTime")]
- public System.Nullable ProposeConfirmData
- {
- get
- {
- return this._ProposeConfirmData;
- }
- set
- {
- if ((this._ProposeConfirmData != value))
- {
- this.OnProposeConfirmDataChanging(value);
- this.SendPropertyChanging();
- this._ProposeConfirmData = value;
- this.SendPropertyChanged("ProposeConfirmData");
- this.OnProposeConfirmDataChanged();
- }
- }
- }
-
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibilityConfirmData", DbType="DateTime")]
public System.Nullable ResponsibilityConfirmData
{
@@ -276963,22 +277149,22 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProposeHandleData", DbType="DateTime")]
- public System.Nullable ProposeHandleData
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProposeConfirmData", DbType="DateTime")]
+ public System.Nullable ProposeConfirmData
{
get
{
- return this._ProposeHandleData;
+ return this._ProposeConfirmData;
}
set
{
- if ((this._ProposeHandleData != value))
+ if ((this._ProposeConfirmData != value))
{
- this.OnProposeHandleDataChanging(value);
+ this.OnProposeConfirmDataChanging(value);
this.SendPropertyChanging();
- this._ProposeHandleData = value;
- this.SendPropertyChanged("ProposeHandleData");
- this.OnProposeHandleDataChanged();
+ this._ProposeConfirmData = value;
+ this.SendPropertyChanged("ProposeConfirmData");
+ this.OnProposeConfirmDataChanged();
}
}
}
@@ -277123,6 +277309,46 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibilityProposeSatate", DbType="Int")]
+ public System.Nullable ResponsibilityProposeSatate
+ {
+ get
+ {
+ return this._ResponsibilityProposeSatate;
+ }
+ set
+ {
+ if ((this._ResponsibilityProposeSatate != value))
+ {
+ this.OnResponsibilityProposeSatateChanging(value);
+ this.SendPropertyChanging();
+ this._ResponsibilityProposeSatate = value;
+ this.SendPropertyChanged("ResponsibilityProposeSatate");
+ this.OnResponsibilityProposeSatateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProposeHandleData", DbType="DateTime")]
+ public System.Nullable ProposeHandleData
+ {
+ get
+ {
+ return this._ProposeHandleData;
+ }
+ set
+ {
+ if ((this._ProposeHandleData != value))
+ {
+ this.OnProposeHandleDataChanging(value);
+ this.SendPropertyChanging();
+ this._ProposeHandleData = value;
+ this.SendPropertyChanged("ProposeHandleData");
+ this.OnProposeHandleDataChanged();
+ }
+ }
+ }
+
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FourDecisionCode", DbType="VarChar(20)")]
public string FourDecisionCode
{
@@ -277835,7 +278061,7 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
public string Remark
{
get
@@ -312444,6 +312670,8 @@ namespace Model
private string _Remarks;
+ private string _TotationRate;
+
#region 可扩展性方法定义
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -312468,6 +312696,8 @@ namespace Model
partial void OnTotalNoBackCountChanged();
partial void OnRemarksChanging(string value);
partial void OnRemarksChanged();
+ partial void OnTotationRateChanging(string value);
+ partial void OnTotationRateChanged();
#endregion
public Report_CQMS_MonthReportItem()
@@ -312675,6 +312905,184 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotationRate", DbType="VarChar(50)")]
+ public string TotationRate
+ {
+ get
+ {
+ return this._TotationRate;
+ }
+ set
+ {
+ if ((this._TotationRate != value))
+ {
+ this.OnTotationRateChanging(value);
+ this.SendPropertyChanging();
+ this._TotationRate = value;
+ this.SendPropertyChanged("TotationRate");
+ this.OnTotationRateChanged();
+ }
+ }
+ }
+
+ public event PropertyChangingEventHandler PropertyChanging;
+
+ public event PropertyChangedEventHandler PropertyChanged;
+
+ protected virtual void SendPropertyChanging()
+ {
+ if ((this.PropertyChanging != null))
+ {
+ this.PropertyChanging(this, emptyChangingEventArgs);
+ }
+ }
+
+ protected virtual void SendPropertyChanged(String propertyName)
+ {
+ if ((this.PropertyChanged != null))
+ {
+ this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Report_CQMS_ProblemHandle")]
+ public partial class Report_CQMS_ProblemHandle : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _Id;
+
+ private string _ReportId;
+
+ private string _ReType;
+
+ private string _UnitName;
+
+ private string _ProblemDes;
+
+ #region 可扩展性方法定义
+ partial void OnLoaded();
+ partial void OnValidate(System.Data.Linq.ChangeAction action);
+ partial void OnCreated();
+ partial void OnIdChanging(string value);
+ partial void OnIdChanged();
+ partial void OnReportIdChanging(string value);
+ partial void OnReportIdChanged();
+ partial void OnReTypeChanging(string value);
+ partial void OnReTypeChanged();
+ partial void OnUnitNameChanging(string value);
+ partial void OnUnitNameChanged();
+ partial void OnProblemDesChanging(string value);
+ partial void OnProblemDesChanged();
+ #endregion
+
+ public Report_CQMS_ProblemHandle()
+ {
+ OnCreated();
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
+ public string Id
+ {
+ get
+ {
+ return this._Id;
+ }
+ set
+ {
+ if ((this._Id != value))
+ {
+ this.OnIdChanging(value);
+ this.SendPropertyChanging();
+ this._Id = value;
+ this.SendPropertyChanged("Id");
+ this.OnIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportId", DbType="NVarChar(50)")]
+ public string ReportId
+ {
+ get
+ {
+ return this._ReportId;
+ }
+ set
+ {
+ if ((this._ReportId != value))
+ {
+ this.OnReportIdChanging(value);
+ this.SendPropertyChanging();
+ this._ReportId = value;
+ this.SendPropertyChanged("ReportId");
+ this.OnReportIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReType", DbType="NChar(20)")]
+ public string ReType
+ {
+ get
+ {
+ return this._ReType;
+ }
+ set
+ {
+ if ((this._ReType != value))
+ {
+ this.OnReTypeChanging(value);
+ this.SendPropertyChanging();
+ this._ReType = value;
+ this.SendPropertyChanged("ReType");
+ this.OnReTypeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(100)")]
+ public string UnitName
+ {
+ get
+ {
+ return this._UnitName;
+ }
+ set
+ {
+ if ((this._UnitName != value))
+ {
+ this.OnUnitNameChanging(value);
+ this.SendPropertyChanging();
+ this._UnitName = value;
+ this.SendPropertyChanged("UnitName");
+ this.OnUnitNameChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProblemDes", DbType="NVarChar(100)")]
+ public string ProblemDes
+ {
+ get
+ {
+ return this._ProblemDes;
+ }
+ set
+ {
+ if ((this._ProblemDes != value))
+ {
+ this.OnProblemDesChanging(value);
+ this.SendPropertyChanging();
+ this._ProblemDes = value;
+ this.SendPropertyChanged("ProblemDes");
+ this.OnProblemDesChanged();
+ }
+ }
+ }
+
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -344321,6 +344729,1494 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_DataInTemp")]
+ public partial class Sys_DataInTemp : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _TempId;
+
+ private string _ProjectId;
+
+ private string _UserId;
+
+ private System.Nullable _Time;
+
+ private System.Nullable _RowNo;
+
+ private string _Value1;
+
+ private string _Value2;
+
+ private string _Value3;
+
+ private string _Value4;
+
+ private string _Value5;
+
+ private string _Value6;
+
+ private string _Value7;
+
+ private string _Value8;
+
+ private string _Value9;
+
+ private string _Value10;
+
+ private string _Value11;
+
+ private string _Value12;
+
+ private string _Value13;
+
+ private string _Value14;
+
+ private string _Value15;
+
+ private string _Value16;
+
+ private string _Value17;
+
+ private string _Value18;
+
+ private string _Value19;
+
+ private string _Value20;
+
+ private string _Value21;
+
+ private string _Value22;
+
+ private string _Value23;
+
+ private string _Value24;
+
+ private string _Value25;
+
+ private string _Value26;
+
+ private string _Value27;
+
+ private string _Value28;
+
+ private string _Value29;
+
+ private string _Value30;
+
+ private string _Value31;
+
+ private string _Value32;
+
+ private string _Value33;
+
+ private string _Value34;
+
+ private string _Value35;
+
+ private string _Value36;
+
+ private string _Value37;
+
+ private string _Value38;
+
+ private string _Value39;
+
+ private string _Value40;
+
+ private string _Value41;
+
+ private string _Value42;
+
+ private string _Value43;
+
+ private string _Value44;
+
+ private string _Value45;
+
+ private string _Value46;
+
+ private string _Value47;
+
+ private string _Value48;
+
+ private string _Value49;
+
+ private string _Value50;
+
+ private string _ToopValue;
+
+ private string _Type;
+
+ private EntityRef _Base_Project;
+
+ private EntityRef _Sys_User;
+
+ #region 可扩展性方法定义
+ partial void OnLoaded();
+ partial void OnValidate(System.Data.Linq.ChangeAction action);
+ partial void OnCreated();
+ partial void OnTempIdChanging(string value);
+ partial void OnTempIdChanged();
+ partial void OnProjectIdChanging(string value);
+ partial void OnProjectIdChanged();
+ partial void OnUserIdChanging(string value);
+ partial void OnUserIdChanged();
+ partial void OnTimeChanging(System.Nullable value);
+ partial void OnTimeChanged();
+ partial void OnRowNoChanging(System.Nullable value);
+ partial void OnRowNoChanged();
+ partial void OnValue1Changing(string value);
+ partial void OnValue1Changed();
+ partial void OnValue2Changing(string value);
+ partial void OnValue2Changed();
+ partial void OnValue3Changing(string value);
+ partial void OnValue3Changed();
+ partial void OnValue4Changing(string value);
+ partial void OnValue4Changed();
+ partial void OnValue5Changing(string value);
+ partial void OnValue5Changed();
+ partial void OnValue6Changing(string value);
+ partial void OnValue6Changed();
+ partial void OnValue7Changing(string value);
+ partial void OnValue7Changed();
+ partial void OnValue8Changing(string value);
+ partial void OnValue8Changed();
+ partial void OnValue9Changing(string value);
+ partial void OnValue9Changed();
+ partial void OnValue10Changing(string value);
+ partial void OnValue10Changed();
+ partial void OnValue11Changing(string value);
+ partial void OnValue11Changed();
+ partial void OnValue12Changing(string value);
+ partial void OnValue12Changed();
+ partial void OnValue13Changing(string value);
+ partial void OnValue13Changed();
+ partial void OnValue14Changing(string value);
+ partial void OnValue14Changed();
+ partial void OnValue15Changing(string value);
+ partial void OnValue15Changed();
+ partial void OnValue16Changing(string value);
+ partial void OnValue16Changed();
+ partial void OnValue17Changing(string value);
+ partial void OnValue17Changed();
+ partial void OnValue18Changing(string value);
+ partial void OnValue18Changed();
+ partial void OnValue19Changing(string value);
+ partial void OnValue19Changed();
+ partial void OnValue20Changing(string value);
+ partial void OnValue20Changed();
+ partial void OnValue21Changing(string value);
+ partial void OnValue21Changed();
+ partial void OnValue22Changing(string value);
+ partial void OnValue22Changed();
+ partial void OnValue23Changing(string value);
+ partial void OnValue23Changed();
+ partial void OnValue24Changing(string value);
+ partial void OnValue24Changed();
+ partial void OnValue25Changing(string value);
+ partial void OnValue25Changed();
+ partial void OnValue26Changing(string value);
+ partial void OnValue26Changed();
+ partial void OnValue27Changing(string value);
+ partial void OnValue27Changed();
+ partial void OnValue28Changing(string value);
+ partial void OnValue28Changed();
+ partial void OnValue29Changing(string value);
+ partial void OnValue29Changed();
+ partial void OnValue30Changing(string value);
+ partial void OnValue30Changed();
+ partial void OnValue31Changing(string value);
+ partial void OnValue31Changed();
+ partial void OnValue32Changing(string value);
+ partial void OnValue32Changed();
+ partial void OnValue33Changing(string value);
+ partial void OnValue33Changed();
+ partial void OnValue34Changing(string value);
+ partial void OnValue34Changed();
+ partial void OnValue35Changing(string value);
+ partial void OnValue35Changed();
+ partial void OnValue36Changing(string value);
+ partial void OnValue36Changed();
+ partial void OnValue37Changing(string value);
+ partial void OnValue37Changed();
+ partial void OnValue38Changing(string value);
+ partial void OnValue38Changed();
+ partial void OnValue39Changing(string value);
+ partial void OnValue39Changed();
+ partial void OnValue40Changing(string value);
+ partial void OnValue40Changed();
+ partial void OnValue41Changing(string value);
+ partial void OnValue41Changed();
+ partial void OnValue42Changing(string value);
+ partial void OnValue42Changed();
+ partial void OnValue43Changing(string value);
+ partial void OnValue43Changed();
+ partial void OnValue44Changing(string value);
+ partial void OnValue44Changed();
+ partial void OnValue45Changing(string value);
+ partial void OnValue45Changed();
+ partial void OnValue46Changing(string value);
+ partial void OnValue46Changed();
+ partial void OnValue47Changing(string value);
+ partial void OnValue47Changed();
+ partial void OnValue48Changing(string value);
+ partial void OnValue48Changed();
+ partial void OnValue49Changing(string value);
+ partial void OnValue49Changed();
+ partial void OnValue50Changing(string value);
+ partial void OnValue50Changed();
+ partial void OnToopValueChanging(string value);
+ partial void OnToopValueChanged();
+ partial void OnTypeChanging(string value);
+ partial void OnTypeChanged();
+ #endregion
+
+ public Sys_DataInTemp()
+ {
+ this._Base_Project = default(EntityRef);
+ this._Sys_User = default(EntityRef);
+ OnCreated();
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TempId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
+ public string TempId
+ {
+ get
+ {
+ return this._TempId;
+ }
+ set
+ {
+ if ((this._TempId != value))
+ {
+ this.OnTempIdChanging(value);
+ this.SendPropertyChanging();
+ this._TempId = value;
+ this.SendPropertyChanged("TempId");
+ this.OnTempIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
+ public string ProjectId
+ {
+ get
+ {
+ return this._ProjectId;
+ }
+ set
+ {
+ if ((this._ProjectId != value))
+ {
+ if (this._Base_Project.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnProjectIdChanging(value);
+ this.SendPropertyChanging();
+ this._ProjectId = value;
+ this.SendPropertyChanged("ProjectId");
+ this.OnProjectIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")]
+ public string UserId
+ {
+ get
+ {
+ return this._UserId;
+ }
+ set
+ {
+ if ((this._UserId != value))
+ {
+ if (this._Sys_User.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnUserIdChanging(value);
+ this.SendPropertyChanging();
+ this._UserId = value;
+ this.SendPropertyChanged("UserId");
+ this.OnUserIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Time", DbType="DateTime")]
+ public System.Nullable