diff --git a/CreateModel.bat b/CreateModel.bat
index 3c459ce..8b5f697 100644
--- a/CreateModel.bat
+++ b/CreateModel.bat
@@ -27,7 +27,7 @@ REM --------------
@echo.
@call "%VS100COMNTOOLS%"vsvars32.bat
-SqlMetal /views /server:.\SQL2019 /database:HJGLDB_DS /code:%Model_ROOT%\Model.cs /namespace:Model
+SqlMetal /views /server:.\SQL2022 /database:HJGLDB_DS /code:%Model_ROOT%\Model.cs /namespace:Model
@ECHO 完成
pause
diff --git a/DataBase/鐗堟湰鏃ュ織/HJGLDB_DS_2025-12-09_bwj.sql b/DataBase/鐗堟湰鏃ュ織/HJGLDB_DS_2025-12-09_bwj.sql
new file mode 100644
index 0000000..6ff3adc
--- /dev/null
+++ b/DataBase/鐗堟湰鏃ュ織/HJGLDB_DS_2025-12-09_bwj.sql
@@ -0,0 +1,90 @@
+
+insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule)
+values('2A84FA58-8B20-48ED-A621-3EC98CF4AD28','交工资料','',250,'0','3')
+insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule)
+values('A4B2E5A9-96A8-460F-885A-BE5FF9B5019E','工程施工开工报告','JGZL/CommencementReport.aspx',10,'2A84FA58-8B20-48ED-A621-3EC98CF4AD28','3')
+go
+insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+values('E8A5E227-B90B-4F1D-BAC9-63992DF65E74','A4B2E5A9-96A8-460F-885A-BE5FF9B5019E','增加',1)
+insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+values('ABB85733-F474-4D68-BED0-F1D92FA0765F','A4B2E5A9-96A8-460F-885A-BE5FF9B5019E','修改',2)
+insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+values('2C370582-BE78-4297-8C29-30FCD49CEFF1','A4B2E5A9-96A8-460F-885A-BE5FF9B5019E','删除',3)
+insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+values('2AE25E38-D278-4697-8CC1-4095BCDEF6B5','A4B2E5A9-96A8-460F-885A-BE5FF9B5019E','保存',4)
+go
+
+CREATE TABLE [dbo].[JGZL_CommencementReport](
+ [CommencementReportId] [nvarchar](50) NOT NULL,
+ [ProjectId] [nvarchar](50) NULL,
+ [ContractNumber] [nvarchar](100) NULL,
+ [DesignUnit] [nvarchar](50) NULL,
+ [PlannedStartDate] [datetime] NULL,
+ [PlannedEndDate] [datetime] NULL,
+ [ProjectContent] [nvarchar](2000) NULL,
+ [Conditions] [nvarchar](1000) NULL,
+ [ReviewOpinion] [nvarchar](1000) NULL,
+ [QualitySupervisionOpinion] [nvarchar](1000) NULL,
+ [CompileMan] [nvarchar](50) NULL,
+ [CompileDate] [datetime] NULL,
+ CONSTRAINT [PK_JGZL_CommencementReport] PRIMARY KEY CLUSTERED
+(
+ [CommencementReportId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
+) ON [PRIMARY]
+GO
+
+ALTER TABLE [dbo].[JGZL_CommencementReport] WITH CHECK ADD CONSTRAINT [FK_JGZL_CommencementReport_Base_Project] FOREIGN KEY([ProjectId])
+REFERENCES [dbo].[Base_Project] ([ProjectId])
+GO
+
+ALTER TABLE [dbo].[JGZL_CommencementReport] CHECK CONSTRAINT [FK_JGZL_CommencementReport_Base_Project]
+GO
+
+ALTER TABLE [dbo].[JGZL_CommencementReport] WITH CHECK ADD CONSTRAINT [FK_JGZL_CommencementReport_Sys_User] FOREIGN KEY([CompileMan])
+REFERENCES [dbo].[Sys_User] ([UserId])
+GO
+
+ALTER TABLE [dbo].[JGZL_CommencementReport] CHECK CONSTRAINT [FK_JGZL_CommencementReport_Sys_User]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_CommencementReport', @level2type=N'COLUMN',@level2name=N'CommencementReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_CommencementReport', @level2type=N'COLUMN',@level2name=N'ProjectId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'施工合同编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_CommencementReport', @level2type=N'COLUMN',@level2name=N'ContractNumber'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'设计单位' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_CommencementReport', @level2type=N'COLUMN',@level2name=N'DesignUnit'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'计划开工日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_CommencementReport', @level2type=N'COLUMN',@level2name=N'PlannedStartDate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'计划交工日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_CommencementReport', @level2type=N'COLUMN',@level2name=N'PlannedEndDate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'工程内容' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_CommencementReport', @level2type=N'COLUMN',@level2name=N'ProjectContent'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'开工条件' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_CommencementReport', @level2type=N'COLUMN',@level2name=N'Conditions'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'审查意见' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_CommencementReport', @level2type=N'COLUMN',@level2name=N'ReviewOpinion'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'质量监督意见' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_CommencementReport', @level2type=N'COLUMN',@level2name=N'QualitySupervisionOpinion'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_CommencementReport', @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'JGZL_CommencementReport', @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'JGZL_CommencementReport'
+GO
+
+
diff --git a/HJGL_DS/BLL/BLL.csproj b/HJGL_DS/BLL/BLL.csproj
index dce8a56..d7fe600 100644
--- a/HJGL_DS/BLL/BLL.csproj
+++ b/HJGL_DS/BLL/BLL.csproj
@@ -244,6 +244,7 @@
+
diff --git a/HJGL_DS/BLL/Common/Const.cs b/HJGL_DS/BLL/Common/Const.cs
index f721b55..ccd3761 100644
--- a/HJGL_DS/BLL/Common/Const.cs
+++ b/HJGL_DS/BLL/Common/Const.cs
@@ -1749,6 +1749,13 @@ namespace BLL
#endregion
+ #region 浜ゅ伐璧勬枡鑿滃崟Id
+ ///
+ /// 宸ョ▼鏂藉伐寮宸ユ姤鍛
+ ///
+ public const string JGZL_CommencementReportMenuId = "A4B2E5A9-96A8-460F-885A-BE5FF9B5019E";
+ #endregion
+
#region 鎶ヨ〃瀵瑰簲ID
///
diff --git a/HJGL_DS/BLL/JGZL/CommencementReportService.cs b/HJGL_DS/BLL/JGZL/CommencementReportService.cs
new file mode 100644
index 0000000..c76c436
--- /dev/null
+++ b/HJGL_DS/BLL/JGZL/CommencementReportService.cs
@@ -0,0 +1,86 @@
+锘縰sing Model;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace BLL
+{
+ ///
+ /// 宸ョ▼鏂藉伐寮宸ユ姤鍛
+ ///
+ public class CommencementReportService
+ {
+ ///
+ /// 鏍规嵁涓婚敭鑾峰彇宸ョ▼鏂藉伐寮宸ユ姤鍛
+ ///
+ ///
+ ///
+ public static Model.JGZL_CommencementReport GetCommencementReportById(string commencementReportId)
+ {
+ return Funs.DB.JGZL_CommencementReport.FirstOrDefault(e => e.CommencementReportId == commencementReportId);
+ }
+
+ ///
+ /// 娣诲姞宸ョ▼鏂藉伐寮宸ユ姤鍛
+ ///
+ ///
+ public static void AddCommencementReport(Model.JGZL_CommencementReport commencementReport)
+ {
+ SGGLDB db = Funs.DB;
+ Model.JGZL_CommencementReport newCommencementReport = new Model.JGZL_CommencementReport();
+ newCommencementReport.CommencementReportId = commencementReport.CommencementReportId;
+ newCommencementReport.ProjectId = commencementReport.ProjectId;
+ newCommencementReport.ContractNumber = commencementReport.ContractNumber;
+ newCommencementReport.DesignUnit = commencementReport.DesignUnit;
+ newCommencementReport.PlannedStartDate = commencementReport.PlannedStartDate;
+ newCommencementReport.PlannedEndDate = commencementReport.PlannedEndDate;
+ newCommencementReport.ProjectContent = commencementReport.ProjectContent;
+ newCommencementReport.Conditions = commencementReport.Conditions;
+ newCommencementReport.ReviewOpinion = commencementReport.ReviewOpinion;
+ newCommencementReport.QualitySupervisionOpinion = commencementReport.QualitySupervisionOpinion;
+ newCommencementReport.CompileMan = commencementReport.CompileMan;
+ newCommencementReport.CompileDate = commencementReport.CompileDate;
+ db.JGZL_CommencementReport.InsertOnSubmit(newCommencementReport);
+ db.SubmitChanges();
+ }
+
+ ///
+ /// 淇敼宸ョ▼鏂藉伐鎶ュ憡
+ ///
+ ///
+ public static void UpdateCommencementReport(Model.JGZL_CommencementReport commencementReport)
+ {
+ SGGLDB db = Funs.DB;
+ Model.JGZL_CommencementReport newCommencementReport = db.JGZL_CommencementReport.FirstOrDefault(e => e.CommencementReportId == commencementReport.CommencementReportId);
+ if (newCommencementReport != null)
+ {
+ newCommencementReport.ContractNumber = commencementReport.ContractNumber;
+ newCommencementReport.DesignUnit = commencementReport.DesignUnit;
+ newCommencementReport.PlannedStartDate = commencementReport.PlannedStartDate;
+ newCommencementReport.PlannedEndDate = commencementReport.PlannedEndDate;
+ newCommencementReport.ProjectContent = commencementReport.ProjectContent;
+ newCommencementReport.Conditions = commencementReport.Conditions;
+ newCommencementReport.ReviewOpinion = commencementReport.ReviewOpinion;
+ newCommencementReport.QualitySupervisionOpinion = commencementReport.QualitySupervisionOpinion;
+ db.SubmitChanges();
+ }
+ }
+
+ ///
+ /// 鏍规嵁涓婚敭鍒犻櫎宸ョ▼鏂藉伐寮宸ユ姤鍛
+ ///
+ ///
+ public static void DeleteCommencementReportById(string commencementReportId)
+ {
+ SGGLDB db = Funs.DB;
+ Model.JGZL_CommencementReport commencementReport = db.JGZL_CommencementReport.FirstOrDefault(e => e.CommencementReportId == commencementReportId);
+ if (commencementReport != null)
+ {
+ db.JGZL_CommencementReport.DeleteOnSubmit(commencementReport);
+ db.SubmitChanges();
+ }
+ }
+ }
+}
diff --git a/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/宸ョ▼鏂藉伐寮宸ユ姤鍛.frx b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/宸ョ▼鏂藉伐寮宸ユ姤鍛.frx
new file mode 100644
index 0000000..c32eae1
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/宸ョ▼鏂藉伐寮宸ユ姤鍛.frx
@@ -0,0 +1,125 @@
+锘
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj
index a3d9ce2..9c2650d 100644
--- a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj
+++ b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj
@@ -1239,6 +1239,8 @@
+
+
@@ -6504,6 +6506,20 @@
WeldInspectionCheckRecordItem.aspx
+
+ CommencementReport.aspx
+ ASPXCodeBehind
+
+
+ CommencementReport.aspx
+
+
+ CommencementReportEdit.aspx
+ ASPXCodeBehind
+
+
+ CommencementReportEdit.aspx
+
Login.aspx
ASPXCodeBehind
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/CommencementReport.aspx b/HJGL_DS/FineUIPro.Web/JGZL/CommencementReport.aspx
new file mode 100644
index 0000000..d7bc350
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/CommencementReport.aspx
@@ -0,0 +1,124 @@
+锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CommencementReport.aspx.cs" Inherits="FineUIPro.Web.JGZL.CommencementReport" %>
+
+
+
+
+
+
+ 宸ョ▼鏂藉伐寮宸ユ姤鍛
+
+
+
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/CommencementReport.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/CommencementReport.aspx.cs
new file mode 100644
index 0000000..bdc9b77
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/CommencementReport.aspx.cs
@@ -0,0 +1,388 @@
+锘縰sing BLL;
+using Newtonsoft.Json.Linq;
+using System;
+using System.Collections.Generic;
+using System.Data.SqlClient;
+using System.Data;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.IO;
+using Org.BouncyCastle.Bcpg.OpenPgp;
+
+namespace FineUIPro.Web.JGZL
+{
+ public partial class CommencementReport : PageBase
+ {
+ #region 鍔犺浇椤甸潰
+ ///
+ /// 鍔犺浇椤甸潰
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
+
+ this.drpProjectId.DataTextField = "ProjectCode";
+ this.drpProjectId.DataValueField = "ProjectId";
+ this.drpProjectId.DataSource = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
+ this.drpProjectId.DataBind();
+ Funs.FineUIPleaseSelect(this.drpProjectId);
+
+ this.InitTreeMenu();//鍔犺浇鏍
+ }
+ }
+ #endregion
+
+ #region 鍔犺浇鏍戦」鐩
+ ///
+ /// 鍔犺浇鏍
+ ///
+ private void InitTreeMenu()
+ {
+ this.tvControlItem.Nodes.Clear();
+ TreeNode rootNode = new TreeNode();
+ rootNode.Text = "椤圭洰";
+ rootNode.ToolTip = "椤圭洰";
+ rootNode.NodeID = "0";
+ rootNode.Expanded = true;
+ this.tvControlItem.Nodes.Add(rootNode);
+
+ List projects = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
+ if (this.drpProjectId.SelectedValue != BLL.Const._Null)
+ {
+ projects = projects.Where(e => e.ProjectId == this.drpProjectId.SelectedValue).ToList();
+ }
+ foreach (var item in projects)
+ {
+ TreeNode rootProjectNode = new TreeNode();//瀹氫箟鏍硅妭鐐
+ rootProjectNode.Text = item.ProjectCode;
+ rootProjectNode.NodeID = item.ProjectId;
+ rootProjectNode.EnableClickEvent = true;
+ rootProjectNode.Expanded = true;
+ rootProjectNode.ToolTip = item.ProjectName;
+ rootProjectNode.CommandName = "椤圭洰鍚嶇О";
+ rootNode.Nodes.Add(rootProjectNode);
+ }
+ }
+ #endregion
+
+ #region 鐐瑰嚮TreeView
+ ///
+ /// 鐐瑰嚮TreeView
+ ///
+ ///
+ ///
+ protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e)
+ {
+ if (this.tvControlItem.SelectedNodeID != "0")
+ {
+ this.BindGrid();
+ }
+ }
+ #endregion
+
+ #region 鏁版嵁缁戝畾
+ ///
+ /// 鏁版嵁缁戝畾
+ ///
+ private void BindGrid()
+ {
+ //string projectIds = BLL.Base_ProjectService.GetStrOnProjectIds(this.CurrUser.UserId, "1");
+ string strSql = @"SELECT * from JGZL_CommencementReport where 1=1";
+ List listStr = new List();
+ if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
+ {
+ strSql += " AND ProjectId = @ProjectId";
+ listStr.Add(new SqlParameter("@ProjectId", this.tvControlItem.SelectedNodeID));
+ }
+ //else
+ //{
+ // strSql += " AND CHARINDEX(ProjectId,@ProjectId)>0 ";
+ // listStr.Add(new SqlParameter("@ProjectId", projectIds));
+ //}
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
+ // 2.鑾峰彇褰撳墠鍒嗛〉鏁版嵁
+ Grid1.RecordCount = tb.Rows.Count;
+ //tb = GetFilteredTable(Grid1.FilteredData, tb);
+ var table = this.GetPagedDataTable(Grid1, tb);
+ Grid1.DataSource = table;
+ Grid1.DataBind();
+ }
+ #endregion
+
+ #region 鍒嗛〉鎺掑簭
+ #region 椤电储寮曟敼鍙樹簨浠
+ ///
+ /// 椤电储寮曟敼鍙樹簨浠
+ ///
+ ///
+ ///
+ protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 鎺掑簭
+ ///
+ /// 鎺掑簭
+ ///
+ ///
+ ///
+ protected void Grid1_Sort(object sender, GridSortEventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 鍒嗛〉閫夋嫨涓嬫媺鏀瑰彉浜嬩欢
+ ///
+ /// 鍒嗛〉閫夋嫨涓嬫媺鏀瑰彉浜嬩欢
+ ///
+ ///
+ ///
+ protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
+ BindGrid();
+ }
+ #endregion
+ #endregion
+
+ #region 鏌ヨ
+ ///
+ ///鏌ヨ
+ ///
+ ///
+ ///
+ protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ this.InitTreeMenu();
+ }
+
+ ///
+ /// 鏌ヨ
+ ///
+ ///
+ ///
+ protected void TextBox_TextChanged(object sender, EventArgs e)
+ {
+ this.BindGrid();
+ }
+ #endregion
+
+ #region 鎵撳嵃
+ ///
+ /// 鎵撳嵃
+ ///
+ ///
+ ///
+ protected void btnPrint_Click(object sender, EventArgs e)
+ {
+ string projectId = this.tvControlItem.SelectedNodeID;
+
+ if (projectId != null)
+ {
+ if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
+ {
+ string initTemplatePath = "";
+ string rootPath = Server.MapPath("~/");
+ BLL.Common.FastReportService.ResetData();
+
+ var report = BLL.CommencementReportService.GetCommencementReportById(this.Grid1.SelectedRowID);
+ if (report != null)
+ {
+ Dictionary keyValuePairs = new Dictionary();
+ keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
+ keyValuePairs.Add("ContractNumber", report.ContractNumber);
+ keyValuePairs.Add("DesignUnit", report.DesignUnit);
+ keyValuePairs.Add("PlannedStartDate", report.PlannedStartDate.HasValue ? string.Format("{0:yyyy骞碝M鏈坉d鏃",report.PlannedStartDate) : "");
+ keyValuePairs.Add("PlannedEndDate", report.PlannedEndDate.HasValue ? string.Format("{0:yyyy骞碝M鏈坉d鏃",report.PlannedEndDate) : "");
+ keyValuePairs.Add("ProjectContent", report.ProjectContent);
+ keyValuePairs.Add("Conditions", report.Conditions);
+ keyValuePairs.Add("ReviewOpinion", report.ReviewOpinion);
+ keyValuePairs.Add("QualitySupervisionOpinion", report.QualitySupervisionOpinion);
+ BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
+ }
+ initTemplatePath = "File\\Fastreport\\JGZL\\宸ョ▼鏂藉伐寮宸ユ姤鍛.frx";
+ if (File.Exists(rootPath + initTemplatePath))
+ {
+ PageContext.RegisterStartupScript(WindowPrint.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
+ }
+ }
+ else
+ {
+ Alert.ShowInTop("璇烽夋嫨涓鏉¤褰曪紒", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ else
+ {
+ Alert.ShowInTop("璇烽夋嫨椤圭洰锛", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ #endregion
+
+ #region 缁存姢
+ ///
+ /// 澧炲姞
+ ///
+ ///
+ ///
+ protected void btnAdd_Click(object sender, EventArgs e)
+ {
+ if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
+ {
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("CommencementReportEdit.aspx?projectId={0}", this.tvControlItem.SelectedNodeID, "鏂板 - ")));
+ }
+ else
+ {
+ Alert.ShowInTop("璇烽夋嫨椤圭洰锛", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+
+ ///
+ /// 鍙屽嚮缂栬緫
+ ///
+ ///
+ ///
+ protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
+ {
+ if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_CommencementReportMenuId, BLL.Const.BtnModify))
+ {
+ if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
+ {
+ if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
+ {
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("CommencementReportEdit.aspx?commencementReportId={0}", this.Grid1.SelectedRowID, "缂栬緫 - ")));
+ }
+ else
+ {
+ Alert.ShowInTop("璇烽夋嫨涓鏉¤褰曪紒", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ else
+ {
+ Alert.ShowInTop("璇烽夋嫨椤圭洰锛", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ else
+ {
+ ShowNotify("鎮ㄦ病鏈夎繖涓潈闄愶紝璇蜂笌绠$悊鍛樿仈绯伙紒", MessageBoxIcon.Warning);
+ }
+ }
+
+ ///
+ /// 鍙抽敭缂栬緫
+ ///
+ ///
+ ///
+ protected void btnMenuEdit_Click(object sender, EventArgs e)
+ {
+ if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_CommencementReportMenuId, BLL.Const.BtnModify))
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("璇烽夋嫨涓鏉¤褰曪紒", MessageBoxIcon.Warning);
+ return;
+ }
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("CommencementReportEdit.aspx?commencementReportId={0}", Grid1.SelectedRowID, "缁存姢 - ")));
+ }
+ else
+ {
+ Alert.ShowInTop("鎮ㄦ病鏈夎繖涓潈闄愶紝璇蜂笌绠$悊鍛樿仈绯伙紒", MessageBoxIcon.Warning);
+ }
+ }
+
+ ///
+ /// 鍙抽敭鍒犻櫎
+ ///
+ ///
+ ///
+ protected void btnMenuDelete_Click(object sender, EventArgs e)
+ {
+ if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.JGZL_CommencementReportMenuId, Const.BtnDelete))
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("璇烽夋嫨涓鏉¤褰曪紒", MessageBoxIcon.Warning);
+ return;
+ }
+
+ bool isShow = true;
+ if (Grid1.SelectedRowIndexArray.Length > 1)
+ {
+ isShow = false;
+ }
+ bool isDelete = false;
+ foreach (int rowIndex in Grid1.SelectedRowIndexArray)
+ {
+ string rowID = Grid1.DataKeys[rowIndex][0].ToString();
+ if (judgementDelete(rowID, isShow))
+ {
+ isDelete = true;
+ BLL.CommencementReportService.DeleteCommencementReportById(rowID);
+ BLL.Sys_LogService.AddLog(BLL.Const.System_3, this.CurrUser.LoginProjectId, this.CurrUser.UserId, "鍒犻櫎宸ョ▼鏂藉伐寮宸ユ姤鍛");
+ }
+ }
+ if (isDelete)
+ {
+ ShowNotify("鍒犻櫎鎴愬姛锛", MessageBoxIcon.Success);
+ }
+ this.BindGrid();
+ }
+ else
+ {
+ Alert.ShowInTop("鎮ㄦ病鏈夎繖涓潈闄愶紝璇蜂笌绠$悊鍛樿仈绯伙紒", MessageBoxIcon.Warning);
+ }
+ }
+
+ #region 鍒ゆ柇鏄惁鍙垹闄
+ ///
+ /// 鍒ゆ柇鏄惁鍙互鍒犻櫎
+ ///
+ ///
+ private bool judgementDelete(string id, bool isShow)
+ {
+ string content = string.Empty;
+
+ if (string.IsNullOrEmpty(content))
+ {
+ return true;
+ }
+ else
+ {
+ if (isShow)
+ {
+ Alert.ShowInTop(content, MessageBoxIcon.Error);
+ }
+ return false;
+ }
+ }
+ #endregion
+ #endregion
+
+ #region 鍏抽棴寮瑰嚭绐楀彛鍙婂埛鏂伴〉闈
+ ///
+ /// 鍏抽棴寮瑰嚭绐楀彛
+ ///
+ ///
+ ///
+ protected void Window1_Close(object sender, WindowCloseEventArgs e)
+ {
+ this.InitTreeMenu();//鍔犺浇鏍
+ this.BindGrid();
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/CommencementReport.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/JGZL/CommencementReport.aspx.designer.cs
new file mode 100644
index 0000000..f5097ed
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/CommencementReport.aspx.designer.cs
@@ -0,0 +1,206 @@
+锘//------------------------------------------------------------------------------
+// <鑷姩鐢熸垚>
+// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆
+//
+// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉
+// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆
+// 鑷姩鐢熸垚>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.JGZL
+{
+
+
+ public partial class CommencementReport
+ {
+
+ ///
+ /// form1 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// Panel1 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Panel Panel1;
+
+ ///
+ /// panelLeftRegion 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Panel panelLeftRegion;
+
+ ///
+ /// Toolbar1 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// drpProjectId 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.DropDownList drpProjectId;
+
+ ///
+ /// tvControlItem 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Tree tvControlItem;
+
+ ///
+ /// panelCenterRegion 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Panel panelCenterRegion;
+
+ ///
+ /// Toolbar2 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Toolbar Toolbar2;
+
+ ///
+ /// ToolbarFill1 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.ToolbarFill ToolbarFill1;
+
+ ///
+ /// btnAdd 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Button btnAdd;
+
+ ///
+ /// btnPrint 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Button btnPrint;
+
+ ///
+ /// Grid1 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Grid Grid1;
+
+ ///
+ /// ToolbarSeparator1 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
+
+ ///
+ /// ToolbarText1 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.ToolbarText ToolbarText1;
+
+ ///
+ /// ddlPageSize 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.DropDownList ddlPageSize;
+
+ ///
+ /// Window1 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Window Window1;
+
+ ///
+ /// WindowPrint 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Window WindowPrint;
+
+ ///
+ /// Menu1 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Menu Menu1;
+
+ ///
+ /// btnMenuEdit 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.MenuButton btnMenuEdit;
+
+ ///
+ /// btnMenuDelete 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.MenuButton btnMenuDelete;
+ }
+}
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/CommencementReportEdit.aspx b/HJGL_DS/FineUIPro.Web/JGZL/CommencementReportEdit.aspx
new file mode 100644
index 0000000..968fe2f
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/CommencementReportEdit.aspx
@@ -0,0 +1,63 @@
+锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CommencementReportEdit.aspx.cs" Inherits="FineUIPro.Web.JGZL.CommencementReportEdit" %>
+
+
+
+
+
+
+ 缂栬緫宸ョ▼鏂藉伐寮宸ユ姤鍛
+
+
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/CommencementReportEdit.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/CommencementReportEdit.aspx.cs
new file mode 100644
index 0000000..409b475
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/CommencementReportEdit.aspx.cs
@@ -0,0 +1,121 @@
+锘縰sing 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.JGZL
+{
+ public partial class CommencementReportEdit :PageBase
+ {
+ #region 瀹氫箟椤
+ ///
+ /// 涓婚敭
+ ///
+ private string CommencementReportId
+ {
+ get
+ {
+ return (string)ViewState["CommencementReportId"];
+ }
+ set
+ {
+ ViewState["CommencementReportId"] = value;
+ }
+ }
+
+ ///
+ /// 椤圭洰Id
+ ///
+ private string ProjectId
+ {
+ get
+ {
+ return (string)ViewState["ProjectId"];
+ }
+ set
+ {
+ ViewState["ProjectId"] = value;
+ }
+ }
+ #endregion
+
+ #region 鍔犺浇椤甸潰
+ ///
+ /// 鍔犺浇椤甸潰
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ this.ProjectId = Request.Params["projectId"];
+ this.CommencementReportId = Request.Params["commencementReportId"];
+ if (!string.IsNullOrEmpty(this.CommencementReportId))
+ {
+ var report = BLL.CommencementReportService.GetCommencementReportById(this.CommencementReportId);
+ if (report!=null)
+ {
+ this.txtContractNumber.Text = report.ContractNumber;
+ this.txtDesignUnit.Text = report.DesignUnit;
+ this.txtPlannedStartDate.Text = report.PlannedStartDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.PlannedStartDate) : "";
+ this.txtPlannedEndDate.Text = report.PlannedEndDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.PlannedEndDate) : "";
+ this.txtConditions.Text = report.Conditions;
+ this.txtProjectContent.Text = report.ProjectContent;
+ this.txtReviewOpinion.Text = report.ReviewOpinion;
+ this.txtQualitySupervisionOpinion.Text = report.QualitySupervisionOpinion;
+ }
+ }
+
+ }
+ }
+ #endregion
+
+ #region 鎻愪氦鎸夐挳
+ ///
+ /// 鎻愪氦鎸夐挳
+ ///
+ ///
+ ///
+ protected void btnSave_Click(object sender, EventArgs e)
+ {
+ if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.JGZL_CommencementReportMenuId, Const.BtnSave))
+ {
+ Model.JGZL_CommencementReport newReport = new Model.JGZL_CommencementReport();
+ newReport.ContractNumber = this.txtContractNumber.Text.Trim();
+ newReport.DesignUnit = this.txtDesignUnit.Text.Trim();
+ newReport.PlannedStartDate = Funs.GetNewDateTime(this.txtPlannedStartDate.Text);
+ newReport.PlannedEndDate = Funs.GetNewDateTime(this.txtPlannedEndDate.Text);
+ newReport.ProjectContent = this.txtProjectContent.Text;
+ newReport.Conditions = this.txtConditions.Text;
+ newReport.ReviewOpinion =this.txtReviewOpinion.Text;
+ newReport.QualitySupervisionOpinion = this.txtQualitySupervisionOpinion.Text;
+ if (!string.IsNullOrEmpty(this.CommencementReportId))
+ {
+ newReport.CommencementReportId = this.CommencementReportId;
+ BLL.CommencementReportService.UpdateCommencementReport(newReport);
+ }
+ else
+ {
+ newReport.ProjectId = this.ProjectId;
+ newReport.CompileMan = this.CurrUser.UserId;
+ newReport.CompileDate = DateTime.Now;
+ newReport.CommencementReportId = SQLHelper.GetNewID(typeof(Model.JGZL_CommencementReport));
+ this.CommencementReportId = newReport.CommencementReportId;
+ BLL.CommencementReportService.AddCommencementReport(newReport);
+ }
+ ShowNotify("淇濆瓨鎴愬姛锛", MessageBoxIcon.Success);
+ PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
+ }
+ else
+ {
+ Alert.ShowInTop("鎮ㄦ病鏈夎繖涓潈闄愶紝璇蜂笌绠$悊鍛樿仈绯伙紒", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/CommencementReportEdit.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/JGZL/CommencementReportEdit.aspx.designer.cs
new file mode 100644
index 0000000..6257f8e
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/CommencementReportEdit.aspx.designer.cs
@@ -0,0 +1,143 @@
+锘//------------------------------------------------------------------------------
+// <鑷姩鐢熸垚>
+// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆
+//
+// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉
+// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆
+// 鑷姩鐢熸垚>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.JGZL
+{
+
+
+ public partial class CommencementReportEdit
+ {
+
+ ///
+ /// form1 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// SimpleForm1 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Form SimpleForm1;
+
+ ///
+ /// Toolbar1 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// ToolbarFill1 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.ToolbarFill ToolbarFill1;
+
+ ///
+ /// btnSave 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.Button btnSave;
+
+ ///
+ /// txtContractNumber 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.TextBox txtContractNumber;
+
+ ///
+ /// txtDesignUnit 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.TextBox txtDesignUnit;
+
+ ///
+ /// txtPlannedStartDate 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.DatePicker txtPlannedStartDate;
+
+ ///
+ /// txtPlannedEndDate 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.DatePicker txtPlannedEndDate;
+
+ ///
+ /// txtProjectContent 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.TextArea txtProjectContent;
+
+ ///
+ /// txtConditions 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.TextArea txtConditions;
+
+ ///
+ /// txtReviewOpinion 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.TextArea txtReviewOpinion;
+
+ ///
+ /// txtQualitySupervisionOpinion 鎺т欢銆
+ ///
+ ///
+ /// 鑷姩鐢熸垚鐨勫瓧娈点
+ /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
+ ///
+ protected global::FineUIPro.TextArea txtQualitySupervisionOpinion;
+ }
+}
diff --git a/HJGL_DS/FineUIPro.Web/Web.config b/HJGL_DS/FineUIPro.Web/Web.config
index e233efb..5c46a5b 100644
--- a/HJGL_DS/FineUIPro.Web/Web.config
+++ b/HJGL_DS/FineUIPro.Web/Web.config
@@ -11,7 +11,7 @@
-
+
diff --git a/HJGL_DS/Model/Model.cs b/HJGL_DS/Model/Model.cs
index d6a9378..00434ac 100644
--- a/HJGL_DS/Model/Model.cs
+++ b/HJGL_DS/Model/Model.cs
@@ -371,6 +371,9 @@ namespace Model
partial void InsertHJGL_WeldingProcedure_WeldRepairCard(HJGL_WeldingProcedure_WeldRepairCard instance);
partial void UpdateHJGL_WeldingProcedure_WeldRepairCard(HJGL_WeldingProcedure_WeldRepairCard instance);
partial void DeleteHJGL_WeldingProcedure_WeldRepairCard(HJGL_WeldingProcedure_WeldRepairCard instance);
+ partial void InsertJGZL_CommencementReport(JGZL_CommencementReport instance);
+ partial void UpdateJGZL_CommencementReport(JGZL_CommencementReport instance);
+ partial void DeleteJGZL_CommencementReport(JGZL_CommencementReport instance);
partial void InsertOAM_UesrQualified(OAM_UesrQualified instance);
partial void UpdateOAM_UesrQualified(OAM_UesrQualified instance);
partial void DeleteOAM_UesrQualified(OAM_UesrQualified instance);
@@ -1724,6 +1727,14 @@ namespace Model
}
}
+ public System.Data.Linq.Table JGZL_CommencementReport
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table OAM_UesrQualified
{
get
@@ -2316,6 +2327,14 @@ namespace Model
}
}
+ public System.Data.Linq.Table View_UnitPerformance
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table View_UsePosition
{
get
@@ -4289,6 +4308,8 @@ namespace Model
private EntitySet _HJGL_WeldingProcedure_WeldHotProcessCard;
+ private EntitySet _JGZL_CommencementReport;
+
private EntitySet _Project_Installation;
private EntitySet _Project_RoleButtonPower;
@@ -4413,6 +4434,7 @@ namespace Model
this._HJGL_WeldingProcedure_WeldingProcessCard = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_WeldingProcessCard), new Action(this.detach_HJGL_WeldingProcedure_WeldingProcessCard));
this._HJGL_WeldingProcedure_WeldRepairCard = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_WeldRepairCard), new Action(this.detach_HJGL_WeldingProcedure_WeldRepairCard));
this._HJGL_WeldingProcedure_WeldHotProcessCard = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_WeldHotProcessCard), new Action(this.detach_HJGL_WeldingProcedure_WeldHotProcessCard));
+ this._JGZL_CommencementReport = new EntitySet(new Action(this.attach_JGZL_CommencementReport), new Action(this.detach_JGZL_CommencementReport));
this._Project_Installation = new EntitySet(new Action(this.attach_Project_Installation), new Action(this.detach_Project_Installation));
this._Project_RoleButtonPower = new EntitySet(new Action(this.attach_Project_RoleButtonPower), new Action(this.detach_Project_RoleButtonPower));
this._Project_RolePower = new EntitySet(new Action(this.attach_Project_RolePower), new Action(this.detach_Project_RolePower));
@@ -5480,6 +5502,19 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_CommencementReport_Base_Project", Storage="_JGZL_CommencementReport", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
+ public EntitySet JGZL_CommencementReport
+ {
+ get
+ {
+ return this._JGZL_CommencementReport;
+ }
+ set
+ {
+ this._JGZL_CommencementReport.Assign(value);
+ }
+ }
+
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_Installation_Base_Project", Storage="_Project_Installation", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet Project_Installation
{
@@ -6138,6 +6173,18 @@ namespace Model
entity.Base_Project = null;
}
+ private void attach_JGZL_CommencementReport(JGZL_CommencementReport entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = this;
+ }
+
+ private void detach_JGZL_CommencementReport(JGZL_CommencementReport entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = null;
+ }
+
private void attach_Project_Installation(Project_Installation entity)
{
this.SendPropertyChanging();
@@ -48158,7 +48205,7 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_TrustCode", DbType="VarChar(30)")]
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_TrustCode", DbType="NVarChar(100)")]
public string RT_TrustCode
{
get
@@ -79126,6 +79173,414 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JGZL_CommencementReport")]
+ public partial class JGZL_CommencementReport : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _CommencementReportId;
+
+ private string _ProjectId;
+
+ private string _ContractNumber;
+
+ private string _DesignUnit;
+
+ private System.Nullable _PlannedStartDate;
+
+ private System.Nullable _PlannedEndDate;
+
+ private string _ProjectContent;
+
+ private string _Conditions;
+
+ private string _ReviewOpinion;
+
+ private string _QualitySupervisionOpinion;
+
+ private string _CompileMan;
+
+ private System.Nullable _CompileDate;
+
+ private EntityRef _Base_Project;
+
+ private EntityRef _Sys_User;
+
+ #region 鍙墿灞曟ф柟娉曞畾涔
+ partial void OnLoaded();
+ partial void OnValidate(System.Data.Linq.ChangeAction action);
+ partial void OnCreated();
+ partial void OnCommencementReportIdChanging(string value);
+ partial void OnCommencementReportIdChanged();
+ partial void OnProjectIdChanging(string value);
+ partial void OnProjectIdChanged();
+ partial void OnContractNumberChanging(string value);
+ partial void OnContractNumberChanged();
+ partial void OnDesignUnitChanging(string value);
+ partial void OnDesignUnitChanged();
+ partial void OnPlannedStartDateChanging(System.Nullable value);
+ partial void OnPlannedStartDateChanged();
+ partial void OnPlannedEndDateChanging(System.Nullable value);
+ partial void OnPlannedEndDateChanged();
+ partial void OnProjectContentChanging(string value);
+ partial void OnProjectContentChanged();
+ partial void OnConditionsChanging(string value);
+ partial void OnConditionsChanged();
+ partial void OnReviewOpinionChanging(string value);
+ partial void OnReviewOpinionChanged();
+ partial void OnQualitySupervisionOpinionChanging(string value);
+ partial void OnQualitySupervisionOpinionChanged();
+ partial void OnCompileManChanging(string value);
+ partial void OnCompileManChanged();
+ partial void OnCompileDateChanging(System.Nullable value);
+ partial void OnCompileDateChanged();
+ #endregion
+
+ public JGZL_CommencementReport()
+ {
+ this._Base_Project = default(EntityRef);
+ this._Sys_User = default(EntityRef);
+ OnCreated();
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CommencementReportId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
+ public string CommencementReportId
+ {
+ get
+ {
+ return this._CommencementReportId;
+ }
+ set
+ {
+ if ((this._CommencementReportId != value))
+ {
+ this.OnCommencementReportIdChanging(value);
+ this.SendPropertyChanging();
+ this._CommencementReportId = value;
+ this.SendPropertyChanged("CommencementReportId");
+ this.OnCommencementReportIdChanged();
+ }
+ }
+ }
+
+ [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="_ContractNumber", DbType="NVarChar(100)")]
+ public string ContractNumber
+ {
+ get
+ {
+ return this._ContractNumber;
+ }
+ set
+ {
+ if ((this._ContractNumber != value))
+ {
+ this.OnContractNumberChanging(value);
+ this.SendPropertyChanging();
+ this._ContractNumber = value;
+ this.SendPropertyChanged("ContractNumber");
+ this.OnContractNumberChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignUnit", DbType="NVarChar(50)")]
+ public string DesignUnit
+ {
+ get
+ {
+ return this._DesignUnit;
+ }
+ set
+ {
+ if ((this._DesignUnit != value))
+ {
+ this.OnDesignUnitChanging(value);
+ this.SendPropertyChanging();
+ this._DesignUnit = value;
+ this.SendPropertyChanged("DesignUnit");
+ this.OnDesignUnitChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlannedStartDate", DbType="DateTime")]
+ public System.Nullable PlannedStartDate
+ {
+ get
+ {
+ return this._PlannedStartDate;
+ }
+ set
+ {
+ if ((this._PlannedStartDate != value))
+ {
+ this.OnPlannedStartDateChanging(value);
+ this.SendPropertyChanging();
+ this._PlannedStartDate = value;
+ this.SendPropertyChanged("PlannedStartDate");
+ this.OnPlannedStartDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlannedEndDate", DbType="DateTime")]
+ public System.Nullable PlannedEndDate
+ {
+ get
+ {
+ return this._PlannedEndDate;
+ }
+ set
+ {
+ if ((this._PlannedEndDate != value))
+ {
+ this.OnPlannedEndDateChanging(value);
+ this.SendPropertyChanging();
+ this._PlannedEndDate = value;
+ this.SendPropertyChanged("PlannedEndDate");
+ this.OnPlannedEndDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectContent", DbType="NVarChar(2000)")]
+ public string ProjectContent
+ {
+ get
+ {
+ return this._ProjectContent;
+ }
+ set
+ {
+ if ((this._ProjectContent != value))
+ {
+ this.OnProjectContentChanging(value);
+ this.SendPropertyChanging();
+ this._ProjectContent = value;
+ this.SendPropertyChanged("ProjectContent");
+ this.OnProjectContentChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Conditions", DbType="NVarChar(1000)")]
+ public string Conditions
+ {
+ get
+ {
+ return this._Conditions;
+ }
+ set
+ {
+ if ((this._Conditions != value))
+ {
+ this.OnConditionsChanging(value);
+ this.SendPropertyChanging();
+ this._Conditions = value;
+ this.SendPropertyChanged("Conditions");
+ this.OnConditionsChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReviewOpinion", DbType="NVarChar(1000)")]
+ public string ReviewOpinion
+ {
+ get
+ {
+ return this._ReviewOpinion;
+ }
+ set
+ {
+ if ((this._ReviewOpinion != value))
+ {
+ this.OnReviewOpinionChanging(value);
+ this.SendPropertyChanging();
+ this._ReviewOpinion = value;
+ this.SendPropertyChanged("ReviewOpinion");
+ this.OnReviewOpinionChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualitySupervisionOpinion", DbType="NVarChar(1000)")]
+ public string QualitySupervisionOpinion
+ {
+ get
+ {
+ return this._QualitySupervisionOpinion;
+ }
+ set
+ {
+ if ((this._QualitySupervisionOpinion != value))
+ {
+ this.OnQualitySupervisionOpinionChanging(value);
+ this.SendPropertyChanging();
+ this._QualitySupervisionOpinion = value;
+ this.SendPropertyChanged("QualitySupervisionOpinion");
+ this.OnQualitySupervisionOpinionChanged();
+ }
+ }
+ }
+
+ [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.AssociationAttribute(Name="FK_JGZL_CommencementReport_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.JGZL_CommencementReport.Remove(this);
+ }
+ this._Base_Project.Entity = value;
+ if ((value != null))
+ {
+ value.JGZL_CommencementReport.Add(this);
+ this._ProjectId = value.ProjectId;
+ }
+ else
+ {
+ this._ProjectId = default(string);
+ }
+ this.SendPropertyChanged("Base_Project");
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_CommencementReport_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.JGZL_CommencementReport.Remove(this);
+ }
+ this._Sys_User.Entity = value;
+ if ((value != null))
+ {
+ value.JGZL_CommencementReport.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.OAM_UesrQualified")]
public partial class OAM_UesrQualified : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -100575,6 +101030,8 @@ namespace Model
private EntitySet _HJGL_WeldingProcedure_WeldHotProcessCard;
+ private EntitySet _JGZL_CommencementReport;
+
private EntitySet _Project_User;
private EntitySet _Project_UserButtonPower;
@@ -100656,6 +101113,7 @@ namespace Model
this._HJGL_Sys_DataInTemp = new EntitySet(new Action(this.attach_HJGL_Sys_DataInTemp), new Action(this.detach_HJGL_Sys_DataInTemp));
this._HJGL_Sys_UserShowColumns = new EntitySet(new Action(this.attach_HJGL_Sys_UserShowColumns), new Action(this.detach_HJGL_Sys_UserShowColumns));
this._HJGL_WeldingProcedure_WeldHotProcessCard = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_WeldHotProcessCard), new Action(this.detach_HJGL_WeldingProcedure_WeldHotProcessCard));
+ this._JGZL_CommencementReport = new EntitySet(new Action(this.attach_JGZL_CommencementReport), new Action(this.detach_JGZL_CommencementReport));
this._Project_User = new EntitySet(new Action(this.attach_Project_User), new Action(this.detach_Project_User));
this._Project_UserButtonPower = new EntitySet(new Action(this.attach_Project_UserButtonPower), new Action(this.detach_Project_UserButtonPower));
this._Project_UserPower = new EntitySet(new Action(this.attach_Project_UserPower), new Action(this.detach_Project_UserPower));
@@ -101294,6 +101752,19 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_CommencementReport_Sys_User", Storage="_JGZL_CommencementReport", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
+ public EntitySet JGZL_CommencementReport
+ {
+ get
+ {
+ return this._JGZL_CommencementReport;
+ }
+ set
+ {
+ this._JGZL_CommencementReport.Assign(value);
+ }
+ }
+
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_User_Sys_User", Storage="_Project_User", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")]
public EntitySet Project_User
{
@@ -101661,6 +102132,18 @@ namespace Model
entity.Sys_User = null;
}
+ private void attach_JGZL_CommencementReport(JGZL_CommencementReport entity)
+ {
+ this.SendPropertyChanging();
+ entity.Sys_User = this;
+ }
+
+ private void detach_JGZL_CommencementReport(JGZL_CommencementReport entity)
+ {
+ this.SendPropertyChanging();
+ entity.Sys_User = null;
+ }
+
private void attach_Project_User(Project_User entity)
{
this.SendPropertyChanging();
@@ -105634,6 +106117,8 @@ namespace Model
private string _Welder;
+ private string _WED_Unit;
+
private string _STE_ID;
private string _DReportID;
@@ -105752,6 +106237,22 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Unit", DbType="NVarChar(50)")]
+ public string WED_Unit
+ {
+ get
+ {
+ return this._WED_Unit;
+ }
+ set
+ {
+ if ((this._WED_Unit != value))
+ {
+ this._WED_Unit = value;
+ }
+ }
+ }
+
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID", DbType="VarChar(50)")]
public string STE_ID
{
@@ -108678,6 +109179,357 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_UnitPerformance")]
+ public partial class View_UnitPerformance
+ {
+
+ private System.Nullable _Id;
+
+ private string _ProjectCode;
+
+ private string _WED_Unit;
+
+ private string _UnitCode;
+
+ private string _UnitName;
+
+ private System.Nullable _TotalSize;
+
+ private int _TotalJoint;
+
+ private int _JointNum1;
+
+ private System.Nullable _JointPassNum1;
+
+ private int _RepairJoint1;
+
+ private int _RepairJoint2;
+
+ private int _RepairJoint3;
+
+ private System.Nullable _JointPassRate;
+
+ private int _Totalfilm;
+
+ private System.Nullable _TotalPassfilm;
+
+ private int _RepairFilm1;
+
+ private int _RepairFilm2;
+
+ private int _RepairFilm3;
+
+ private System.Nullable _JointFilmPassRate;
+
+ public View_UnitPerformance()
+ {
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="UniqueIdentifier")]
+ public System.Nullable Id
+ {
+ get
+ {
+ return this._Id;
+ }
+ set
+ {
+ if ((this._Id != value))
+ {
+ this._Id = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectCode", DbType="VarChar(1) NOT NULL", CanBeNull=false)]
+ public string ProjectCode
+ {
+ get
+ {
+ return this._ProjectCode;
+ }
+ set
+ {
+ if ((this._ProjectCode != value))
+ {
+ this._ProjectCode = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Unit", DbType="NVarChar(50)")]
+ public string WED_Unit
+ {
+ get
+ {
+ return this._WED_Unit;
+ }
+ set
+ {
+ if ((this._WED_Unit != value))
+ {
+ this._WED_Unit = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitCode", DbType="NVarChar(20)")]
+ public string UnitCode
+ {
+ get
+ {
+ return this._UnitCode;
+ }
+ set
+ {
+ if ((this._UnitCode != value))
+ {
+ this._UnitCode = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(50)")]
+ public string UnitName
+ {
+ get
+ {
+ return this._UnitName;
+ }
+ set
+ {
+ if ((this._UnitName != value))
+ {
+ this._UnitName = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Name="totalSize", Storage="_TotalSize", DbType="Decimal(19,2)")]
+ public System.Nullable TotalSize
+ {
+ get
+ {
+ return this._TotalSize;
+ }
+ set
+ {
+ if ((this._TotalSize != value))
+ {
+ this._TotalSize = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Name="totalJoint", Storage="_TotalJoint", DbType="Int NOT NULL")]
+ public int TotalJoint
+ {
+ get
+ {
+ return this._TotalJoint;
+ }
+ set
+ {
+ if ((this._TotalJoint != value))
+ {
+ this._TotalJoint = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointNum1", DbType="Int NOT NULL")]
+ public int JointNum1
+ {
+ get
+ {
+ return this._JointNum1;
+ }
+ set
+ {
+ if ((this._JointNum1 != value))
+ {
+ this._JointNum1 = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointPassNum1", DbType="Int")]
+ public System.Nullable JointPassNum1
+ {
+ get
+ {
+ return this._JointPassNum1;
+ }
+ set
+ {
+ if ((this._JointPassNum1 != value))
+ {
+ this._JointPassNum1 = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairJoint1", DbType="Int NOT NULL")]
+ public int RepairJoint1
+ {
+ get
+ {
+ return this._RepairJoint1;
+ }
+ set
+ {
+ if ((this._RepairJoint1 != value))
+ {
+ this._RepairJoint1 = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairJoint2", DbType="Int NOT NULL")]
+ public int RepairJoint2
+ {
+ get
+ {
+ return this._RepairJoint2;
+ }
+ set
+ {
+ if ((this._RepairJoint2 != value))
+ {
+ this._RepairJoint2 = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairJoint3", DbType="Int NOT NULL")]
+ public int RepairJoint3
+ {
+ get
+ {
+ return this._RepairJoint3;
+ }
+ set
+ {
+ if ((this._RepairJoint3 != value))
+ {
+ this._RepairJoint3 = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointPassRate", DbType="Decimal(19,3)")]
+ public System.Nullable JointPassRate
+ {
+ get
+ {
+ return this._JointPassRate;
+ }
+ set
+ {
+ if ((this._JointPassRate != value))
+ {
+ this._JointPassRate = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Name="totalfilm", Storage="_Totalfilm", DbType="Int NOT NULL")]
+ public int Totalfilm
+ {
+ get
+ {
+ return this._Totalfilm;
+ }
+ set
+ {
+ if ((this._Totalfilm != value))
+ {
+ this._Totalfilm = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Name="totalPassfilm", Storage="_TotalPassfilm", DbType="Int")]
+ public System.Nullable TotalPassfilm
+ {
+ get
+ {
+ return this._TotalPassfilm;
+ }
+ set
+ {
+ if ((this._TotalPassfilm != value))
+ {
+ this._TotalPassfilm = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Name="repairFilm1", Storage="_RepairFilm1", DbType="Int NOT NULL")]
+ public int RepairFilm1
+ {
+ get
+ {
+ return this._RepairFilm1;
+ }
+ set
+ {
+ if ((this._RepairFilm1 != value))
+ {
+ this._RepairFilm1 = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Name="repairFilm2", Storage="_RepairFilm2", DbType="Int NOT NULL")]
+ public int RepairFilm2
+ {
+ get
+ {
+ return this._RepairFilm2;
+ }
+ set
+ {
+ if ((this._RepairFilm2 != value))
+ {
+ this._RepairFilm2 = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Name="repairFilm3", Storage="_RepairFilm3", DbType="Int NOT NULL")]
+ public int RepairFilm3
+ {
+ get
+ {
+ return this._RepairFilm3;
+ }
+ set
+ {
+ if ((this._RepairFilm3 != value))
+ {
+ this._RepairFilm3 = value;
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointFilmPassRate", DbType="Decimal(19,3)")]
+ public System.Nullable JointFilmPassRate
+ {
+ get
+ {
+ return this._JointFilmPassRate;
+ }
+ set
+ {
+ if ((this._JointFilmPassRate != value))
+ {
+ this._JointFilmPassRate = value;
+ }
+ }
+ }
+ }
+
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_UsePosition")]
public partial class View_UsePosition
{