diff --git a/DataBase/ConstInitData.sql b/DataBase/ConstInitData.sql index eb357dc8..9e03c871 100644 --- a/DataBase/ConstInitData.sql +++ b/DataBase/ConstInitData.sql @@ -572,6 +572,9 @@ GO INSERT INTO Sys_Const (ID,ConstValue,ConstText,SortIndex,GroupId) VALUES('85CF0BBF-A3F3-42DF-89DC-CE9A4886BCA1','Menu_Video','视频监控',11,'MenuType_P') GO +INSERT INTO Sys_Const (ID,ConstValue,ConstText,SortIndex,GroupId) +VALUES('4F835AC7-9FD8-443D-A5A6-F557AA5A2221','Menu_Transfer','移交管理',12,'MenuType_P') +GO --项目类型 INSERT INTO dbo.Sys_Const(ID, ConstValue, ConstText, SortIndex, GroupId) diff --git a/DataBase/鐗堟湰鏃ュ織/SGGLDB_WH_2024-01-29-gaofei.sql b/DataBase/鐗堟湰鏃ュ織/SGGLDB_WH_2024-01-29-gaofei.sql new file mode 100644 index 00000000..39437a4f --- /dev/null +++ b/DataBase/鐗堟湰鏃ュ織/SGGLDB_WH_2024-01-29-gaofei.sql @@ -0,0 +1,71 @@ +INSERT INTO Sys_Const (ID,ConstValue,ConstText,SortIndex,GroupId) +VALUES('4F835AC7-9FD8-443D-A5A6-F557AA5A2221','Menu_Transfer','移交管理',12,'MenuType_P') +GO + + insert into Sys_Menu( MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType ,IsOffice,IsEnd,IsUsed ) + values('D0850615-BF32-4CFA-84CA-EEA261676EA8','移交专业设置','BaseInfo/TransferMajor.aspx',180,'5196A6FD-4BF1-46B3-8D24-9A3CE5BB4760','Menu_SysSet',1,1,1) + GO + insert into Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) values('0465EA2B-2F37-4103-A717-4033894108E0','D0850615-BF32-4CFA-84CA-EEA261676EA8','增加',1) + insert into Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) values('EF58BDF7-F303-4633-8B83-DB4B151F8EAF','D0850615-BF32-4CFA-84CA-EEA261676EA8','修改',2) + insert into Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) values('FC1373E2-D942-4D0E-822F-CE2F16C5D42D','D0850615-BF32-4CFA-84CA-EEA261676EA8','删除',3) + insert into Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) values('65427D56-5490-42D7-8F00-EB3A59FAA6B0','D0850615-BF32-4CFA-84CA-EEA261676EA8','保存',4) + GO + + +CREATE TABLE [dbo].[Base_TransferMajor]( + [TransferMajorId] [nvarchar](50) NOT NULL, + [Discipline] [nvarchar](50) NULL, + [Major] [nvarchar](50) NULL, + [DisciplineCode] [nvarchar](50) NULL, + [Remark] [nvarchar](200) NULL, + CONSTRAINT [PK_BaseInfo_TransferMajor] PRIMARY KEY CLUSTERED +( + [TransferMajorId] 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 + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'移交专业表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_TransferMajor' +GO + + +INSERT INTO Base_TransferMajor +VALUES('7A0CD361-2BF9-466A-A586-3DBA49A7D4A1','Static Equipment','静设备','01',null) +GO +INSERT INTO Base_TransferMajor +VALUES('3D5FC248-8437-4062-A882-945C077B1910','Equipment','动设备','02',null) +GO +INSERT INTO Base_TransferMajor +VALUES('B55C034D-057E-4CD3-B09B-75DBDB7D2CDC','Piping','管道','03',null) +GO +INSERT INTO Base_TransferMajor +VALUES('2DA0AB18-78BD-43A5-BBB0-2BF96E25789E','Instrument','仪表','04','only refer to field instrument') +GO +INSERT INTO Base_TransferMajor +VALUES('A7C08424-D6B4-40AD-8563-DCD793290ADE','Eletrical','电气','05',null) +GO +INSERT INTO Base_TransferMajor +VALUES('0A4DE4BE-DE07-41F2-ABB1-FE8B8710BC2A','Structure','结构','06',null) +GO +INSERT INTO Base_TransferMajor +VALUES('2EE1D310-53DF-43E1-B7A0-F4C1389E4A52','Civil','土建','07',null) +GO +INSERT INTO Base_TransferMajor +VALUES('2CDA9F7D-2212-4D6F-9E62-14241BA57DF3','Architecture','建筑','08',null) +GO +INSERT INTO Base_TransferMajor +VALUES('53CB3BF5-517F-4E67-A218-E9A7E1E31A58','FF','消防','09',null) +GO +INSERT INTO Base_TransferMajor +VALUES('B87322EC-75DA-4BEB-9CED-31B7E89B4FA9','Plumbing','给排水','10',null) +GO +INSERT INTO Base_TransferMajor +VALUES('D109A3D9-E8CC-46B4-830A-AB2686E6321F','Plot Plan','总图','11',null) +GO +INSERT INTO Base_TransferMajor +VALUES('DE4904D2-1CD8-4248-8599-AC16995FBDDB','Telecom','电信','12',null) +GO +INSERT INTO Base_TransferMajor +VALUES('82B6666D-1866-4A38-927A-0B2DB60C4D64','HVAC','暖通','13',null) +GO \ No newline at end of file diff --git a/DataBase/鑿滃崟鍒濆鍖栬剼鏈/0-1绯荤粺璁剧疆锛圡enu_SysSet锛.sql b/DataBase/鑿滃崟鍒濆鍖栬剼鏈/0-1绯荤粺璁剧疆锛圡enu_SysSet锛.sql index 0459d502..e85a33ac 100644 --- a/DataBase/鑿滃崟鍒濆鍖栬剼鏈/0-1绯荤粺璁剧疆锛圡enu_SysSet锛.sql +++ b/DataBase/鑿滃崟鍒濆鍖栬剼鏈/0-1绯荤粺璁剧疆锛圡enu_SysSet锛.sql @@ -244,6 +244,15 @@ GO insert into Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) values('124B7659-5F18-49F3-8D30-BF8680830827','F0DF2F2B-7C12-4A0F-B7D4-0B00BADE1D64','保存',4) GO + insert into Sys_Menu( MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType ,IsOffice,IsEnd,IsUsed ) + values('D0850615-BF32-4CFA-84CA-EEA261676EA8','移交专业设置','BaseInfo/TransferMajor.aspx',180,'5196A6FD-4BF1-46B3-8D24-9A3CE5BB4760','Menu_SysSet',1,1,1) + GO + insert into Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) values('0465EA2B-2F37-4103-A717-4033894108E0','D0850615-BF32-4CFA-84CA-EEA261676EA8','增加',1) + insert into Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) values('EF58BDF7-F303-4633-8B83-DB4B151F8EAF','D0850615-BF32-4CFA-84CA-EEA261676EA8','修改',2) + insert into Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) values('FC1373E2-D942-4D0E-822F-CE2F16C5D42D','D0850615-BF32-4CFA-84CA-EEA261676EA8','删除',3) + insert into Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) values('65427D56-5490-42D7-8F00-EB3A59FAA6B0','D0850615-BF32-4CFA-84CA-EEA261676EA8','保存',4) + GO + /****质量基础设置******/ INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) VALUES('A93BA810-3511-4BB2-9C10-9663351DF79F','质量设置','',20,'D363BD9D-4DEC-45D8-89C8-B0E49DEF61B4','Menu_SysSet',1,0,1) diff --git a/SGGL/BLL/BLL.csproj b/SGGL/BLL/BLL.csproj index f388964b..372cebec 100644 --- a/SGGL/BLL/BLL.csproj +++ b/SGGL/BLL/BLL.csproj @@ -165,6 +165,7 @@ + diff --git a/SGGL/BLL/BaseInfo/TransferMajorService.cs b/SGGL/BLL/BaseInfo/TransferMajorService.cs new file mode 100644 index 00000000..2099310b --- /dev/null +++ b/SGGL/BLL/BaseInfo/TransferMajorService.cs @@ -0,0 +1,86 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace BLL +{ + /// + /// 绉讳氦涓撲笟 + /// + public static class TransferMajorService + { + public static Model.SGGLDB db = Funs.DB; + + /// + /// 鏍规嵁涓婚敭鑾峰彇绉讳氦涓撲笟 + /// + /// + /// + public static Model.Base_TransferMajor GetTransferMajorById(string TransferMajorId) + { + return Funs.DB.Base_TransferMajor.FirstOrDefault(e => e.TransferMajorId == TransferMajorId); + } + + /// + /// 娣诲姞绉讳氦涓撲笟 + /// + /// + public static void AddTransferMajor(Model.Base_TransferMajor TransferMajor) + { + Model.SGGLDB db = Funs.DB; + Model.Base_TransferMajor newTransferMajor = new Model.Base_TransferMajor + { + TransferMajorId = TransferMajor.TransferMajorId, + Discipline = TransferMajor.Discipline, + Major = TransferMajor.Major, + DisciplineCode = TransferMajor.DisciplineCode, + Remark = TransferMajor.Remark + }; + db.Base_TransferMajor.InsertOnSubmit(newTransferMajor); + db.SubmitChanges(); + } + + /// + /// 淇敼绉讳氦涓撲笟 + /// + /// + public static void UpdateTransferMajor(Model.Base_TransferMajor TransferMajor) + { + Model.SGGLDB db = Funs.DB; + Model.Base_TransferMajor newTransferMajor = db.Base_TransferMajor.FirstOrDefault(e => e.TransferMajorId == TransferMajor.TransferMajorId); + if (newTransferMajor != null) + { + newTransferMajor.Discipline = TransferMajor.Discipline; + newTransferMajor.Major = TransferMajor.Major; + newTransferMajor.DisciplineCode = TransferMajor.DisciplineCode; + newTransferMajor.Remark = TransferMajor.Remark; + db.SubmitChanges(); + } + } + + /// + /// 鏍规嵁涓婚敭鍒犻櫎绉讳氦涓撲笟 + /// + /// + public static void DeleteTransferMajorById(string TransferMajorId) + { + Model.SGGLDB db = Funs.DB; + Model.Base_TransferMajor TransferMajor = db.Base_TransferMajor.FirstOrDefault(e => e.TransferMajorId == TransferMajorId); + if (TransferMajor != null) + { + db.Base_TransferMajor.DeleteOnSubmit(TransferMajor); + db.SubmitChanges(); + } + } + + /// + /// 鑾峰彇绉讳氦涓撲笟涓嬫媺鍒楄〃椤 + /// + /// + public static List GetTransferMajorList() + { + return (from x in Funs.DB.Base_TransferMajor orderby x.DisciplineCode select x).ToList(); + } + } +} diff --git a/SGGL/BLL/Common/Const.cs b/SGGL/BLL/Common/Const.cs index 2b52aa32..a96ed1c0 100644 --- a/SGGL/BLL/Common/Const.cs +++ b/SGGL/BLL/Common/Const.cs @@ -1026,6 +1026,10 @@ namespace BLL /// 椋庨櫓绛夌骇 /// public const string RiskLevelMenuId = "E4B526CC-805E-4131-8E18-2FFA6871507E"; + /// + /// 绉讳氦涓撲笟 + /// + public const string TransferMajorMenuId = "D0850615-BF32-4CFA-84CA-EEA261676EA8"; #endregion #region 璐ㄩ噺鍩虹淇℃伅 diff --git a/SGGL/FineUIPro.Web/BaseInfo/TransferMajor.aspx b/SGGL/FineUIPro.Web/BaseInfo/TransferMajor.aspx new file mode 100644 index 00000000..07c4b6a5 --- /dev/null +++ b/SGGL/FineUIPro.Web/BaseInfo/TransferMajor.aspx @@ -0,0 +1,152 @@ +锘<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TransferMajor.aspx.cs" Inherits="FineUIPro.Web.BaseInfo.TransferMajor" %> + + + + + + 绉讳氦涓撲笟 + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/BaseInfo/TransferMajor.aspx.cs b/SGGL/FineUIPro.Web/BaseInfo/TransferMajor.aspx.cs new file mode 100644 index 00000000..b0d6346e --- /dev/null +++ b/SGGL/FineUIPro.Web/BaseInfo/TransferMajor.aspx.cs @@ -0,0 +1,280 @@ +锘縰sing BLL; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web.UI.WebControls; + +namespace FineUIPro.Web.BaseInfo +{ + public partial class TransferMajor : PageBase + { + #region 鍔犺浇 + /// + /// 鍔犺浇椤甸潰 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + ////鏉冮檺鎸夐挳鏂规硶 + this.GetButtonPower(); + Funs.DropDownPageSize(this.ddlPageSize); + ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 缁戝畾琛ㄦ牸 + BindGrid(); + } + } + + /// + /// 缁戝畾鏁版嵁 + /// + private void BindGrid() + { + var q = from x in Funs.DB.Base_TransferMajor orderby x.DisciplineCode select x; + Grid1.RecordCount = q.Count(); + // 2.鑾峰彇褰撳墠鍒嗛〉鏁版嵁 + var table = GetPagedDataTable(Grid1.PageIndex, Grid1.PageSize); + Grid1.DataSource = table; + Grid1.DataBind(); + } + + /// + /// 鍒嗛〉 + /// + /// + private List GetPagedDataTable(int pageIndex, int pageSize) + { + List source = (from x in Funs.DB.Base_TransferMajor orderby x.DisciplineCode select x).ToList(); + List paged = new List(); + + int rowbegin = pageIndex * pageSize; + int rowend = (pageIndex + 1) * pageSize; + if (rowend > source.Count()) + { + rowend = source.Count(); + } + + for (int i = rowbegin; i < rowend; i++) + { + paged.Add(source[i]); + } + + return paged; + } + + /// + /// 杩囨护琛ㄥご + /// + /// + /// + protected void Grid1_FilterChange(object sender, EventArgs e) + { + BindGrid(); + } + + /// + /// 鏀瑰彉绱㈠紩浜嬩欢 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + Grid1.PageIndex = e.NewPageIndex; + BindGrid(); + } + #endregion + + #region 鍒嗛〉涓嬫媺閫夋嫨 + /// + /// 鍒嗛〉涓嬫媺閫夋嫨 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue); + BindGrid(); + } + #endregion + + #region 鍒犻櫎 + /// + /// 鍒犻櫎 + /// + /// + /// + protected void btnDelete_Click(object sender, EventArgs e) + { + var getV = BLL.TransferMajorService.GetTransferMajorById(hfFormID.Text); + if (getV != null) + { + BLL.LogService.AddSys_Log(this.CurrUser, getV.DisciplineCode, getV.TransferMajorId, BLL.Const.TransferMajorMenuId, BLL.Const.BtnDelete); + BLL.TransferMajorService.DeleteTransferMajorById(hfFormID.Text); + // 閲嶆柊缁戝畾琛ㄦ牸锛屽苟妯℃嫙鐐瑰嚮[鏂板鎸夐挳] + BindGrid(); + PageContext.RegisterStartupScript("onNewButtonClick();"); + } + } + + /// + /// 鍙抽敭鍒犻櫎浜嬩欢 + /// + /// + /// + protected void btnMenuDelete_Click(object sender, EventArgs e) + { + this.DeleteData(); + } + + /// + /// 鍒犻櫎鏂规硶 + /// + private void DeleteData() + { + if (Grid1.SelectedRowIndexArray.Length > 0) + { + foreach (int rowIndex in Grid1.SelectedRowIndexArray) + { + string rowID = Grid1.DataKeys[rowIndex][0].ToString(); + var getV = BLL.TransferMajorService.GetTransferMajorById(rowID); + if (getV != null) + { + BLL.LogService.AddSys_Log(this.CurrUser, getV.DisciplineCode, getV.TransferMajorId, BLL.Const.TransferMajorMenuId, BLL.Const.BtnDelete); + BLL.TransferMajorService.DeleteTransferMajorById(rowID); + } + } + + BindGrid(); + PageContext.RegisterStartupScript("onNewButtonClick();"); + } + } + #endregion + + #region 缂栬緫 + /// + /// 鍙抽敭缂栬緫浜嬩欢 + /// + /// + /// + protected void btnMenuEdit_Click(object sender, EventArgs e) + { + this.EditData(); + } + + /// + /// 缂栬緫鏁版嵁鏂规硶 + /// + private void EditData() + { + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("璇疯嚦灏戦夋嫨涓鏉¤褰曪紒", MessageBoxIcon.Warning); + return; + } + string Id = Grid1.SelectedRowID; + var TransferMajor = BLL.TransferMajorService.GetTransferMajorById(Id); + if (TransferMajor != null) + { + this.txtDiscipline.Text = TransferMajor.Discipline; + this.txtMajor.Text = TransferMajor.Major; + this.txtDisciplineCode.Text = TransferMajor.DisciplineCode; + this.txtRemark.Text = TransferMajor.Remark; + hfFormID.Text = Id; + this.btnDelete.Enabled = true; + } + } + #endregion + + #region 淇濆瓨 + /// + /// 淇濆瓨鎸夐挳 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + string strRowID = hfFormID.Text; + Model.Base_TransferMajor TransferMajor = new Model.Base_TransferMajor + { + Discipline = this.txtDiscipline.Text.Trim(), + Major = this.txtMajor.Text.Trim(), + DisciplineCode= this.txtDisciplineCode.Text.Trim(), + Remark = txtRemark.Text.Trim() + }; + if (string.IsNullOrEmpty(strRowID)) + { + TransferMajor.TransferMajorId = SQLHelper.GetNewID(typeof(Model.Base_TransferMajor)); + BLL.TransferMajorService.AddTransferMajor(TransferMajor); + BLL.LogService.AddSys_Log(this.CurrUser, TransferMajor.Discipline, TransferMajor.TransferMajorId, BLL.Const.TransferMajorMenuId, BLL.Const.BtnAdd); + } + else + { + TransferMajor.TransferMajorId = strRowID; + BLL.TransferMajorService.UpdateTransferMajor(TransferMajor); + BLL.LogService.AddSys_Log(this.CurrUser, TransferMajor.Discipline, TransferMajor.TransferMajorId, BLL.Const.TransferMajorMenuId, BLL.Const.BtnModify); + } + + this.SimpleForm1.Reset(); + // 閲嶆柊缁戝畾琛ㄦ牸锛屽苟鐐瑰嚮褰撳墠缂栬緫鎴栬呮柊澧炵殑琛 + BindGrid(); + PageContext.RegisterStartupScript(String.Format("F('{0}').selectRow('{1}');", Grid1.ClientID, TransferMajor.TransferMajorId)); + } + #endregion + + #region 楠岃瘉璐圭敤绫诲埆鍚嶇О銆佺紪鍙锋槸鍚﹀瓨鍦 + /// + /// 楠岃瘉璐圭敤绫诲埆鍚嶇О銆佺紪鍙锋槸鍚﹀瓨鍦 + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + var q = Funs.DB.Base_TransferMajor.FirstOrDefault(x => x.Discipline == this.txtDiscipline.Text.Trim() && (x.TransferMajorId != hfFormID.Text || (hfFormID.Text == null && x.TransferMajorId != null))); + if (q != null) + { + ShowNotify("杈撳叆鐨凞iscipline宸插瓨鍦紒", MessageBoxIcon.Warning); + } + + var q2 = Funs.DB.Base_TransferMajor.FirstOrDefault(x => x.Major == this.txtMajor.Text.Trim() && (x.TransferMajorId != hfFormID.Text || (hfFormID.Text == null && x.TransferMajorId != null))); + if (q2 != null) + { + ShowNotify("杈撳叆鐨勪笓涓氬凡瀛樺湪锛", MessageBoxIcon.Warning); + } + } + #endregion + + #region 鑾峰彇鎸夐挳鏉冮檺 + /// + /// 鑾峰彇鎸夐挳鏉冮檺 + /// + /// + /// + private void GetButtonPower() + { + var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.TransferMajorMenuId); + if (buttonList.Count() > 0) + { + if (buttonList.Contains(BLL.Const.BtnAdd)) + { + this.btnNew.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnModify)) + { + this.btnMenuEdit.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnDelete)) + { + this.btnDelete.Hidden = false; + this.btnMenuDelete.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnSave)) + { + this.btnSave.Hidden = false; + } + } + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/BaseInfo/TransferMajor.aspx.designer.cs b/SGGL/FineUIPro.Web/BaseInfo/TransferMajor.aspx.designer.cs new file mode 100644 index 00000000..51b35e66 --- /dev/null +++ b/SGGL/FineUIPro.Web/BaseInfo/TransferMajor.aspx.designer.cs @@ -0,0 +1,204 @@ +锘//------------------------------------------------------------------------------ +// <鑷姩鐢熸垚> +// 姝や唬鐮佺敱宸ュ叿鐢熸垚銆 +// +// 瀵规鏂囦欢鐨勬洿鏀瑰彲鑳藉鑷翠笉姝g‘鐨勮涓猴紝濡傛灉 +// 閲嶆柊鐢熸垚浠g爜锛屽垯鎵鍋氭洿鏀瑰皢涓㈠け銆 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.BaseInfo { + + + public partial class TransferMajor { + + /// + /// form1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// 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; + + /// + /// SimpleForm1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.SimpleForm SimpleForm1; + + /// + /// hfFormID 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox hfFormID; + + /// + /// txtDiscipline 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtDiscipline; + + /// + /// txtMajor 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtMajor; + + /// + /// txtDisciplineCode 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextBox txtDisciplineCode; + + /// + /// txtRemark 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.TextArea txtRemark; + + /// + /// Toolbar1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// btnNew 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnNew; + + /// + /// btnDelete 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnDelete; + + /// + /// ToolbarFill1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// btnSave 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnSave; + + /// + /// Menu1 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Menu Menu1; + + /// + /// btnMenuEdit 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuEdit; + + /// + /// btnMenuDelete 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.MenuButton btnMenuDelete; + } +} diff --git a/SGGL/FineUIPro.Web/ErrLog.txt b/SGGL/FineUIPro.Web/ErrLog.txt index 40871f48..6e590a65 100644 --- a/SGGL/FineUIPro.Web/ErrLog.txt +++ b/SGGL/FineUIPro.Web/ErrLog.txt @@ -455,3 +455,303 @@ IP鍦板潃:::1 鍑洪敊鏃堕棿:01/26/2024 12:55:46 鍑洪敊鏃堕棿:01/26/2024 12:55:46 + +閿欒淇℃伅寮濮=====> +閿欒绫诲瀷:ArgumentException +閿欒淇℃伅:鎻愪緵鐨 URI 鏂规鈥渉ttp鈥濇棤鏁堬紝搴斾负鈥渉ttps鈥濄 +鍙傛暟鍚: 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.CNCECHSSEWebService.getSupervise_SubUnitReport() 浣嶇疆 E:\宸ヤ綔\浜旂幆鏂藉伐骞冲彴\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:琛屽彿 2180 +鍑洪敊鏃堕棿:01/29/2024 11:51:59 +鍑洪敊鏃堕棿:01/29/2024 11:51:59 + + +閿欒淇℃伅寮濮=====> +閿欒绫诲瀷:ArgumentException +閿欒淇℃伅:鎻愪緵鐨 URI 鏂规鈥渉ttp鈥濇棤鏁堬紝搴斾负鈥渉ttps鈥濄 +鍙傛暟鍚: 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.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 浣嶇疆 E:\宸ヤ綔\浜旂幆鏂藉伐骞冲彴\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:琛屽彿 2045 +鍑洪敊鏃堕棿:01/29/2024 11:51:59 +鍑洪敊鏃堕棿:01/29/2024 11:51:59 + + +閿欒淇℃伅寮濮=====> +閿欒绫诲瀷:ArgumentException +閿欒淇℃伅:鎻愪緵鐨 URI 鏂规鈥渉ttp鈥濇棤鏁堬紝搴斾负鈥渉ttps鈥濄 +鍙傛暟鍚: 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.CNCECHSSEWebService.getCheck_CheckRectify() 浣嶇疆 E:\宸ヤ綔\浜旂幆鏂藉伐骞冲彴\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:琛屽彿 1941 +鍑洪敊鏃堕棿:01/29/2024 11:51:59 +鍑洪敊鏃堕棿:01/29/2024 11:51:59 + + +閿欒淇℃伅寮濮=====> +閿欒绫诲瀷:ArgumentException +閿欒淇℃伅:鎻愪緵鐨 URI 鏂规鈥渉ttp鈥濇棤鏁堬紝搴斾负鈥渉ttps鈥濄 +鍙傛暟鍚: 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.CNCECHSSEWebService.getInformation_UrgeReport() 浣嶇疆 E:\宸ヤ綔\浜旂幆鏂藉伐骞冲彴\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:琛屽彿 1883 +鍑洪敊鏃堕棿:01/29/2024 11:51:59 +鍑洪敊鏃堕棿:01/29/2024 11:51:59 + + +閿欒淇℃伅寮濮=====> +閿欒绫诲瀷:ArgumentException +閿欒淇℃伅:鎻愪緵鐨 URI 鏂规鈥渉ttp鈥濇棤鏁堬紝搴斾负鈥渉ttps鈥濄 +鍙傛暟鍚: 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.CNCECHSSEWebService.getSupervise_SubUnitReport() 浣嶇疆 E:\宸ヤ綔\浜旂幆鏂藉伐骞冲彴\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:琛屽彿 2180 +鍑洪敊鏃堕棿:01/29/2024 13:51:58 +鍑洪敊鏃堕棿:01/29/2024 13:51:59 + + +閿欒淇℃伅寮濮=====> +閿欒绫诲瀷:ArgumentException +閿欒淇℃伅:鎻愪緵鐨 URI 鏂规鈥渉ttp鈥濇棤鏁堬紝搴斾负鈥渉ttps鈥濄 +鍙傛暟鍚: 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.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 浣嶇疆 E:\宸ヤ綔\浜旂幆鏂藉伐骞冲彴\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:琛屽彿 2045 +鍑洪敊鏃堕棿:01/29/2024 13:51:59 +鍑洪敊鏃堕棿:01/29/2024 13:51:59 + + +閿欒淇℃伅寮濮=====> +閿欒绫诲瀷:ArgumentException +閿欒淇℃伅:鎻愪緵鐨 URI 鏂规鈥渉ttp鈥濇棤鏁堬紝搴斾负鈥渉ttps鈥濄 +鍙傛暟鍚: 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.CNCECHSSEWebService.getCheck_CheckRectify() 浣嶇疆 E:\宸ヤ綔\浜旂幆鏂藉伐骞冲彴\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:琛屽彿 1941 +鍑洪敊鏃堕棿:01/29/2024 13:51:59 +鍑洪敊鏃堕棿:01/29/2024 13:51:59 + + +閿欒淇℃伅寮濮=====> +閿欒绫诲瀷:ArgumentException +閿欒淇℃伅:鎻愪緵鐨 URI 鏂规鈥渉ttp鈥濇棤鏁堬紝搴斾负鈥渉ttps鈥濄 +鍙傛暟鍚: 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.CNCECHSSEWebService.getInformation_UrgeReport() 浣嶇疆 E:\宸ヤ綔\浜旂幆鏂藉伐骞冲彴\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:琛屽彿 1883 +鍑洪敊鏃堕棿:01/29/2024 13:51:59 +鍑洪敊鏃堕棿:01/29/2024 13:51:59 + + +閿欒淇℃伅寮濮=====> +閿欒绫诲瀷:ArgumentException +閿欒淇℃伅:鎻愪緵鐨 URI 鏂规鈥渉ttp鈥濇棤鏁堬紝搴斾负鈥渉ttps鈥濄 +鍙傛暟鍚: 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.CNCECHSSEWebService.getSupervise_SubUnitReport() 浣嶇疆 E:\宸ヤ綔\浜旂幆鏂藉伐骞冲彴\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:琛屽彿 2180 +鍑洪敊鏃堕棿:01/29/2024 15:51:58 +鍑洪敊鏃堕棿:01/29/2024 15:51:59 + + +閿欒淇℃伅寮濮=====> +閿欒绫诲瀷:ArgumentException +閿欒淇℃伅:鎻愪緵鐨 URI 鏂规鈥渉ttp鈥濇棤鏁堬紝搴斾负鈥渉ttps鈥濄 +鍙傛暟鍚: 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.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 浣嶇疆 E:\宸ヤ綔\浜旂幆鏂藉伐骞冲彴\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:琛屽彿 2045 +鍑洪敊鏃堕棿:01/29/2024 15:51:59 +鍑洪敊鏃堕棿:01/29/2024 15:51:59 + + +閿欒淇℃伅寮濮=====> +閿欒绫诲瀷:ArgumentException +閿欒淇℃伅:鎻愪緵鐨 URI 鏂规鈥渉ttp鈥濇棤鏁堬紝搴斾负鈥渉ttps鈥濄 +鍙傛暟鍚: 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.CNCECHSSEWebService.getCheck_CheckRectify() 浣嶇疆 E:\宸ヤ綔\浜旂幆鏂藉伐骞冲彴\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:琛屽彿 1941 +鍑洪敊鏃堕棿:01/29/2024 15:51:59 +鍑洪敊鏃堕棿:01/29/2024 15:51:59 + + +閿欒淇℃伅寮濮=====> +閿欒绫诲瀷:ArgumentException +閿欒淇℃伅:鎻愪緵鐨 URI 鏂规鈥渉ttp鈥濇棤鏁堬紝搴斾负鈥渉ttps鈥濄 +鍙傛暟鍚: 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.CNCECHSSEWebService.getInformation_UrgeReport() 浣嶇疆 E:\宸ヤ綔\浜旂幆鏂藉伐骞冲彴\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:琛屽彿 1883 +鍑洪敊鏃堕棿:01/29/2024 15:51:59 +鍑洪敊鏃堕棿:01/29/2024 15:51:59 + diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj index 745334d5..45852f7d 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj @@ -244,6 +244,7 @@ + @@ -6476,6 +6477,13 @@ TrainTypeEdit.aspx + + TransferMajor.aspx + ASPXCodeBehind + + + TransferMajor.aspx + UnitType.aspx ASPXCodeBehind diff --git a/SGGL/FineUIPro.Web/TestRun/DriverPrepare/SchemePlan.aspx b/SGGL/FineUIPro.Web/TestRun/DriverPrepare/SchemePlan.aspx index 05f4efc6..209da8ac 100644 --- a/SGGL/FineUIPro.Web/TestRun/DriverPrepare/SchemePlan.aspx +++ b/SGGL/FineUIPro.Web/TestRun/DriverPrepare/SchemePlan.aspx @@ -28,6 +28,8 @@ + diff --git a/SGGL/FineUIPro.Web/TestRun/DriverPrepare/SchemePlan.aspx.cs b/SGGL/FineUIPro.Web/TestRun/DriverPrepare/SchemePlan.aspx.cs index 419f1737..0300fd86 100644 --- a/SGGL/FineUIPro.Web/TestRun/DriverPrepare/SchemePlan.aspx.cs +++ b/SGGL/FineUIPro.Web/TestRun/DriverPrepare/SchemePlan.aspx.cs @@ -97,6 +97,20 @@ namespace FineUIPro.Web.TestRun.DriverPrepare ShowNotify("鍒犻櫎鏁版嵁鎴愬姛!", MessageBoxIcon.Success); } } + + protected void btnDel_Click(object sender, EventArgs e) + { + var plan = (from x in Funs.DB.DriverPrepare_SchemePlan where x.ProjectId == this.CurrUser.LoginProjectId select x).FirstOrDefault(); + if (plan == null) + { + Alert.ShowInTop("椤圭洰鏃犺褰曪紝鏃犻渶鍒犻櫎锛", MessageBoxIcon.Warning); + return; + } + BLL.DriverPrepareSchemePlanItemService.DeleteSchemePlanItemByschemePlanId(plan.SchemePlanId); + BLL.DriverPrepareSchemePlanService.DeleteDriverPlan(plan.SchemePlanId); + BindGrid(); + ShowNotify("鍒犻櫎鏁版嵁鎴愬姛!", MessageBoxIcon.Success); + } #endregion #region 鏉冮檺璁剧疆 @@ -119,6 +133,7 @@ namespace FineUIPro.Web.TestRun.DriverPrepare } if (buttonList.Contains(BLL.Const.BtnDelete)) { + this.btnDel.Hidden = false; this.btnMenuDel.Hidden = false; } } diff --git a/SGGL/FineUIPro.Web/TestRun/DriverPrepare/SchemePlan.aspx.designer.cs b/SGGL/FineUIPro.Web/TestRun/DriverPrepare/SchemePlan.aspx.designer.cs index 39adf730..47e4ff3c 100644 --- a/SGGL/FineUIPro.Web/TestRun/DriverPrepare/SchemePlan.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/TestRun/DriverPrepare/SchemePlan.aspx.designer.cs @@ -93,6 +93,15 @@ namespace FineUIPro.Web.TestRun.DriverPrepare { /// protected global::FineUIPro.Button btnOut; + /// + /// btnDel 鎺т欢銆 + /// + /// + /// 鑷姩鐢熸垚鐨勫瓧娈点 + /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲 + /// + protected global::FineUIPro.Button btnDel; + /// /// Window1 鎺т欢銆 /// diff --git a/SGGL/FineUIPro.Web/common/Menu_HSSE.xml b/SGGL/FineUIPro.Web/common/Menu_HSSE.xml index f3c15865..1544f676 100644 --- a/SGGL/FineUIPro.Web/common/Menu_HSSE.xml +++ b/SGGL/FineUIPro.Web/common/Menu_HSSE.xml @@ -20,7 +20,7 @@ - + @@ -153,7 +153,7 @@ - + diff --git a/SGGL/FineUIPro.Web/common/Menu_SysSet.xml b/SGGL/FineUIPro.Web/common/Menu_SysSet.xml index 753efb73..51a57bc0 100644 --- a/SGGL/FineUIPro.Web/common/Menu_SysSet.xml +++ b/SGGL/FineUIPro.Web/common/Menu_SysSet.xml @@ -24,6 +24,7 @@ + diff --git a/SGGL/FineUIPro.Web/common/Menu_TestRun.xml b/SGGL/FineUIPro.Web/common/Menu_TestRun.xml index a8df02b8..08203a41 100644 --- a/SGGL/FineUIPro.Web/common/Menu_TestRun.xml +++ b/SGGL/FineUIPro.Web/common/Menu_TestRun.xml @@ -44,7 +44,6 @@ - @@ -61,13 +60,16 @@ + + + diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs index 5f548e84..3c5ee1a4 100644 --- a/SGGL/Model/Model.cs +++ b/SGGL/Model/Model.cs @@ -227,6 +227,9 @@ namespace Model partial void InsertBase_TrainTypeItem(Base_TrainTypeItem instance); partial void UpdateBase_TrainTypeItem(Base_TrainTypeItem instance); partial void DeleteBase_TrainTypeItem(Base_TrainTypeItem instance); + partial void InsertBase_TransferMajor(Base_TransferMajor instance); + partial void UpdateBase_TransferMajor(Base_TransferMajor instance); + partial void DeleteBase_TransferMajor(Base_TransferMajor instance); partial void InsertBase_Unit(Base_Unit instance); partial void UpdateBase_Unit(Base_Unit instance); partial void DeleteBase_Unit(Base_Unit instance); @@ -3079,6 +3082,14 @@ namespace Model } } + public System.Data.Linq.Table Base_TransferMajor + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table Base_Unit { get @@ -37855,6 +37866,164 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_TransferMajor")] + public partial class Base_TransferMajor : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _TransferMajorId; + + private string _Discipline; + + private string _Major; + + private string _DisciplineCode; + + private string _Remark; + + #region 鍙墿灞曟ф柟娉曞畾涔 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnTransferMajorIdChanging(string value); + partial void OnTransferMajorIdChanged(); + partial void OnDisciplineChanging(string value); + partial void OnDisciplineChanged(); + partial void OnMajorChanging(string value); + partial void OnMajorChanged(); + partial void OnDisciplineCodeChanging(string value); + partial void OnDisciplineCodeChanged(); + partial void OnRemarkChanging(string value); + partial void OnRemarkChanged(); + #endregion + + public Base_TransferMajor() + { + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferMajorId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string TransferMajorId + { + get + { + return this._TransferMajorId; + } + set + { + if ((this._TransferMajorId != value)) + { + this.OnTransferMajorIdChanging(value); + this.SendPropertyChanging(); + this._TransferMajorId = value; + this.SendPropertyChanged("TransferMajorId"); + this.OnTransferMajorIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Discipline", DbType="NVarChar(50)")] + public string Discipline + { + get + { + return this._Discipline; + } + set + { + if ((this._Discipline != value)) + { + this.OnDisciplineChanging(value); + this.SendPropertyChanging(); + this._Discipline = value; + this.SendPropertyChanged("Discipline"); + this.OnDisciplineChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Major", DbType="NVarChar(50)")] + public string Major + { + get + { + return this._Major; + } + set + { + if ((this._Major != value)) + { + this.OnMajorChanging(value); + this.SendPropertyChanging(); + this._Major = value; + this.SendPropertyChanged("Major"); + this.OnMajorChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplineCode", DbType="NVarChar(50)")] + public string DisciplineCode + { + get + { + return this._DisciplineCode; + } + set + { + if ((this._DisciplineCode != value)) + { + this.OnDisciplineCodeChanging(value); + this.SendPropertyChanging(); + this._DisciplineCode = value; + this.SendPropertyChanged("DisciplineCode"); + this.OnDisciplineCodeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(200)")] + public string Remark + { + get + { + return this._Remark; + } + set + { + if ((this._Remark != value)) + { + this.OnRemarkChanging(value); + this.SendPropertyChanging(); + this._Remark = value; + this.SendPropertyChanged("Remark"); + this.OnRemarkChanged(); + } + } + } + + 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.Base_Unit")] public partial class Base_Unit : INotifyPropertyChanging, INotifyPropertyChanged {