From 19d328a109b3152d352f1b4f433db14138519736 Mon Sep 17 00:00:00 2001
From: wendy <408182087@qq.com>
Date: Thu, 25 Apr 2024 14:36:22 +0800
Subject: [PATCH 1/2] =?UTF-8?q?20240425=20=E6=96=B0=E5=A2=9E=E6=96=BD?=
=?UTF-8?q?=E5=B7=A5=E6=8A=80=E6=9C=AF=E4=BA=A4=E5=BA=95=E7=AE=A1=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../版本日志/SGGLDB_WH_2024-04-25-bwj.sql | 105 +
SGGL/BLL/BLL.csproj | 1 +
.../ConTechnologyDisclosureService.cs | 85 +
SGGL/BLL/Common/Const.cs | 10 +
.../ConTechnologyDisclosure.aspx | 122 +
.../ConTechnologyDisclosure.aspx.cs | 273 ++
.../ConTechnologyDisclosure.aspx.designer.cs | 195 ++
.../ConTechnologyDisclosureDataIn.aspx | 68 +
.../ConTechnologyDisclosureDataIn.aspx.cs | 475 ++++
...echnologyDisclosureDataIn.aspx.designer.cs | 123 +
.../ConTechnologyDisclosureEdit.aspx | 64 +
.../ConTechnologyDisclosureEdit.aspx.cs | 157 ++
...nTechnologyDisclosureEdit.aspx.designer.cs | 132 +
SGGL/FineUIPro.Web/ErrLog.txt | 104 +
.../施工技术交底管理导入模板.xls | Bin 0 -> 19456 bytes
SGGL/FineUIPro.Web/FineUIPro.Web.csproj | 24 +
SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user | 2 +-
SGGL/FineUIPro.Web/Web.config | 2 +-
SGGL/FineUIPro.Web/common/Menu_CQMS.xml | 1 +
SGGL/Model/Model.cs | 2424 ++++++++++++-----
SGGL/WebAPI/WebAPI.csproj.user | 2 +-
21 files changed, 3631 insertions(+), 738 deletions(-)
create mode 100644 DataBase/版本日志/SGGLDB_WH_2024-04-25-bwj.sql
create mode 100644 SGGL/BLL/CQMS/Comprehensive/ConTechnologyDisclosureService.cs
create mode 100644 SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosure.aspx
create mode 100644 SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosure.aspx.cs
create mode 100644 SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosure.aspx.designer.cs
create mode 100644 SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureDataIn.aspx
create mode 100644 SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureDataIn.aspx.cs
create mode 100644 SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureDataIn.aspx.designer.cs
create mode 100644 SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureEdit.aspx
create mode 100644 SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureEdit.aspx.cs
create mode 100644 SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureEdit.aspx.designer.cs
create mode 100644 SGGL/FineUIPro.Web/File/Excel/DataIn/施工技术交底管理导入模板.xls
diff --git a/DataBase/版本日志/SGGLDB_WH_2024-04-25-bwj.sql b/DataBase/版本日志/SGGLDB_WH_2024-04-25-bwj.sql
new file mode 100644
index 00000000..915eb38f
--- /dev/null
+++ b/DataBase/版本日志/SGGLDB_WH_2024-04-25-bwj.sql
@@ -0,0 +1,105 @@
+insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+values('A16CFA9D-2783-4573-95F9-EBA2B682B7EA','ʩ','CQMS/Comprehensive/ConTechnologyDisclosure.aspx','120','4a0e62cb-ee50-4a14-80b7-377602e9902c','Menu_CQMS',0,1,1)
+go
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('6B6E9956-33F4-423C-8E23-3997F6CC4606','A16CFA9D-2783-4573-95F9-EBA2B682B7EA','',1)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('C72B9AD1-CBDB-4D51-BA2A-3D846D5E5649','A16CFA9D-2783-4573-95F9-EBA2B682B7EA','',2)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('D56EA309-210E-4D42-AFF7-72B902556AD4','A16CFA9D-2783-4573-95F9-EBA2B682B7EA','ɾ',3)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('4087AF59-977C-4D57-B3B8-CE5E964131C7','A16CFA9D-2783-4573-95F9-EBA2B682B7EA','',4)
+ go
+
+CREATE TABLE [dbo].[Comprehensive_ConTechnologyDisclosure](
+ [ConTechnologyDisclosureId] [nvarchar](50) NOT NULL,
+ [ProjectId] [nvarchar](50) NULL,
+ [CNProfessionalId] [nvarchar](50) NULL,
+ [DisclosureCode] [nvarchar](50) NULL,
+ [DisclosureName] [nvarchar](50) NULL,
+ [UnitId] [nvarchar](50) NULL,
+ [DisclosureMan] [nvarchar](50) NULL,
+ [DisclosureDate] [datetime] NULL,
+ [UnitWorkId] [nvarchar](500) NULL,
+ [AttendMan] [nvarchar](100) NULL,
+ [CompileMan] [nvarchar](50) NULL,
+ [CompileDate] [datetime] NULL,
+ [RemarkCode] [nvarchar](50) NULL,
+ CONSTRAINT [PK_Comprehensive_ConTechnologyDisclosure] PRIMARY KEY CLUSTERED
+(
+ [ConTechnologyDisclosureId] 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].[Comprehensive_ConTechnologyDisclosure] WITH CHECK ADD CONSTRAINT [FK_Comprehensive_ConTechnologyDisclosure_Base_CNProfessional] FOREIGN KEY([CNProfessionalId])
+REFERENCES [dbo].[Base_CNProfessional] ([CNProfessionalId])
+GO
+
+ALTER TABLE [dbo].[Comprehensive_ConTechnologyDisclosure] CHECK CONSTRAINT [FK_Comprehensive_ConTechnologyDisclosure_Base_CNProfessional]
+GO
+
+ALTER TABLE [dbo].[Comprehensive_ConTechnologyDisclosure] WITH CHECK ADD CONSTRAINT [FK_Comprehensive_ConTechnologyDisclosure_Base_Project] FOREIGN KEY([ProjectId])
+REFERENCES [dbo].[Base_Project] ([ProjectId])
+GO
+
+ALTER TABLE [dbo].[Comprehensive_ConTechnologyDisclosure] CHECK CONSTRAINT [FK_Comprehensive_ConTechnologyDisclosure_Base_Project]
+GO
+
+ALTER TABLE [dbo].[Comprehensive_ConTechnologyDisclosure] WITH CHECK ADD CONSTRAINT [FK_Comprehensive_ConTechnologyDisclosure_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[Comprehensive_ConTechnologyDisclosure] CHECK CONSTRAINT [FK_Comprehensive_ConTechnologyDisclosure_Base_Unit]
+GO
+
+ALTER TABLE [dbo].[Comprehensive_ConTechnologyDisclosure] WITH CHECK ADD CONSTRAINT [FK_Comprehensive_ConTechnologyDisclosure_Sys_User] FOREIGN KEY([CompileMan])
+REFERENCES [dbo].[Sys_User] ([UserId])
+GO
+
+ALTER TABLE [dbo].[Comprehensive_ConTechnologyDisclosure] CHECK CONSTRAINT [FK_Comprehensive_ConTechnologyDisclosure_Sys_User]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_ConTechnologyDisclosure', @level2type=N'COLUMN',@level2name=N'ConTechnologyDisclosureId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ĿId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_ConTechnologyDisclosure', @level2type=N'COLUMN',@level2name=N'ProjectId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'רҵId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_ConTechnologyDisclosure', @level2type=N'COLUMN',@level2name=N'CNProfessionalId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ļ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_ConTechnologyDisclosure', @level2type=N'COLUMN',@level2name=N'DisclosureCode'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʩ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_ConTechnologyDisclosure', @level2type=N'COLUMN',@level2name=N'DisclosureName'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_ConTechnologyDisclosure', @level2type=N'COLUMN',@level2name=N'UnitId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_ConTechnologyDisclosure', @level2type=N'COLUMN',@level2name=N'DisclosureMan'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_ConTechnologyDisclosure', @level2type=N'COLUMN',@level2name=N'DisclosureDate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_ConTechnologyDisclosure', @level2type=N'COLUMN',@level2name=N'UnitWorkId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'μԱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_ConTechnologyDisclosure', @level2type=N'COLUMN',@level2name=N'AttendMan'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_ConTechnologyDisclosure', @level2type=N'COLUMN',@level2name=N'CompileMan'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_ConTechnologyDisclosure', @level2type=N'COLUMN',@level2name=N'CompileDate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'־' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_ConTechnologyDisclosure', @level2type=N'COLUMN',@level2name=N'RemarkCode'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ƽ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_ConTechnologyDisclosure'
+GO
+
+
diff --git a/SGGL/BLL/BLL.csproj b/SGGL/BLL/BLL.csproj
index a0b53214..469027fb 100644
--- a/SGGL/BLL/BLL.csproj
+++ b/SGGL/BLL/BLL.csproj
@@ -190,6 +190,7 @@
+
diff --git a/SGGL/BLL/CQMS/Comprehensive/ConTechnologyDisclosureService.cs b/SGGL/BLL/CQMS/Comprehensive/ConTechnologyDisclosureService.cs
new file mode 100644
index 00000000..0f6f7614
--- /dev/null
+++ b/SGGL/BLL/CQMS/Comprehensive/ConTechnologyDisclosureService.cs
@@ -0,0 +1,85 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace BLL
+{
+ ///
+ /// 设计交底管理
+ ///
+ public class ConTechnologyDisclosureService
+ {
+ ///
+ /// 根据主键获取设计交底管理
+ ///
+ ///
+ ///
+ public static Model.Comprehensive_ConTechnologyDisclosure GetConTechnologyDisclosureById(string conTechnologyDisclosureId)
+ {
+ return Funs.DB.Comprehensive_ConTechnologyDisclosure.FirstOrDefault(e => e.ConTechnologyDisclosureId == conTechnologyDisclosureId);
+ }
+
+ ///
+ /// 添加设计交底管理
+ ///
+ ///
+ public static void AddConTechnologyDisclosure(Model.Comprehensive_ConTechnologyDisclosure con)
+ {
+ Model.Comprehensive_ConTechnologyDisclosure newCon = new Model.Comprehensive_ConTechnologyDisclosure
+ {
+ ConTechnologyDisclosureId = con.ConTechnologyDisclosureId,
+ ProjectId = con.ProjectId,
+ CNProfessionalId = con.CNProfessionalId,
+ DisclosureCode = con.DisclosureCode,
+ DisclosureName = con.DisclosureName,
+ UnitId = con.UnitId,
+ DisclosureMan = con.DisclosureMan,
+ DisclosureDate = con.DisclosureDate,
+ UnitWorkId = con.UnitWorkId,
+ AttendMan = con.AttendMan,
+ CompileMan = con.CompileMan,
+ CompileDate = con.CompileDate,
+ RemarkCode = con.RemarkCode
+ };
+ Funs.DB.Comprehensive_ConTechnologyDisclosure.InsertOnSubmit(newCon);
+ Funs.DB.SubmitChanges();
+ }
+
+ ///
+ /// 修改设计交底管理
+ ///
+ ///
+ public static void UpdateConTechnologyDisclosure(Model.Comprehensive_ConTechnologyDisclosure con)
+ {
+ Model.Comprehensive_ConTechnologyDisclosure newCon = Funs.DB.Comprehensive_ConTechnologyDisclosure.FirstOrDefault(e => e.ConTechnologyDisclosureId == con.ConTechnologyDisclosureId);
+ if (newCon != null)
+ {
+ newCon.CNProfessionalId = con.CNProfessionalId;
+ newCon.DisclosureCode = con.DisclosureCode;
+ newCon.DisclosureName = con.DisclosureName;
+ newCon.UnitId = con.UnitId;
+ newCon.DisclosureMan = con.DisclosureMan;
+ newCon.DisclosureDate = con.DisclosureDate;
+ newCon.UnitWorkId = con.UnitWorkId;
+ newCon.AttendMan = con.AttendMan;
+ Funs.DB.SubmitChanges();
+ }
+ }
+
+ ///
+ /// 根据Id删除设计交底管理
+ ///
+ ///
+ public static void DeleteConTechnologyDisclosureById(string conTechnologyDisclosureId)
+ {
+ Model.Comprehensive_ConTechnologyDisclosure newCon = Funs.DB.Comprehensive_ConTechnologyDisclosure.FirstOrDefault(e => e.ConTechnologyDisclosureId == conTechnologyDisclosureId);
+ if (newCon != null)
+ {
+ Funs.DB.Comprehensive_ConTechnologyDisclosure.DeleteOnSubmit(newCon);
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+}
diff --git a/SGGL/BLL/Common/Const.cs b/SGGL/BLL/Common/Const.cs
index 7b67ede0..453edb97 100644
--- a/SGGL/BLL/Common/Const.cs
+++ b/SGGL/BLL/Common/Const.cs
@@ -3296,6 +3296,11 @@ namespace BLL
///
public const string QualityAccidentTemplateUrl = "File\\Excel\\DataIn\\质量事故处理记录导入模板.xls";
+ ///
+ /// 施工技术交底管理导入模板原始虚拟路径
+ ///
+ public const string ConTechnologyDisclosureTemUrl = "File\\Excel\\DataIn\\施工技术交底管理导入模板.xls";
+
#endregion
#region 绩效考核模板文件路径
@@ -3850,6 +3855,11 @@ namespace BLL
///
public const string MajorPlanApprovalMenuId = "fd116c94-714b-4b92-a3c9-cc83d358e2b3";
+ ///
+ /// 设计交底管理
+ ///
+ public const string ConTechnologyDisclosureMenuId = "A16CFA9D-2783-4573-95F9-EBA2B682B7EA";
+
///
/// 检验试验计划管理
///
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosure.aspx b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosure.aspx
new file mode 100644
index 00000000..45536c75
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosure.aspx
@@ -0,0 +1,122 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConTechnologyDisclosure.aspx.cs" Inherits="FineUIPro.Web.CQMS.Comprehensive.ConTechnologyDisclosure" %>
+
+
+
+
+
+
+ 施工技术交底管理
+
+
+
+
+
+
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosure.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosure.aspx.cs
new file mode 100644
index 00000000..ecbce6e2
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosure.aspx.cs
@@ -0,0 +1,273 @@
+using BLL;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Data.SqlClient;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace FineUIPro.Web.CQMS.Comprehensive
+{
+ public partial class ConTechnologyDisclosure : PageBase
+ {
+ #region 加载
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ GetButtonPower();
+ BLL.UnitService.InitUnitDownList(this.sdrpUnitId, this.CurrUser.LoginProjectId, true);
+ BLL.CNProfessionalService.InitCNProfessionalDownList(this.drpProfessionalId, true);
+ BindGrid();
+ }
+ }
+ public void BindGrid()
+ {
+ string strSql = @"select C.ConTechnologyDisclosureId, C.ProjectId, C.CNProfessionalId, C.DisclosureCode, C.DisclosureName,C.UnitId,C.DisclosureMan,C.DisclosureDate, C.UnitWorkId,C.AttendMan,
+ C.CompileMan, C.CompileDate, C.RemarkCode,CN.ProfessionalName,u.UnitName
+ from Comprehensive_ConTechnologyDisclosure C
+ left join Base_CNProfessional CN on C.CNProfessionalId=CN.CNProfessionalId
+ left join Base_Unit u on u.UnitId = C.UnitId
+ where C.ProjectId = @ProjectId";
+ List listStr = new List();
+ listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
+ if (sdrpUnitId.SelectedValue != BLL.Const._Null)
+ {
+ strSql += " AND C.UnitId=@UnitId";
+ listStr.Add(new SqlParameter("@UnitId", sdrpUnitId.SelectedValue));
+ }
+ if (this.drpProfessionalId.SelectedValue != BLL.Const._Null)
+ {
+ strSql += " AND C.CNProfessionalId =@CNProfessionalId";
+ listStr.Add(new SqlParameter("@CNProfessionalId", drpProfessionalId.SelectedValue));
+ }
+ if (!string.IsNullOrEmpty(this.txtCode.Text.Trim()))
+ {
+ strSql += " AND C.DisclosureCode LIKE @DisclosureCode";
+ listStr.Add(new SqlParameter("@DisclosureCode", "%" + txtCode.Text.Trim() + "%"));
+ }
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
+ Grid1.RecordCount = tb.Rows.Count;
+ //tb = GetFilteredTable(Grid1.FilteredData, tb);
+ var table = this.GetPagedDataTable(Grid1, tb);
+ Grid1.DataSource = table;
+ Grid1.DataBind();
+ }
+ #endregion
+
+ #region 分页、排序
+ ///
+ /// 分页下拉
+ ///
+ ///
+ ///
+ protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
+ BindGrid();
+ }
+
+ ///
+ /// 分页索引事件
+ ///
+ ///
+ ///
+ protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
+ {
+ BindGrid();
+ }
+
+ ///
+ /// 排序
+ ///
+ ///
+ ///
+ protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e)
+ {
+ Grid1.SortDirection = e.SortDirection;
+ Grid1.SortField = e.SortField;
+ BindGrid();
+ }
+ #endregion
+
+ #region 查询
+ ///
+ /// 查询
+ ///
+ ///
+ ///
+ protected void btnSearch_Click(object sender, EventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 关闭弹出窗口
+ ///
+ /// 关闭弹出窗口
+ ///
+ ///
+ ///
+ protected void Window1_Close(object sender, WindowCloseEventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 增加
+ ///
+ /// 新增按钮事件
+ ///
+ ///
+ ///
+ protected void btnNew_Click(object sender, EventArgs e)
+ {
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("ConTechnologyDisclosureEdit.aspx", "编辑 - ")));
+ }
+ #endregion
+
+ #region 编辑
+ ///
+ /// 右键编辑
+ ///
+ ///
+ ///
+ protected void btnMenuModify_Click(object sender, EventArgs e)
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("请至少选择一条记录", MessageBoxIcon.Warning);
+ return;
+ }
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("ConTechnologyDisclosureEdit.aspx?id={0}", Grid1.SelectedRowID, "编辑 - ")));
+ }
+
+ ///
+ /// Grid行双击事件
+ ///
+ ///
+ ///
+ protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
+ {
+ btnMenuModify_Click(sender, e);
+ }
+ #endregion
+
+ #region 删除
+ ///
+ /// 右键删除
+ ///
+ ///
+ ///
+ protected void btnMenuDel_Click(object sender, EventArgs e)
+ {
+ if (Grid1.SelectedRowIndexArray.Length > 0)
+ {
+ foreach (int rowIndex in Grid1.SelectedRowIndexArray)
+ {
+ string rowID = Grid1.DataKeys[rowIndex][0].ToString();
+ var con = BLL.ConTechnologyDisclosureService.GetConTechnologyDisclosureById(rowID);
+ if (con != null)
+ {
+ BLL.ConTechnologyDisclosureService.DeleteConTechnologyDisclosureById(rowID);
+ }
+ }
+ BindGrid();
+ ShowNotify("删除数据成功!", MessageBoxIcon.Success);
+ }
+ }
+ #endregion
+
+ #region 格式化字符串
+ ///
+ /// 获取单位工程名称
+ ///
+ ///
+ ///
+ protected string ConvertUnitWork(object CarryUnitWorks)
+ {
+ string CarryUnitWorkName = string.Empty;
+ if (CarryUnitWorks != null)
+ {
+ string[] Ids = CarryUnitWorks.ToString().Split(',');
+ foreach (string t in Ids)
+ {
+ var UnitWork = BLL.UnitWorkService.GetUnitWorkByUnitWorkId(t);
+ if (UnitWork != null)
+ {
+ CarryUnitWorkName += UnitWork.UnitWorkName + ",";
+ }
+ }
+ }
+ if (CarryUnitWorkName != string.Empty)
+ {
+ return CarryUnitWorkName.Substring(0, CarryUnitWorkName.Length - 1);
+ }
+ else
+ {
+ return "";
+ }
+ }
+ #endregion
+
+ #region 导入
+ ///
+ /// 导入按钮
+ ///
+ ///
+ ///
+ protected void btnImport_Click(object sender, EventArgs e)
+ {
+ PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("ConTechnologyDisclosureDataIn.aspx", "导入 - ")));
+ }
+ #endregion
+
+ #region 获取按钮权限
+ ///
+ /// 获取按钮权限
+ ///
+ ///
+ ///
+ private void GetButtonPower()
+ {
+ if (Request.Params["value"] == BLL.Const._Null)
+ {
+ return;
+ }
+ var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.ConTechnologyDisclosureMenuId);
+ if (buttonList.Count() > 0)
+ {
+ if (buttonList.Contains(BLL.Const.BtnAdd))
+ {
+ this.btnNew.Hidden = false;
+ }
+ if (buttonList.Contains(BLL.Const.BtnModify))
+ {
+ this.btnMenuModify.Hidden = false;
+ this.Grid1.EnableRowDoubleClickEvent = true;
+ }
+ else
+ {
+ this.Grid1.EnableRowDoubleClickEvent = false;
+ }
+ if (buttonList.Contains(BLL.Const.BtnDelete))
+ {
+ this.btnMenuDel.Hidden = false;
+ }
+ if (buttonList.Contains(BLL.Const.BtnSave))
+ {
+ this.btnImport.Hidden = false;
+ }
+ }
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosure.aspx.designer.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosure.aspx.designer.cs
new file mode 100644
index 00000000..1170de41
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosure.aspx.designer.cs
@@ -0,0 +1,195 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.CQMS.Comprehensive {
+
+
+ public partial class ConTechnologyDisclosure {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// Panel1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel1;
+
+ ///
+ /// Grid1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid1;
+
+ ///
+ /// ToolSearch 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar ToolSearch;
+
+ ///
+ /// sdrpUnitId 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList sdrpUnitId;
+
+ ///
+ /// drpProfessionalId 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpProfessionalId;
+
+ ///
+ /// txtCode 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtCode;
+
+ ///
+ /// btnSearch 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnSearch;
+
+ ///
+ /// btnNew 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnNew;
+
+ ///
+ /// btnImport 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnImport;
+
+ ///
+ /// lblPageIndex 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.WebControls.Label lblPageIndex;
+
+ ///
+ /// Label2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.WebControls.Label Label2;
+
+ ///
+ /// ToolbarText1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarText ToolbarText1;
+
+ ///
+ /// ddlPageSize 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList ddlPageSize;
+
+ ///
+ /// Window1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window1;
+
+ ///
+ /// Window2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window2;
+
+ ///
+ /// Menu1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Menu Menu1;
+
+ ///
+ /// btnMenuModify 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuModify;
+
+ ///
+ /// btnMenuDel 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuDel;
+ }
+}
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureDataIn.aspx b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureDataIn.aspx
new file mode 100644
index 00000000..2a8aa7f3
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureDataIn.aspx
@@ -0,0 +1,68 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConTechnologyDisclosureDataIn.aspx.cs" Inherits="FineUIPro.Web.CQMS.Comprehensive.ConTechnologyDisclosureDataIn" %>
+
+
+
+
+
+
+ 导入施工技术交底管理
+
+
+
+
+
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureDataIn.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureDataIn.aspx.cs
new file mode 100644
index 00000000..d043c7b8
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureDataIn.aspx.cs
@@ -0,0 +1,475 @@
+using BLL;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Data.OleDb;
+using System.IO;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace FineUIPro.Web.CQMS.Comprehensive
+{
+ public partial class ConTechnologyDisclosureDataIn : PageBase
+ {
+ #region 定义变量
+ ///
+ /// 上传预设的虚拟路径
+ ///
+ private string initPath = Const.ExcelUrl;
+
+
+ ///
+ /// 错误集合
+ ///
+ public static List errorInfos = new List();
+ #endregion
+
+ #region 加载
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ this.hdCheckResult.Text = string.Empty;
+ this.hdFileName.Text = string.Empty;
+ if (errorInfos != null)
+ {
+ errorInfos.Clear();
+ }
+ }
+ }
+ #endregion
+
+ #region 审核
+ ///
+ /// 审核
+ ///
+ ///
+ ///
+ protected void btnAudit_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ if (this.fuAttachUrl.HasFile == false)
+ {
+ ShowNotify("请您选择Excel文件!", MessageBoxIcon.Warning);
+ return;
+ }
+ string IsXls = Path.GetExtension(this.fuAttachUrl.FileName).ToString().Trim().ToLower();
+ if (IsXls != ".xls")
+ {
+ ShowNotify("只可以选择Excel文件!", MessageBoxIcon.Warning);
+ return;
+ }
+ if (errorInfos != null)
+ {
+ errorInfos.Clear();
+ }
+ 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.fuAttachUrl.PostedFile.SaveAs(filePath);
+ ImportXlsToData(rootPath + initPath + this.hdFileName.Text);
+ }
+ catch (Exception ex)
+ {
+ ShowNotify("'" + ex.Message + "'", MessageBoxIcon.Warning);
+ }
+ }
+
+ #region 读Excel提取数据
+ ///
+ /// 从Excel提取数据--》Dataset
+ ///
+ /// Excel文件路径名
+ private void ImportXlsToData(string fileName)
+ {
+ try
+ {
+ string oleDBConnString = String.Empty;
+ oleDBConnString = "Provider=Microsoft.Jet.OLEDB.4.0;";
+ oleDBConnString += "Data Source=";
+ oleDBConnString += fileName;
+ oleDBConnString += ";Extended Properties=Excel 8.0;";
+ OleDbConnection oleDBConn = null;
+ OleDbDataAdapter oleAdMaster = null;
+ DataTable m_tableName = new DataTable();
+ DataSet ds = new DataSet();
+
+ oleDBConn = new OleDbConnection(oleDBConnString);
+ oleDBConn.Open();
+ m_tableName = oleDBConn.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, null);
+
+ if (m_tableName != null && m_tableName.Rows.Count > 0)
+ {
+
+ m_tableName.TableName = m_tableName.Rows[0]["TABLE_NAME"].ToString().Trim();
+
+ }
+ string sqlMaster;
+ sqlMaster = " SELECT * FROM [" + m_tableName.TableName + "]";
+ oleAdMaster = new OleDbDataAdapter(sqlMaster, oleDBConn);
+ oleAdMaster.Fill(ds, "m_tableName");
+ oleAdMaster.Dispose();
+ oleDBConn.Close();
+ oleDBConn.Dispose();
+
+ AddDatasetToSQL(ds.Tables[0], 9);
+ hdCheckResult.Text = "1";
+ }
+ catch (Exception exc)
+ {
+ Response.Write(exc);
+ //return null;
+ // return dt;
+ }
+ finally
+ {
+ }
+ }
+ #endregion
+
+ #region 将Dataset的数据导入数据库
+ ///
+ /// 将Dataset的数据导入数据库
+ ///
+ /// 数据集
+ /// 数据集行数
+ ///
+ private bool AddDatasetToSQL(DataTable pds, int Cols)
+ {
+ string result = string.Empty;
+ int ic, ir;
+ ic = pds.Columns.Count;
+ if (ic < Cols)
+ {
+ ShowNotify("导入Excel格式错误!Excel只有" + ic.ToString().Trim() + "列", MessageBoxIcon.Warning);
+ return false;
+ }
+
+ ir = pds.Rows.Count;
+ if (pds != null && ir > 0)
+ {
+ var oldViewInfos = from x in Funs.DB.Comprehensive_ConTechnologyDisclosure
+ where x.ProjectId == this.CurrUser.LoginProjectId
+ select x;
+
+ 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 == this.CurrUser.LoginProjectId
+ select x;
+
+ var cns = from x in Funs.DB.Base_CNProfessional select x;
+
+ var unitWorks = from x in Funs.DB.WBS_UnitWork
+ where x.ProjectId == this.CurrUser.LoginProjectId
+ && x.SuperUnitWork == null
+ select x;
+
+ for (int i = 0; i < ir; i++)
+ {
+ string row0 = pds.Rows[i][0].ToString();
+ if (string.IsNullOrEmpty(row0))
+ {
+ result += (i + 2).ToString() + "," + "专业名称" + "," + "此项为必填项!" + "|";
+ }
+ else
+ {
+ var cn = cns.Where(x => x.ProfessionalName == row0.Trim()).FirstOrDefault();
+ if (cn == null)
+ {
+ result += (i + 2).ToString() + "," + "专业名称" + "," + "[" + row0 + "]不存在!" + "|";
+ }
+ }
+
+ string row1 = pds.Rows[i][1].ToString();
+ if (string.IsNullOrEmpty(row1))
+ {
+ result += (i + 2).ToString() + "," + "交底文件编号" + "," + "此项为必填项!" + "|";
+ }
+
+ string row3 = pds.Rows[i][3].ToString();
+ if (string.IsNullOrEmpty(row3))
+ {
+ result += (i + 2).ToString() + "," + "交底负责单位" + "," + "此项为必填项!" + "|";
+ }
+ else
+ {
+ var unit = units.Where(x => x.UnitName == row3.Trim()).FirstOrDefault();
+ if (unit == null)
+ {
+ result += (i + 2).ToString() + "," + "交底负责单位" + "," + "[" + row3 + "]不存在!" + "|";
+ }
+ }
+
+ string row5 = pds.Rows[i][5].ToString();
+ if (!string.IsNullOrEmpty(row5))
+ {
+ try
+ {
+ DateTime date = Convert.ToDateTime(row5.Trim());
+ }
+ catch (Exception)
+ {
+ result += (i + 2).ToString() + "," + "交底日期" + "," + "[" + row5 + "]错误!" + "|";
+ }
+ }
+
+ string row6 = pds.Rows[i][6].ToString();
+ if (!string.IsNullOrEmpty(row6))
+ {
+ string[] reunit = row6.Split(',');
+ foreach (string unitWork in reunit)
+ {
+ var u = unitWorks.Where(x => x.UnitWorkName == unitWork.Trim()).FirstOrDefault();
+ if (u == null)
+ {
+ result += (i + 2).ToString() + "," + "单位工程名称" + "," + "[" + unitWork.Trim() + "]不存在!" + "|";
+ }
+ }
+ }
+
+ string row8 = pds.Rows[i][8].ToString();
+ if (string.IsNullOrEmpty(row8))
+ {
+ result += (i + 2).ToString() + "," + "标志编号" + "," + "此项为必填项!" + "|";
+ }
+ }
+ if (!string.IsNullOrEmpty(result))
+ {
+ result = result.Substring(0, result.LastIndexOf("|"));
+ }
+ errorInfos.Clear();
+ if (!string.IsNullOrEmpty(result))
+ {
+ string results = result;
+ List errorInfoList = results.Split('|').ToList();
+ foreach (var item in errorInfoList)
+ {
+ string[] errors = item.Split(',');
+ Model.ErrorInfo errorInfo = new Model.ErrorInfo();
+ errorInfo.Row = errors[0];
+ errorInfo.Column = errors[1];
+ errorInfo.Reason = errors[2];
+ errorInfos.Add(errorInfo);
+ }
+ if (errorInfos.Count > 0)
+ {
+ this.gvErrorInfo.DataSource = errorInfos;
+ this.gvErrorInfo.DataBind();
+ }
+ }
+ else
+ {
+ ShowNotify("审核完成,请点击导入!", MessageBoxIcon.Success);
+ }
+ }
+ else
+ {
+ ShowNotify("导入数据为空!", MessageBoxIcon.Warning);
+ }
+ return true;
+ }
+ #endregion
+ #endregion
+
+ #region 导入
+ ///
+ /// 导入
+ ///
+ ///
+ ///
+ protected void btnImport_Click(object sender, EventArgs e)
+ {
+ if (!string.IsNullOrEmpty(hdCheckResult.Text))
+ {
+ if (errorInfos.Count <= 0)
+ {
+ string rootPath = Server.MapPath("~/");
+ ImportXlsToData2(rootPath + initPath + this.hdFileName.Text);
+ hdCheckResult.Text = string.Empty;
+ ShowNotify("导入成功!", MessageBoxIcon.Success);
+ PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
+ }
+ else
+ {
+ ShowNotify("请先将错误数据修正,再重新导入提交!", MessageBoxIcon.Warning);
+ }
+ }
+ else
+ {
+ ShowNotify("请先审核要导入的文件!", MessageBoxIcon.Warning);
+ }
+ }
+
+ #region Excel提取数据
+ ///
+ /// 从Excel提取数据--》Dataset
+ ///
+ /// Excel文件路径名
+ private void ImportXlsToData2(string fileName)
+ {
+ try
+ {
+ string oleDBConnString = String.Empty;
+ oleDBConnString = "Provider=Microsoft.Jet.OLEDB.4.0;";
+ oleDBConnString += "Data Source=";
+ oleDBConnString += fileName;
+ oleDBConnString += ";Extended Properties=Excel 8.0;";
+ OleDbConnection oleDBConn = null;
+ OleDbDataAdapter oleAdMaster = null;
+ DataTable m_tableName = new DataTable();
+ DataSet ds = new DataSet();
+
+ oleDBConn = new OleDbConnection(oleDBConnString);
+ oleDBConn.Open();
+ m_tableName = oleDBConn.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, null);
+
+ if (m_tableName != null && m_tableName.Rows.Count > 0)
+ {
+
+ m_tableName.TableName = m_tableName.Rows[0]["TABLE_NAME"].ToString().Trim();
+
+ }
+ string sqlMaster;
+ sqlMaster = " SELECT * FROM [" + m_tableName.TableName + "]";
+ oleAdMaster = new OleDbDataAdapter(sqlMaster, oleDBConn);
+ oleAdMaster.Fill(ds, "m_tableName");
+ oleAdMaster.Dispose();
+ oleDBConn.Close();
+ oleDBConn.Dispose();
+
+ AddDatasetToSQL2(ds.Tables[0], 9);
+ }
+ catch (Exception ex)
+ {
+ throw ex;
+ }
+ }
+ #endregion
+
+ #region 将Dataset的数据导入数据库
+ ///
+ /// 将Dataset的数据导入数据库
+ ///
+ /// 数据集
+ /// 数据集列数
+ ///
+ private bool AddDatasetToSQL2(DataTable pds, int Cols)
+ {
+ int ic, ir;
+ ic = pds.Columns.Count;
+ if (ic < Cols)
+ {
+ ShowNotify("导入Excel格式错误!Excel只有" + ic.ToString().Trim() + "列", MessageBoxIcon.Warning);
+ }
+ string result = string.Empty;
+ ir = pds.Rows.Count;
+ if (pds != null && ir > 0)
+ {
+ var oldViewInfos = from x in Funs.DB.Comprehensive_ConTechnologyDisclosure
+ where x.ProjectId == this.CurrUser.LoginProjectId
+ select x;
+
+ 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 == this.CurrUser.LoginProjectId
+ select x;
+
+ var cns = from x in Funs.DB.Base_CNProfessional select x;
+
+ var unitWorks = from x in Funs.DB.WBS_UnitWork
+ where x.ProjectId == this.CurrUser.LoginProjectId
+ && x.SuperUnitWork == null
+ select x;
+
+ for (int i = 0; i < ir; i++)
+ {
+ Model.Comprehensive_ConTechnologyDisclosure oldViewInfo = new Model.Comprehensive_ConTechnologyDisclosure();
+ string row0 = pds.Rows[i][0].ToString().Trim();
+ string row3 = pds.Rows[i][3].ToString().Trim();
+ var cn = cns.Where(y => y.ProfessionalName == row0).FirstOrDefault();
+ oldViewInfo = oldViewInfos.Where(x => x.RemarkCode == pds.Rows[i][8].ToString().Trim()
+ ).FirstOrDefault();
+ if (oldViewInfo == null)
+ {
+ Model.Comprehensive_ConTechnologyDisclosure des = new Model.Comprehensive_ConTechnologyDisclosure();
+ des.ConTechnologyDisclosureId = SQLHelper.GetNewID(typeof(Model.Comprehensive_ConTechnologyDisclosure));
+ des.ProjectId = this.CurrUser.LoginProjectId;
+ des.CNProfessionalId = cn.CNProfessionalId;
+ des.DisclosureCode = pds.Rows[i][1].ToString().Trim();
+ des.DisclosureName= pds.Rows[i][2].ToString().Trim();
+ des.UnitId = units.Where(x => x.UnitName == row3.Trim()).FirstOrDefault().UnitId;
+ des.DisclosureMan = pds.Rows[i][4].ToString().Trim();
+ des.DisclosureDate = Funs.GetNewDateTime(pds.Rows[i][5].ToString().Trim());
+ if (!string.IsNullOrEmpty(pds.Rows[i][6].ToString().Trim()))
+ {
+ des.UnitWorkId = BLL.UnitWorkService.GetUnitWorkIdsByUnitWorkNames(this.CurrUser.LoginProjectId, pds.Rows[i][6].ToString().Trim());
+ }
+ des.AttendMan = pds.Rows[i][7].ToString().Trim();
+ des.RemarkCode = pds.Rows[i][8].ToString().Trim();
+ des.CompileMan = this.CurrUser.UserId;
+ des.CompileDate = DateTime.Now;
+ BLL.ConTechnologyDisclosureService.AddConTechnologyDisclosure(des);
+ }
+ }
+ }
+ else
+ {
+ ShowNotify("导入数据为空!", MessageBoxIcon.Warning);
+ }
+ return true;
+ }
+ #endregion
+ #endregion
+
+ #region 下载模板
+ ///
+ /// 下载模板按钮
+ ///
+ ///
+ ///
+ protected void btnDownLoad_Click(object sender, EventArgs e)
+ {
+ PageContext.RegisterStartupScript(Confirm.GetShowReference("确定下载导入模板吗?", String.Empty, MessageBoxIcon.Question, PageManager1.GetCustomEventReference(false, "Confirm_OK"), PageManager1.GetCustomEventReference("Confirm_Cancel")));
+ }
+
+ ///
+ /// 下载导入模板
+ ///
+ ///
+ ///
+ protected void PageManager1_CustomEvent(object sender, CustomEventArgs e)
+ {
+ if (e.EventArgument == "Confirm_OK")
+ {
+ string rootPath = Server.MapPath("~/");
+ string uploadfilepath = rootPath + Const.ConTechnologyDisclosureTemUrl;
+ string filePath = Const.ConTechnologyDisclosureTemUrl;
+ 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();
+ }
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureDataIn.aspx.designer.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureDataIn.aspx.designer.cs
new file mode 100644
index 00000000..dd6eab07
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureDataIn.aspx.designer.cs
@@ -0,0 +1,123 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.CQMS.Comprehensive {
+
+
+ public partial class ConTechnologyDisclosureDataIn {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// SimpleForm1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Form SimpleForm1;
+
+ ///
+ /// Toolbar2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar2;
+
+ ///
+ /// hdFileName 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.HiddenField hdFileName;
+
+ ///
+ /// btnAudit 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnAudit;
+
+ ///
+ /// btnImport 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnImport;
+
+ ///
+ /// btnDownLoad 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnDownLoad;
+
+ ///
+ /// hdCheckResult 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.HiddenField hdCheckResult;
+
+ ///
+ /// fuAttachUrl 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.FileUpload fuAttachUrl;
+
+ ///
+ /// gvErrorInfo 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid gvErrorInfo;
+
+ ///
+ /// lblPageIndex 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.WebControls.Label lblPageIndex;
+ }
+}
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureEdit.aspx b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureEdit.aspx
new file mode 100644
index 00000000..7dc31553
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureEdit.aspx
@@ -0,0 +1,64 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConTechnologyDisclosureEdit.aspx.cs" Inherits="FineUIPro.Web.CQMS.Comprehensive.ConTechnologyDisclosureEdit" %>
+
+
+
+
+
+
+ 编辑施工技术交底管理
+
+
+
+
+
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureEdit.aspx.cs
new file mode 100644
index 00000000..1e39d02c
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureEdit.aspx.cs
@@ -0,0 +1,157 @@
+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 ConTechnologyDisclosureEdit : PageBase
+ {
+ #region 定义变量
+ ///
+ /// 主键
+ ///
+ public string ConTechnologyDisclosureId
+ {
+ get
+ {
+ return (string)ViewState["ConTechnologyDisclosureId"];
+ }
+ set
+ {
+ ViewState["ConTechnologyDisclosureId"] = value;
+ }
+ }
+ #endregion
+
+ #region 加载
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ GetButtonPower();
+ BLL.UnitWorkService.InitUnitWorkDownList(this.drpUnitWorkIds, this.CurrUser.LoginProjectId, false);
+ BLL.UnitService.InitUnitDownList(this.drpUnitId, this.CurrUser.LoginProjectId, false);
+ BLL.CNProfessionalService.InitCNProfessionalDownList(this.drpCNProfessionalId, true);
+
+ this.ConTechnologyDisclosureId = Request.Params["id"];
+ Model.Comprehensive_ConTechnologyDisclosure con = BLL.ConTechnologyDisclosureService.GetConTechnologyDisclosureById(this.ConTechnologyDisclosureId);
+ if (con != null)
+ {
+ this.ConTechnologyDisclosureId = con.ConTechnologyDisclosureId;
+ if (!string.IsNullOrEmpty(con.CNProfessionalId))
+ {
+ this.drpCNProfessionalId.SelectedValue = con.CNProfessionalId;
+ }
+ this.txtDisclosureCode.Text = con.DisclosureCode;
+ this.txtDisclosureName.Text = con.DisclosureName;
+ if (!string.IsNullOrEmpty(con.UnitId))
+ {
+ this.drpUnitId.SelectedValue = con.UnitId;
+ }
+ this.txtDisclosureMan.Text = con.DisclosureMan;
+ this.txtDisclosureDate.Text = con.DisclosureDate.HasValue ? string.Format("{0:yyyy-MM-dd}", con.DisclosureDate) : "";
+ if (!string.IsNullOrEmpty(con.UnitWorkId))
+ {
+ this.drpUnitWorkIds.SelectedValueArray = con.UnitWorkId.Split(',');
+ }
+ this.txtAttendMan.Text = con.AttendMan;
+ }
+ else
+ {
+ this.txtDisclosureDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now);
+ }
+ }
+ }
+ #endregion
+
+ #region 保存
+ ///
+ /// 保存按钮
+ ///
+ ///
+ ///
+ protected void btnSave_Click(object sender, EventArgs e)
+ {
+ if (drpCNProfessionalId.SelectedValue == BLL.Const._Null)
+ {
+ Alert.ShowInTop("请选择专业!", MessageBoxIcon.Warning);
+ return;
+ }
+ if (this.drpUnitId.SelectedValue == BLL.Const._Null)
+ {
+ Alert.ShowInTop("请选择交底负责单位!", MessageBoxIcon.Warning);
+ return;
+ }
+ Model.Comprehensive_ConTechnologyDisclosure newCon = new Model.Comprehensive_ConTechnologyDisclosure();
+ newCon.ProjectId = this.CurrUser.LoginProjectId;
+ newCon.CNProfessionalId = this.drpCNProfessionalId.SelectedValue;
+ newCon.DisclosureCode = this.txtDisclosureCode.Text.Trim();
+ newCon.DisclosureName = this.txtDisclosureName.Text.Trim();
+ newCon.UnitId = this.drpUnitId.SelectedValue;
+ newCon.DisclosureMan = this.txtDisclosureMan.Text.Trim();
+ newCon.DisclosureDate = Funs.GetNewDateTime(this.txtDisclosureDate.Text.Trim());
+
+ string ids = string.Empty;
+ var lists = this.drpUnitWorkIds.SelectedValueArray;
+ foreach (var item in lists)
+ {
+ ids += item + ",";
+ }
+ if (!string.IsNullOrEmpty(ids))
+ {
+ ids = ids.Substring(0, ids.LastIndexOf(","));
+ }
+ newCon.UnitWorkId = ids;
+ newCon.AttendMan = this.txtAttendMan.Text.Trim();
+
+ if (string.IsNullOrEmpty(this.ConTechnologyDisclosureId))
+ {
+ newCon.ConTechnologyDisclosureId = SQLHelper.GetNewID(typeof(Model.Comprehensive_ConTechnologyDisclosure));
+
+ newCon.CompileMan = this.CurrUser.UserId;
+ newCon.CompileDate = DateTime.Now;
+ BLL.ConTechnologyDisclosureService.AddConTechnologyDisclosure(newCon);
+ }
+ else
+ {
+ newCon.ConTechnologyDisclosureId = this.ConTechnologyDisclosureId;
+ BLL.ConTechnologyDisclosureService.UpdateConTechnologyDisclosure(newCon);
+ }
+ ShowNotify("保存成功!", MessageBoxIcon.Success);
+ PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
+ }
+ #endregion
+
+ #region 获取按钮权限
+ ///
+ /// 获取按钮权限
+ ///
+ ///
+ ///
+ private void GetButtonPower()
+ {
+ if (Request.Params["value"] == BLL.Const._Null)
+ {
+ return;
+ }
+ var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.ConTechnologyDisclosureMenuId);
+ if (buttonList.Count() > 0)
+ {
+ if (buttonList.Contains(BLL.Const.BtnSave))
+ {
+ this.btnSave.Hidden = false;
+ }
+ }
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureEdit.aspx.designer.cs
new file mode 100644
index 00000000..92dffb09
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureEdit.aspx.designer.cs
@@ -0,0 +1,132 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.CQMS.Comprehensive {
+
+
+ public partial class ConTechnologyDisclosureEdit {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// SimpleForm1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Form SimpleForm1;
+
+ ///
+ /// drpCNProfessionalId 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpCNProfessionalId;
+
+ ///
+ /// txtDisclosureCode 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtDisclosureCode;
+
+ ///
+ /// txtDisclosureName 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtDisclosureName;
+
+ ///
+ /// drpUnitId 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpUnitId;
+
+ ///
+ /// txtDisclosureMan 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtDisclosureMan;
+
+ ///
+ /// txtDisclosureDate 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DatePicker txtDisclosureDate;
+
+ ///
+ /// drpUnitWorkIds 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpUnitWorkIds;
+
+ ///
+ /// txtAttendMan 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtAttendMan;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// btnSave 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnSave;
+ }
+}
diff --git a/SGGL/FineUIPro.Web/ErrLog.txt b/SGGL/FineUIPro.Web/ErrLog.txt
index e69de29b..a77f4dbc 100644
--- a/SGGL/FineUIPro.Web/ErrLog.txt
+++ b/SGGL/FineUIPro.Web/ErrLog.txt
@@ -0,0 +1,104 @@
+
+错误信息开始=====>
+错误类型:ArgumentException
+错误信息:提供的 URI 方案“http”无效,应为“https”。
+参数名: via
+错误堆栈:
+ 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
+ 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
+ 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
+ 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
+ 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
+ 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
+ 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
+ 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
+ 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
+ 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
+ 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
+ 在 System.ServiceModel.ChannelFactory`1.CreateChannel()
+ 在 System.ServiceModel.ClientBase`1.CreateChannel()
+ 在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
+ 在 System.ServiceModel.ClientBase`1.get_Channel()
+ 在 BLL.CNCECHSSEService.HSSEServiceClient.GetSupervise_SubUnitReportListToSUB() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14204
+ 在 BLL.CNCECHSSEWebService.getSupervise_SubUnitReport() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2181
+出错时间:04/25/2024 11:23:49
+出错时间:04/25/2024 11:23:50
+
+
+错误信息开始=====>
+错误类型:ArgumentException
+错误信息:提供的 URI 方案“http”无效,应为“https”。
+参数名: via
+错误堆栈:
+ 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
+ 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
+ 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
+ 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
+ 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
+ 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
+ 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
+ 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
+ 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
+ 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
+ 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
+ 在 System.ServiceModel.ChannelFactory`1.CreateChannel()
+ 在 System.ServiceModel.ClientBase`1.CreateChannel()
+ 在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
+ 在 System.ServiceModel.ClientBase`1.get_Channel()
+ 在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckInfo_Table8ItemListToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14228
+ 在 BLL.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2046
+出错时间:04/25/2024 11:23:50
+出错时间:04/25/2024 11:23:50
+
+
+错误信息开始=====>
+错误类型:ArgumentException
+错误信息:提供的 URI 方案“http”无效,应为“https”。
+参数名: via
+错误堆栈:
+ 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
+ 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
+ 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
+ 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
+ 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
+ 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
+ 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
+ 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
+ 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
+ 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
+ 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
+ 在 System.ServiceModel.ChannelFactory`1.CreateChannel()
+ 在 System.ServiceModel.ClientBase`1.CreateChannel()
+ 在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
+ 在 System.ServiceModel.ClientBase`1.get_Channel()
+ 在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckRectifyListToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14220
+ 在 BLL.CNCECHSSEWebService.getCheck_CheckRectify() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1942
+出错时间:04/25/2024 11:23:50
+出错时间:04/25/2024 11:23:50
+
+
+错误信息开始=====>
+错误类型:ArgumentException
+错误信息:提供的 URI 方案“http”无效,应为“https”。
+参数名: via
+错误堆栈:
+ 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
+ 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
+ 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
+ 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
+ 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
+ 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
+ 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
+ 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
+ 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
+ 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
+ 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
+ 在 System.ServiceModel.ChannelFactory`1.CreateChannel()
+ 在 System.ServiceModel.ClientBase`1.CreateChannel()
+ 在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
+ 在 System.ServiceModel.ClientBase`1.get_Channel()
+ 在 BLL.CNCECHSSEService.HSSEServiceClient.GetInformation_UrgeReportToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14020
+ 在 BLL.CNCECHSSEWebService.getInformation_UrgeReport() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1884
+出错时间:04/25/2024 11:23:50
+出错时间:04/25/2024 11:23:50
+
diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/施工技术交底管理导入模板.xls b/SGGL/FineUIPro.Web/File/Excel/DataIn/施工技术交底管理导入模板.xls
new file mode 100644
index 0000000000000000000000000000000000000000..a76033b39f6bbf320927a30d1d9e550d2e1013b1
GIT binary patch
literal 19456
zcmeHP2V4}%((hdsSdwIvAS{A{faGK%2}VRv5q%<}vIq)_2{CYR3Sz(nM#L;)ICIWf
z4B#n>0rd_{r*h^~&cuFIGtBO=>Co?f-}k%sUN1c}U0wC>>gwvA>Fyb>{;XfMc9&T-
zkqUl9h17{Oh#HH|foqIZ&?7_u7nrUSi9{3)4siM3@DH-USJ2f4+D!!_527kWY;$#p
ze25wlH6dz2)P|@7u?a+7h~NT5AEE(7Lx@HYjUk#qYzna%L{o@n5X~W4Kx_`t5~3AE
z^c##V;M$gz{s)=wAFpa}G8%s4p)ZG!QE(nhCP7OyKA3>VFh<~ln1GK*LQYag(wRQd
z$CMLXi^?UH9BW7hprb*Eg3`y5kz^>P$4Hv^4MzjQlHbKgGk_gwMP(VSj
zudhG$-Nu%W{h1oL;iSQbUaY1{j_8!BpUUJAHR$}+giChvPQj6o2N0u43iNwUAc+Gt
z6G5FsGLCW;R1lj_@b`xxN{1mF)Zru;xFbgmROW)6O)0&g-66-2I_{vjj#9^t)M!M=
z_AZaieSrfj+MgRh@y(@gih8momofObD6wq5MpgYK=;~a>w
ze}EuBz?6&gB6)Pwj-nUp>zinqXc3+n$)n@^i=y8k;cy94
zEZROeCu7lJ3P#g$o>os6z$L&+(WU$rJ)GiSq_4kJYbogOLg|n5JcfS4>Vy^HX;5^W
z`!RHypQht{kfz7S)BHXZKh6;;`VA5bmoPP?^}%^#J$(ovuHt&(T#};ig$oQk2MP!0
zmksG{C^`sA(H$u|&O;mWyHa$Vn>M6deIvb@0(?&eIJ7^=mP^}N5nWb)k8i}M?a+Aq
zwhHiR`^(}eqMInNkDCH~a|LuKrF2>QG*`f{$o{nd$kvO-!Raao-8D_$fEow5wBO=d
zi9EWx0=k5s(*TFYhu-9?uOGk*;1R%|$~PiYaR3sB5E8y9YE3%74M}f6$KJz*IU3AH
zDPGAuxCuN-a%BauTS){mNv3$>TrZF&RRZ=mRagz8OW3`8w^%?^4ozJSjW37BtEY)X
zrD8l;WwB37lm$jHuY%g4GtdG!Eyu_N6yV5~fUPbmAtNJ0x`aR}bKr883OoTDQRq1N
zW&$>Xyi%bNq(Lk|h5-@ze<(;$G48;o
zG48;oG48;oiQS=exwrusr}p4GgqRRERMCI}Pi=0x1psP7p^Hi2PBo5l!sG0-<+8fItOiP-oJ3
zR$!AhkR`E6{VF#l$AC0K6K57kY3O%?xUfLnJ-!pfl?6iY3{iD~15+I)jb{Zmaf2+0
zP4E$j2@FUhY~l_w3`l9{cY=7ZK-@jP6U37RLhqDGSBFXCS%FQwAd9JvFdiQlneYuZ
z@dg;>!Y|cMhei!=&-7z$R@Wi>Zz7u5tiUE6A&b#O7>~;iOkhA7(Rchnh5;!J{Z0^n7Kpn?
zBSGw??#}@L!V%9@;Lat!d8PBEc>~3~c#mRNQ6_1mdsQY8
z+o(9?L^uJ5az3wy7$cyIt|a`TQ<~)t0m$QCYKh`p!U%?
z>Iuu1$)Ky~0y^fjiI;MlBAm2M9hBNs0`0Bbrt+X2mD*GS?W5eL@}QlR+LVDdCcd&Z
z^^#-LHZnHFsSG{nwN-9Ygp;r
z^_F8(HyNAa%#OBcN98s}IBA=@E48Tv+E2Mn_Grhn1D0?@d?6Yp^IW3+=8WfB%DS-<5OrO
zCoM5ahtzC{xRB50q^^4o88u|MaIAA$a*|GIPt7v|y@2ZUwG$WI@fmi+K4j?b%iE89
zAe{=$0!!AEufBWh@x$ppSAI3BSkXggfK#Em&TL_s^UMRUr#cmzZ>sESan32Jy2SX&
zv$SRx_s%u^wcCYp5$QG+3$nNEyDzx8}V#mDBy0L$)J2&gl~M^m=XU2O%|%tu(p5
zUpZJoiP~A8K5PF8YeC0hQw5DDqqZ9={9-`ad~+|O6E<)BbD#Y3(zdK5wIXTX$LB#4
z??&eDe}1i7VXpblX>sk3lbcEEBVxNw>Xmrb@#M9=8~o-RN{Fy5
zY*EP%tev^?{TmfiH6slTE3+XRGODlCEpEPdsaC|Hz?*qB&j&j%)ymx{>}a=Idv-U+
z#UqMR!=K(F4!6dvoLqc!v+*ZSqLWj#ao4$PhX(H0ThR6#%J
zwS0Xm|7pogUjuu!`<4~WP1~O|9~Yc{uvO~xi8-A_uQ@x)Ubf%=VW?mJS&w(`eaB>$
z+yW7&8Uw5t^e7!hrhSqB5MO#yhMDq_8
zCG5&eDX4r_oS33E(a0fah->fw8;dhPYFp-OKd`+KuX;@*dYE=gpGoP4$K#?ecpL1x
zcz9#pfaV4*+;r``nN@GUxUidcPp`;d93Iw%UGwE_P57aWZ}g4dPlWrl>~;TW#Hb&a
zI_thk%grf|-{`gOU~J60erMtXR>X8@r=>Rj{AlYnBU(FD80B;cKKbT^8E54Ut>~yo
z$4T#9W?7`PdSzf*J9N>h#b=hx%T6${=`?8B&`!dpt)6-Izd3DdOw`^TBUg>-uu+eH
zux*y(X_dz_3-n&lw>U^RoI5RIQRa^|7n(jvx;%Zw(!&1JXZ=ev
z*{oenOvK0;I_9@ZUIbk-KUkaB`I>NX{B?cRypp8289gT7zch0DvVrZNlQQZB7rEWb39OZ8iR*t>lm0T@IIi<5>Waa)BCEaaDXzgiPl#w+tVs2wTJ74)d#f)^=v?I5JYf0<5l`{W5O0`+#|o3i
zQ8!G<{iNt-@o$GA&l{HK@LeXF#~C@Z=l?w7jH`CetL$Ubucb$npJ~=I)um`bCzti<
zq}o0sp@sQf^P0Q8O4Kxu@Uu3&s@>eNZu^{%)r)=;m=tVLJM*BE|K)`0)Q%@Ird`b5
zP~4I~FfC=q`YCt!4L%xvZGDF_H}j&d`&}0s=+3;;>uB%oL2=hE>Xmm7x$8O9Hlujq
zn8CNKmaQ_a@(#WJ-lX>}pV;m5H(eC%IpbQos@JKE9Zru!c%yt4g(f~4x^|Px!#>9r
zY!Ys{VR?1m!H+lTTc-Ty1_P;EraY7ATwAbu2k@DLNpP=@eT${}rJoP#&DB%$w5w58
z?X-#f(W9>))?3)>{>-b}Zm48E^3w74w~hGyh0b;-zH`oy4s`l&7msZ)V*b>USH1P1@v%fZctPuQUTmC21)dE&Y4dFbn)96v-g`>s~?mH<(
zIBpO=Q*2v!IqZz9UPx`%FVi2l>0Y=yfZy`jw32xx>!zN(u-w+<;_cnVk)LZr%ligx
z5||`8-FbNEx3uW(wGY>%Hp_q4_gQ32LUvsG!%bWN`23{xkqQU5aFywHKmEbUkGZw9
z>EkDQuC1SK?E7q0+k2+@N%L(s+*7yRyw`8u$=!2TYQ*}l=`?PTk5Lanyb_NvpZ@WL>+5#e;Pe-_^vmp?Jo)5wtf5Plid@K1-Tw|
zx|1~8Yb^UXx~5ln4-VG|wvCwwM`=?*1}u#U;25nT*Kjm|e1DYeVBw2qjz}vdX)x(WW(lY&^l-LP)HU@0EsY^PTaaMja;6LhYwi%5#ciz5_h!$|_r++gJ}mV?_L+2F>p)Z|u;(+Bc|@WXthTliv~*mQS_z6m$=8qhsR
z0jw1lurviTQUMz}7uM$c!S57@50MbB=UnoI6hZCjEj0KH$S}+-j4wJjcw~PKktX46
z2wNPJBm59%l2O}-Ap;kZj|m?SIwb6xP|syG*Jf^HpPs!KE)}A|A;@oCbp~j_Yj>KU=q^wCTS;sw
z`ui%q2H#g{!Fa#~ta?l6f;(XsRtML<;T2sje6gWRUF*XUzq90%FPq<#_Z%ATKbWFB
zP;^J?IE|uY0uK{f;?5Lt;`|6Xr>MD~F{Gzc+*#DIm6-dfza8rum(=O-+P^jHdM#`}
zXn4=1Ubyo7v;(U}xK1F9Kc~V95|C^n^z!NRn
zLD4yQ6*|pHQLQeH4I1QBAR$@KgkYK@mFBY2^kf!9C}JI4)s+SBMZY!{LBqSAU3@Hx(l4vj8HFSA`I9jM@Yd$Egbtam?EZ
zLYU@(5Vj{i{VDz@2Q&|kjZrY|83lLwNpKwikp!<O%yi7yMU;c$iWR16d3>-eN!plUIM#k6TezQRr;0m%kM1@APqdFwj(`Xt_Y^3K8p%
zHnE2YArozd<>RbO4`KjB={jS+Dm+(?2CeXaP++Za3ivJmkHQyF*`pmm{$)Tr=c2NI
zQ~1{M|E6NaF#q)O(GREqZG!iI4Cp`DMB_05{)BxB{U-||`tHv9G}5pS^#H%=1-?EO
zyeSSmXc$Na!8s9@8{%L(FN7Qn%yULJnBDY)w6srRzrntWuUL7(u?;LQxD#hM;`i8i
z_9i|+!Bqw1wS^cAG<u-qf*}UN(G%#tP-YNZdjKs2sGZ^G0hGa1
K836Pj82$$_f0zsa
literal 0
HcmV?d00001
diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj
index 1697db4f..0f4b1239 100644
--- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj
+++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj
@@ -417,6 +417,9 @@
+
+
+
@@ -7303,6 +7306,27 @@
WorkContactFile.aspx
+
+ ConTechnologyDisclosure.aspx
+ ASPXCodeBehind
+
+
+ ConTechnologyDisclosure.aspx
+
+
+ ConTechnologyDisclosureDataIn.aspx
+ ASPXCodeBehind
+
+
+ ConTechnologyDisclosureDataIn.aspx
+
+
+ ConTechnologyDisclosureEdit.aspx
+ ASPXCodeBehind
+
+
+ ConTechnologyDisclosureEdit.aspx
+
DataDistribution.aspx
ASPXCodeBehind
diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user
index 63ca13cc..9e91deff 100644
--- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user
+++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user
@@ -1,7 +1,7 @@
- Release|Any CPU
+ Debug|Any CPU
true
false
diff --git a/SGGL/FineUIPro.Web/Web.config b/SGGL/FineUIPro.Web/Web.config
index 963148f2..eafda425 100644
--- a/SGGL/FineUIPro.Web/Web.config
+++ b/SGGL/FineUIPro.Web/Web.config
@@ -12,7 +12,7 @@
-
+
diff --git a/SGGL/FineUIPro.Web/common/Menu_CQMS.xml b/SGGL/FineUIPro.Web/common/Menu_CQMS.xml
index d66d477e..de919474 100644
--- a/SGGL/FineUIPro.Web/common/Menu_CQMS.xml
+++ b/SGGL/FineUIPro.Web/common/Menu_CQMS.xml
@@ -22,6 +22,7 @@
+
diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs
index 027a6033..41f79a3a 100644
--- a/SGGL/Model/Model.cs
+++ b/SGGL/Model/Model.cs
@@ -509,6 +509,9 @@ namespace Model
partial void InsertCLGL_Supplier(CLGL_Supplier instance);
partial void UpdateCLGL_Supplier(CLGL_Supplier instance);
partial void DeleteCLGL_Supplier(CLGL_Supplier instance);
+ partial void InsertComprehensive_ConTechnologyDisclosure(Comprehensive_ConTechnologyDisclosure instance);
+ partial void UpdateComprehensive_ConTechnologyDisclosure(Comprehensive_ConTechnologyDisclosure instance);
+ partial void DeleteComprehensive_ConTechnologyDisclosure(Comprehensive_ConTechnologyDisclosure instance);
partial void InsertComprehensive_DataDistribution(Comprehensive_DataDistribution instance);
partial void UpdateComprehensive_DataDistribution(Comprehensive_DataDistribution instance);
partial void DeleteComprehensive_DataDistribution(Comprehensive_DataDistribution instance);
@@ -1457,6 +1460,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);
@@ -2015,6 +2021,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);
@@ -3963,6 +3972,14 @@ namespace Model
}
}
+ public System.Data.Linq.Table Comprehensive_ConTechnologyDisclosure
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table Comprehensive_DataDistribution
{
get
@@ -6499,6 +6516,14 @@ namespace Model
}
}
+ public System.Data.Linq.Table Manager_Month_ComplianceObligations
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table Manager_Month_ComplianceObligationsC
{
get
@@ -7987,6 +8012,14 @@ namespace Model
}
}
+ public System.Data.Linq.Table Report_CQMS_ProblemHandle
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table Report_CqmsTarget
{
get
@@ -18714,6 +18747,8 @@ namespace Model
private EntitySet _Base_DesignProfessional;
+ private EntitySet _Comprehensive_ConTechnologyDisclosure;
+
private EntitySet _Comprehensive_DataDistribution;
private EntitySet _Comprehensive_DataReceivingDoc;
@@ -18762,6 +18797,7 @@ namespace Model
{
this._Comprehensive_InspectionMachine = new EntitySet(new Action(this.attach_Comprehensive_InspectionMachine), new Action(this.detach_Comprehensive_InspectionMachine));
this._Base_DesignProfessional = new EntitySet(new Action(this.attach_Base_DesignProfessional), new Action(this.detach_Base_DesignProfessional));
+ this._Comprehensive_ConTechnologyDisclosure = new EntitySet(new Action(this.attach_Comprehensive_ConTechnologyDisclosure), new Action(this.detach_Comprehensive_ConTechnologyDisclosure));
this._Comprehensive_DataDistribution = new EntitySet(new Action(this.attach_Comprehensive_DataDistribution), new Action(this.detach_Comprehensive_DataDistribution));
this._Comprehensive_DataReceivingDoc = new EntitySet(new Action(this.attach_Comprehensive_DataReceivingDoc), new Action(this.detach_Comprehensive_DataReceivingDoc));
this._Comprehensive_DesignChangeOrder = new EntitySet(new Action(this.attach_Comprehensive_DesignChangeOrder), new Action(this.detach_Comprehensive_DesignChangeOrder));
@@ -18886,6 +18922,19 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_ConTechnologyDisclosure_Base_CNProfessional", Storage="_Comprehensive_ConTechnologyDisclosure", ThisKey="CNProfessionalId", OtherKey="CNProfessionalId", DeleteRule="NO ACTION")]
+ public EntitySet Comprehensive_ConTechnologyDisclosure
+ {
+ get
+ {
+ return this._Comprehensive_ConTechnologyDisclosure;
+ }
+ set
+ {
+ this._Comprehensive_ConTechnologyDisclosure.Assign(value);
+ }
+ }
+
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_DataDistribution_Base_CNProfessional", Storage="_Comprehensive_DataDistribution", ThisKey="CNProfessionalId", OtherKey="CNProfessionalId", DeleteRule="NO ACTION")]
public EntitySet Comprehensive_DataDistribution
{
@@ -19125,6 +19174,18 @@ namespace Model
entity.Base_CNProfessional = null;
}
+ private void attach_Comprehensive_ConTechnologyDisclosure(Comprehensive_ConTechnologyDisclosure entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_CNProfessional = this;
+ }
+
+ private void detach_Comprehensive_ConTechnologyDisclosure(Comprehensive_ConTechnologyDisclosure entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_CNProfessional = null;
+ }
+
private void attach_Comprehensive_DataDistribution(Comprehensive_DataDistribution entity)
{
this.SendPropertyChanging();
@@ -21552,8 +21613,6 @@ namespace Model
private string _CodeRule;
- private EntitySet _Doc_DocManage;
-
#region 可扩展性方法定义
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -21570,7 +21629,6 @@ namespace Model
public Base_DocType()
{
- this._Doc_DocManage = new EntitySet(new Action(this.attach_Doc_DocManage), new Action(this.detach_Doc_DocManage));
OnCreated();
}
@@ -21654,19 +21712,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;
@@ -21686,18 +21731,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")]
@@ -26083,6 +26116,8 @@ namespace Model
private EntitySet _InformationProject_ConstructionStandardIdentify;
+ private EntitySet _Comprehensive_ConTechnologyDisclosure;
+
private EntitySet _Comprehensive_DataDistribution;
private EntitySet _Comprehensive_DataReceiving;
@@ -26724,6 +26759,7 @@ namespace Model
this._Check_TechnicalContactList = new EntitySet(new Action(this.attach_Check_TechnicalContactList), new Action(this.detach_Check_TechnicalContactList));
this._Check_ViolationPerson = new EntitySet(new Action(this.attach_Check_ViolationPerson), new Action(this.detach_Check_ViolationPerson));
this._InformationProject_ConstructionStandardIdentify = new EntitySet(new Action(this.attach_InformationProject_ConstructionStandardIdentify), new Action(this.detach_InformationProject_ConstructionStandardIdentify));
+ this._Comprehensive_ConTechnologyDisclosure = new EntitySet(new Action(this.attach_Comprehensive_ConTechnologyDisclosure), new Action(this.detach_Comprehensive_ConTechnologyDisclosure));
this._Comprehensive_DataDistribution = new EntitySet(new Action(this.attach_Comprehensive_DataDistribution), new Action(this.detach_Comprehensive_DataDistribution));
this._Comprehensive_DataReceiving = new EntitySet(new Action(this.attach_Comprehensive_DataReceiving), new Action(this.detach_Comprehensive_DataReceiving));
this._Comprehensive_DataReceivingDoc = new EntitySet(new Action(this.attach_Comprehensive_DataReceivingDoc), new Action(this.detach_Comprehensive_DataReceivingDoc));
@@ -28441,6 +28477,19 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_ConTechnologyDisclosure_Base_Project", Storage="_Comprehensive_ConTechnologyDisclosure", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
+ public EntitySet Comprehensive_ConTechnologyDisclosure
+ {
+ get
+ {
+ return this._Comprehensive_ConTechnologyDisclosure;
+ }
+ set
+ {
+ this._Comprehensive_ConTechnologyDisclosure.Assign(value);
+ }
+ }
+
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_DataDistribution_Base_Project", Storage="_Comprehensive_DataDistribution", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet Comprehensive_DataDistribution
{
@@ -32290,6 +32339,18 @@ namespace Model
entity.Base_Project = null;
}
+ private void attach_Comprehensive_ConTechnologyDisclosure(Comprehensive_ConTechnologyDisclosure entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = this;
+ }
+
+ private void detach_Comprehensive_ConTechnologyDisclosure(Comprehensive_ConTechnologyDisclosure entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = null;
+ }
+
private void attach_Comprehensive_DataDistribution(Comprehensive_DataDistribution entity)
{
this.SendPropertyChanging();
@@ -39375,6 +39436,8 @@ namespace Model
private EntitySet _Check_ViolationPerson;
+ private EntitySet _Comprehensive_ConTechnologyDisclosure;
+
private EntitySet _Comprehensive_GeneralPlanApproval;
private EntitySet _Comprehensive_GeneralPlanApprovalItem;
@@ -39752,6 +39815,7 @@ namespace Model
this._Check_SupervisionNotice = new EntitySet(new Action(this.attach_Check_SupervisionNotice), new Action(this.detach_Check_SupervisionNotice));
this._Check_TechnicalContactList = new EntitySet(new Action(this.attach_Check_TechnicalContactList), new Action(this.detach_Check_TechnicalContactList));
this._Check_ViolationPerson = new EntitySet(new Action(this.attach_Check_ViolationPerson), new Action(this.detach_Check_ViolationPerson));
+ this._Comprehensive_ConTechnologyDisclosure = new EntitySet(new Action(this.attach_Comprehensive_ConTechnologyDisclosure), new Action(this.detach_Comprehensive_ConTechnologyDisclosure));
this._Comprehensive_GeneralPlanApproval = new EntitySet(new Action(this.attach_Comprehensive_GeneralPlanApproval), new Action(this.detach_Comprehensive_GeneralPlanApproval));
this._Comprehensive_GeneralPlanApprovalItem = new EntitySet(new Action(this.attach_Comprehensive_GeneralPlanApprovalItem), new Action(this.detach_Comprehensive_GeneralPlanApprovalItem));
this._Comprehensive_InspectionEquipment = new EntitySet(new Action(this.attach_Comprehensive_InspectionEquipment), new Action(this.detach_Comprehensive_InspectionEquipment));
@@ -40777,6 +40841,19 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_ConTechnologyDisclosure_Base_Unit", Storage="_Comprehensive_ConTechnologyDisclosure", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")]
+ public EntitySet Comprehensive_ConTechnologyDisclosure
+ {
+ get
+ {
+ return this._Comprehensive_ConTechnologyDisclosure;
+ }
+ set
+ {
+ this._Comprehensive_ConTechnologyDisclosure.Assign(value);
+ }
+ }
+
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_GeneralPlanApproval_Base_Unit", Storage="_Comprehensive_GeneralPlanApproval", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")]
public EntitySet Comprehensive_GeneralPlanApproval
{
@@ -43030,6 +43107,18 @@ namespace Model
entity.Base_Unit = null;
}
+ private void attach_Comprehensive_ConTechnologyDisclosure(Comprehensive_ConTechnologyDisclosure entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Unit = this;
+ }
+
+ private void detach_Comprehensive_ConTechnologyDisclosure(Comprehensive_ConTechnologyDisclosure entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Unit = null;
+ }
+
private void attach_Comprehensive_GeneralPlanApproval(Comprehensive_GeneralPlanApproval entity)
{
this.SendPropertyChanging();
@@ -87131,6 +87220,520 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Comprehensive_ConTechnologyDisclosure")]
+ public partial class Comprehensive_ConTechnologyDisclosure : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _ConTechnologyDisclosureId;
+
+ private string _ProjectId;
+
+ private string _CNProfessionalId;
+
+ private string _DisclosureCode;
+
+ private string _DisclosureName;
+
+ private string _UnitId;
+
+ private string _DisclosureMan;
+
+ private System.Nullable _DisclosureDate;
+
+ private string _UnitWorkId;
+
+ private string _AttendMan;
+
+ private string _CompileMan;
+
+ private System.Nullable _CompileDate;
+
+ private string _RemarkCode;
+
+ private EntityRef _Base_CNProfessional;
+
+ private EntityRef _Base_Project;
+
+ private EntityRef _Base_Unit;
+
+ private EntityRef _Sys_User;
+
+ #region 可扩展性方法定义
+ partial void OnLoaded();
+ partial void OnValidate(System.Data.Linq.ChangeAction action);
+ partial void OnCreated();
+ partial void OnConTechnologyDisclosureIdChanging(string value);
+ partial void OnConTechnologyDisclosureIdChanged();
+ partial void OnProjectIdChanging(string value);
+ partial void OnProjectIdChanged();
+ partial void OnCNProfessionalIdChanging(string value);
+ partial void OnCNProfessionalIdChanged();
+ partial void OnDisclosureCodeChanging(string value);
+ partial void OnDisclosureCodeChanged();
+ partial void OnDisclosureNameChanging(string value);
+ partial void OnDisclosureNameChanged();
+ partial void OnUnitIdChanging(string value);
+ partial void OnUnitIdChanged();
+ partial void OnDisclosureManChanging(string value);
+ partial void OnDisclosureManChanged();
+ partial void OnDisclosureDateChanging(System.Nullable value);
+ partial void OnDisclosureDateChanged();
+ partial void OnUnitWorkIdChanging(string value);
+ partial void OnUnitWorkIdChanged();
+ partial void OnAttendManChanging(string value);
+ partial void OnAttendManChanged();
+ partial void OnCompileManChanging(string value);
+ partial void OnCompileManChanged();
+ partial void OnCompileDateChanging(System.Nullable value);
+ partial void OnCompileDateChanged();
+ partial void OnRemarkCodeChanging(string value);
+ partial void OnRemarkCodeChanged();
+ #endregion
+
+ public Comprehensive_ConTechnologyDisclosure()
+ {
+ this._Base_CNProfessional = default(EntityRef);
+ this._Base_Project = default(EntityRef);
+ this._Base_Unit = default(EntityRef);
+ this._Sys_User = default(EntityRef);
+ OnCreated();
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConTechnologyDisclosureId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
+ public string ConTechnologyDisclosureId
+ {
+ get
+ {
+ return this._ConTechnologyDisclosureId;
+ }
+ set
+ {
+ if ((this._ConTechnologyDisclosureId != value))
+ {
+ this.OnConTechnologyDisclosureIdChanging(value);
+ this.SendPropertyChanging();
+ this._ConTechnologyDisclosureId = value;
+ this.SendPropertyChanged("ConTechnologyDisclosureId");
+ this.OnConTechnologyDisclosureIdChanged();
+ }
+ }
+ }
+
+ [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="_CNProfessionalId", DbType="NVarChar(50)")]
+ public string CNProfessionalId
+ {
+ get
+ {
+ return this._CNProfessionalId;
+ }
+ set
+ {
+ if ((this._CNProfessionalId != value))
+ {
+ if (this._Base_CNProfessional.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnCNProfessionalIdChanging(value);
+ this.SendPropertyChanging();
+ this._CNProfessionalId = value;
+ this.SendPropertyChanged("CNProfessionalId");
+ this.OnCNProfessionalIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisclosureCode", DbType="NVarChar(50)")]
+ public string DisclosureCode
+ {
+ get
+ {
+ return this._DisclosureCode;
+ }
+ set
+ {
+ if ((this._DisclosureCode != value))
+ {
+ this.OnDisclosureCodeChanging(value);
+ this.SendPropertyChanging();
+ this._DisclosureCode = value;
+ this.SendPropertyChanged("DisclosureCode");
+ this.OnDisclosureCodeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisclosureName", DbType="NVarChar(50)")]
+ public string DisclosureName
+ {
+ get
+ {
+ return this._DisclosureName;
+ }
+ set
+ {
+ if ((this._DisclosureName != value))
+ {
+ this.OnDisclosureNameChanging(value);
+ this.SendPropertyChanging();
+ this._DisclosureName = value;
+ this.SendPropertyChanged("DisclosureName");
+ this.OnDisclosureNameChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")]
+ public string UnitId
+ {
+ get
+ {
+ return this._UnitId;
+ }
+ set
+ {
+ if ((this._UnitId != value))
+ {
+ if (this._Base_Unit.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnUnitIdChanging(value);
+ this.SendPropertyChanging();
+ this._UnitId = value;
+ this.SendPropertyChanged("UnitId");
+ this.OnUnitIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisclosureMan", DbType="NVarChar(50)")]
+ public string DisclosureMan
+ {
+ get
+ {
+ return this._DisclosureMan;
+ }
+ set
+ {
+ if ((this._DisclosureMan != value))
+ {
+ this.OnDisclosureManChanging(value);
+ this.SendPropertyChanging();
+ this._DisclosureMan = value;
+ this.SendPropertyChanged("DisclosureMan");
+ this.OnDisclosureManChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisclosureDate", DbType="DateTime")]
+ public System.Nullable DisclosureDate
+ {
+ get
+ {
+ return this._DisclosureDate;
+ }
+ set
+ {
+ if ((this._DisclosureDate != value))
+ {
+ this.OnDisclosureDateChanging(value);
+ this.SendPropertyChanging();
+ this._DisclosureDate = value;
+ this.SendPropertyChanged("DisclosureDate");
+ this.OnDisclosureDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitWorkId", DbType="NVarChar(500)")]
+ public string UnitWorkId
+ {
+ get
+ {
+ return this._UnitWorkId;
+ }
+ set
+ {
+ if ((this._UnitWorkId != value))
+ {
+ this.OnUnitWorkIdChanging(value);
+ this.SendPropertyChanging();
+ this._UnitWorkId = value;
+ this.SendPropertyChanged("UnitWorkId");
+ this.OnUnitWorkIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttendMan", DbType="NVarChar(100)")]
+ public string AttendMan
+ {
+ get
+ {
+ return this._AttendMan;
+ }
+ set
+ {
+ if ((this._AttendMan != value))
+ {
+ this.OnAttendManChanging(value);
+ this.SendPropertyChanging();
+ this._AttendMan = value;
+ this.SendPropertyChanged("AttendMan");
+ this.OnAttendManChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
+ public string CompileMan
+ {
+ get
+ {
+ return this._CompileMan;
+ }
+ set
+ {
+ if ((this._CompileMan != value))
+ {
+ if (this._Sys_User.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnCompileManChanging(value);
+ this.SendPropertyChanging();
+ this._CompileMan = value;
+ this.SendPropertyChanged("CompileMan");
+ this.OnCompileManChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")]
+ public System.Nullable CompileDate
+ {
+ get
+ {
+ return this._CompileDate;
+ }
+ set
+ {
+ if ((this._CompileDate != value))
+ {
+ this.OnCompileDateChanging(value);
+ this.SendPropertyChanging();
+ this._CompileDate = value;
+ this.SendPropertyChanged("CompileDate");
+ this.OnCompileDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RemarkCode", DbType="NVarChar(50)")]
+ public string RemarkCode
+ {
+ get
+ {
+ return this._RemarkCode;
+ }
+ set
+ {
+ if ((this._RemarkCode != value))
+ {
+ this.OnRemarkCodeChanging(value);
+ this.SendPropertyChanging();
+ this._RemarkCode = value;
+ this.SendPropertyChanged("RemarkCode");
+ this.OnRemarkCodeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_ConTechnologyDisclosure_Base_CNProfessional", Storage="_Base_CNProfessional", ThisKey="CNProfessionalId", OtherKey="CNProfessionalId", IsForeignKey=true)]
+ public Base_CNProfessional Base_CNProfessional
+ {
+ get
+ {
+ return this._Base_CNProfessional.Entity;
+ }
+ set
+ {
+ Base_CNProfessional previousValue = this._Base_CNProfessional.Entity;
+ if (((previousValue != value)
+ || (this._Base_CNProfessional.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Base_CNProfessional.Entity = null;
+ previousValue.Comprehensive_ConTechnologyDisclosure.Remove(this);
+ }
+ this._Base_CNProfessional.Entity = value;
+ if ((value != null))
+ {
+ value.Comprehensive_ConTechnologyDisclosure.Add(this);
+ this._CNProfessionalId = value.CNProfessionalId;
+ }
+ else
+ {
+ this._CNProfessionalId = default(string);
+ }
+ this.SendPropertyChanged("Base_CNProfessional");
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_ConTechnologyDisclosure_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
+ public Base_Project Base_Project
+ {
+ get
+ {
+ return this._Base_Project.Entity;
+ }
+ set
+ {
+ Base_Project previousValue = this._Base_Project.Entity;
+ if (((previousValue != value)
+ || (this._Base_Project.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Base_Project.Entity = null;
+ previousValue.Comprehensive_ConTechnologyDisclosure.Remove(this);
+ }
+ this._Base_Project.Entity = value;
+ if ((value != null))
+ {
+ value.Comprehensive_ConTechnologyDisclosure.Add(this);
+ this._ProjectId = value.ProjectId;
+ }
+ else
+ {
+ this._ProjectId = default(string);
+ }
+ this.SendPropertyChanged("Base_Project");
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_ConTechnologyDisclosure_Base_Unit", Storage="_Base_Unit", ThisKey="UnitId", OtherKey="UnitId", IsForeignKey=true)]
+ public Base_Unit Base_Unit
+ {
+ get
+ {
+ return this._Base_Unit.Entity;
+ }
+ set
+ {
+ Base_Unit previousValue = this._Base_Unit.Entity;
+ if (((previousValue != value)
+ || (this._Base_Unit.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Base_Unit.Entity = null;
+ previousValue.Comprehensive_ConTechnologyDisclosure.Remove(this);
+ }
+ this._Base_Unit.Entity = value;
+ if ((value != null))
+ {
+ value.Comprehensive_ConTechnologyDisclosure.Add(this);
+ this._UnitId = value.UnitId;
+ }
+ else
+ {
+ this._UnitId = default(string);
+ }
+ this.SendPropertyChanged("Base_Unit");
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_ConTechnologyDisclosure_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", 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.Comprehensive_ConTechnologyDisclosure.Remove(this);
+ }
+ this._Sys_User.Entity = value;
+ if ((value != null))
+ {
+ value.Comprehensive_ConTechnologyDisclosure.Add(this);
+ this._CompileMan = value.UserId;
+ }
+ else
+ {
+ this._CompileMan = default(string);
+ }
+ this.SendPropertyChanged("Sys_User");
+ }
+ }
+ }
+
+ 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.Comprehensive_DataDistribution")]
public partial class Comprehensive_DataDistribution : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -97626,10 +98229,10 @@ namespace Model
private string _AuditMan;
- private string _Problem;
-
private string _Measure;
+ private string _Problem;
+
private string _RemarkCode;
private EntityRef _Sys_User;
@@ -97678,10 +98281,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();
partial void OnRemarkCodeChanging(string value);
partial void OnRemarkCodeChanged();
#endregion
@@ -98051,27 +98654,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
@@ -98091,6 +98674,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.ColumnAttribute(Storage="_RemarkCode", DbType="NVarChar(50)")]
public string RemarkCode
{
@@ -120449,8 +121052,6 @@ namespace Model
private EntityRef _Base_CNProfessional;
- private EntityRef _Base_DocType;
-
private EntityRef _Base_Project;
private EntityRef _Base_Unit;
@@ -120502,7 +121103,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);
@@ -120581,10 +121181,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;
@@ -120904,40 +121500,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
{
@@ -121108,8 +121670,6 @@ namespace Model
private EntityRef _Doc_DocManage;
- private EntityRef _Sys_User;
-
#region 可扩展性方法定义
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -121133,7 +121693,6 @@ namespace Model
public Doc_DocManageApprove()
{
this._Doc_DocManage = default(EntityRef);
- this._Sys_User = default(EntityRef);
OnCreated();
}
@@ -121181,7 +121740,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
@@ -121192,10 +121751,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;
@@ -121319,40 +121874,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;
@@ -235140,6 +235661,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
{
@@ -241339,6 +242083,8 @@ namespace Model
private EntitySet _Manager_Month_CheckC;
+ private EntitySet _Manager_Month_ComplianceObligations;
+
private EntitySet _Manager_Month_ComplianceObligationsC;
private EntitySet _Manager_Month_CostInvestmentPlanC;
@@ -241611,6 +242357,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));
@@ -243791,6 +244538,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
{
@@ -244372,6 +245132,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();
@@ -272716,7 +273488,7 @@ namespace Model
private System.Nullable _ProblemType;
- private string _SubInspectId;
+ private string _QuestionTechnologyId;
private string _TermItemId;
@@ -272730,18 +273502,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);
@@ -272758,8 +273532,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);
@@ -272772,18 +273546,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()
@@ -272911,22 +273687,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();
}
}
}
@@ -273051,26 +273827,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
{
@@ -273091,26 +273847,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
{
@@ -273171,6 +273907,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;
@@ -273212,14 +274008,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);
@@ -273238,14 +274034,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()
@@ -273393,26 +274189,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
{
@@ -273473,6 +274249,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;
@@ -274405,7 +275201,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
@@ -274528,6 +275324,12 @@ namespace Model
private string _InspectResult;
+ private System.Nullable _InspectTime;
+
+ private string _AddUser;
+
+ private System.Nullable _AddTime;
+
private string _Subcontractor;
private string _Contractor;
@@ -274536,6 +275338,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;
@@ -274546,9 +275354,7 @@ namespace Model
private System.Nullable _OwnerIsAllPass;
- private System.Nullable _WorkPackType;
-
- private string _PropertyTechnologyId;
+ private System.Nullable _WanderIsComplete;
private System.Nullable _SubcontractorAllPassData;
@@ -274558,35 +275364,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();
@@ -274608,6 +275404,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);
@@ -274616,6 +275418,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);
@@ -274626,10 +275434,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);
@@ -274638,36 +275444,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