This commit is contained in:
chi
2021-12-31 10:22:49 +09:00
parent 10d05e36d4
commit 68a4443333
10 changed files with 390 additions and 236 deletions

View File

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
// 지정되도록 할 수 있습니다. // 지정되도록 할 수 있습니다.
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("21.12.29.0030")] [assembly: AssemblyVersion("21.12.31.1020")]
[assembly: AssemblyFileVersion("21.12.29.0030")] [assembly: AssemblyFileVersion("21.12.31.1020")]

View File

@@ -22,6 +22,7 @@ namespace Project._Common
this.tbDept.Text = dept; this.tbDept.Text = dept;
this.StartPosition = FormStartPosition.CenterScreen; this.StartPosition = FormStartPosition.CenterScreen;
this.tbId.Text = id;
//자료를 불러와서 먼저 불러온다 //자료를 불러와서 먼저 불러온다
if (id.isEmpty() == false) if (id.isEmpty() == false)

View File

@@ -30,21 +30,21 @@
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fUserList)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fUserList));
FarPoint.Win.Spread.DefaultFocusIndicatorRenderer defaultFocusIndicatorRenderer1 = new FarPoint.Win.Spread.DefaultFocusIndicatorRenderer(); FarPoint.Win.Spread.DefaultFocusIndicatorRenderer defaultFocusIndicatorRenderer2 = new FarPoint.Win.Spread.DefaultFocusIndicatorRenderer();
FarPoint.Win.Spread.DefaultScrollBarRenderer defaultScrollBarRenderer1 = new FarPoint.Win.Spread.DefaultScrollBarRenderer(); FarPoint.Win.Spread.DefaultScrollBarRenderer defaultScrollBarRenderer3 = new FarPoint.Win.Spread.DefaultScrollBarRenderer();
FarPoint.Win.Spread.DefaultScrollBarRenderer defaultScrollBarRenderer2 = new FarPoint.Win.Spread.DefaultScrollBarRenderer(); FarPoint.Win.Spread.DefaultScrollBarRenderer defaultScrollBarRenderer4 = new FarPoint.Win.Spread.DefaultScrollBarRenderer();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType20 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType22 = new FarPoint.Win.Spread.CellType.TextCellType();
this.bn = new System.Windows.Forms.BindingNavigator(this.components); this.bn = new System.Windows.Forms.BindingNavigator(this.components);
this.bs = new System.Windows.Forms.BindingSource(this.components); this.bs = new System.Windows.Forms.BindingSource(this.components);
this.dsMSSQL = new Project.dsMSSQL(); this.dsMSSQL = new Project.dsMSSQL();
@@ -57,9 +57,9 @@
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); this.btAdd = new System.Windows.Forms.ToolStripButton();
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); this.btEdit = new System.Windows.Forms.ToolStripButton();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); this.btSave = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.btDevel = new System.Windows.Forms.ToolStripDropDownButton(); this.btDevel = new System.Windows.Forms.ToolStripDropDownButton();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -78,8 +78,9 @@
this.btRef = new System.Windows.Forms.ToolStripButton(); this.btRef = new System.Windows.Forms.ToolStripButton();
this.textBox1 = new System.Windows.Forms.TextBox(); this.textBox1 = new System.Windows.Forms.TextBox();
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.ta = new Project.dsMSSQLTableAdapters.vGroupUserTableAdapter();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
this.ta = new Project.dsMSSQLTableAdapters.vGroupUserTableAdapter();
this.btDel = new System.Windows.Forms.ToolStripButton();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout(); this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
@@ -107,19 +108,20 @@
this.bindingNavigatorMoveNextItem, this.bindingNavigatorMoveNextItem,
this.bindingNavigatorMoveLastItem, this.bindingNavigatorMoveLastItem,
this.bindingNavigatorSeparator2, this.bindingNavigatorSeparator2,
this.bindingNavigatorAddNewItem, this.btAdd,
this.toolStripButton2, this.btEdit,
this.toolStripButton1, this.btDel,
this.btSave,
this.toolStripSeparator1, this.toolStripSeparator1,
this.btDevel}); this.btDevel});
this.bn.Location = new System.Drawing.Point(0, 628); this.bn.Location = new System.Drawing.Point(0, 788);
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
this.bn.Name = "bn"; this.bn.Name = "bn";
this.bn.PositionItem = this.bindingNavigatorPositionItem; this.bn.PositionItem = this.bindingNavigatorPositionItem;
this.bn.Size = new System.Drawing.Size(1176, 25); this.bn.Size = new System.Drawing.Size(1357, 25);
this.bn.TabIndex = 0; this.bn.TabIndex = 0;
this.bn.Text = "bindingNavigator1"; this.bn.Text = "bindingNavigator1";
// //
@@ -201,33 +203,33 @@
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
// //
// bindingNavigatorAddNewItem // btAdd
// //
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image"))); this.btAdd.Image = ((System.Drawing.Image)(resources.GetObject("btAdd.Image")));
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem"; this.btAdd.Name = "btAdd";
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true; this.btAdd.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(67, 22); this.btAdd.Size = new System.Drawing.Size(67, 22);
this.bindingNavigatorAddNewItem.Text = "추가(&A)"; this.btAdd.Text = "추가(&A)";
this.bindingNavigatorAddNewItem.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click); this.btAdd.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click);
// //
// toolStripButton2 // btEdit
// //
this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); this.btEdit.Image = ((System.Drawing.Image)(resources.GetObject("btEdit.Image")));
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; this.btEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton2.Name = "toolStripButton2"; this.btEdit.Name = "btEdit";
this.toolStripButton2.Size = new System.Drawing.Size(65, 22); this.btEdit.Size = new System.Drawing.Size(65, 22);
this.toolStripButton2.Text = "편집(&E)"; this.btEdit.Text = "편집(&E)";
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click); this.btEdit.Click += new System.EventHandler(this.toolStripButton2_Click);
// //
// toolStripButton1 // btSave
// //
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); this.btSave.Image = ((System.Drawing.Image)(resources.GetObject("btSave.Image")));
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; this.btSave.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1"; this.btSave.Name = "btSave";
this.toolStripButton1.Size = new System.Drawing.Size(66, 22); this.btSave.Size = new System.Drawing.Size(66, 22);
this.toolStripButton1.Text = "저장(&S)"; this.btSave.Text = "저장(&S)";
this.toolStripButton1.Visible = false; this.btSave.Visible = false;
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); this.btSave.Click += new System.EventHandler(this.toolStripButton1_Click);
// //
// toolStripSeparator1 // toolStripSeparator1
// //
@@ -312,7 +314,7 @@
this.btRef}); this.btRef});
this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(1176, 25); this.toolStrip1.Size = new System.Drawing.Size(1357, 25);
this.toolStrip1.TabIndex = 2; this.toolStrip1.TabIndex = 2;
this.toolStrip1.Text = "toolStrip1"; this.toolStrip1.Text = "toolStrip1";
// //
@@ -356,39 +358,36 @@
// //
this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ads_title", true)); this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ads_title", true));
this.textBox1.Dock = System.Windows.Forms.DockStyle.Bottom; this.textBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.textBox1.Location = new System.Drawing.Point(0, 607); this.textBox1.Location = new System.Drawing.Point(0, 767);
this.textBox1.Name = "textBox1"; this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(1176, 21); this.textBox1.Size = new System.Drawing.Size(1357, 21);
this.textBox1.TabIndex = 3; this.textBox1.TabIndex = 3;
// //
// fpSpread1 // fpSpread1
// //
this.fpSpread1.AccessibleDescription = ""; this.fpSpread1.AccessibleDescription = "";
this.fpSpread1.AutoClipboard = false; this.fpSpread1.AutoClipboard = false;
this.fpSpread1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
this.fpSpread1.EditModeReplace = true; this.fpSpread1.EditModeReplace = true;
this.fpSpread1.EnableCrossSheetReference = false; this.fpSpread1.EnableCrossSheetReference = false;
this.fpSpread1.FocusRenderer = defaultFocusIndicatorRenderer1; this.fpSpread1.FocusRenderer = defaultFocusIndicatorRenderer2;
this.fpSpread1.HorizontalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton"); this.fpSpread1.HorizontalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton");
this.fpSpread1.HorizontalScrollBar.Name = ""; this.fpSpread1.HorizontalScrollBar.Name = "";
this.fpSpread1.HorizontalScrollBar.Renderer = defaultScrollBarRenderer1; this.fpSpread1.HorizontalScrollBar.Renderer = defaultScrollBarRenderer3;
this.fpSpread1.Location = new System.Drawing.Point(0, 25); this.fpSpread1.Location = new System.Drawing.Point(0, 25);
this.fpSpread1.Name = "fpSpread1"; this.fpSpread1.Name = "fpSpread1";
this.fpSpread1.SelectionBlockOptions = ((FarPoint.Win.Spread.SelectionBlockOptions)((FarPoint.Win.Spread.SelectionBlockOptions.Rows | FarPoint.Win.Spread.SelectionBlockOptions.Sheet))); this.fpSpread1.SelectionBlockOptions = ((FarPoint.Win.Spread.SelectionBlockOptions)((FarPoint.Win.Spread.SelectionBlockOptions.Rows | FarPoint.Win.Spread.SelectionBlockOptions.Sheet)));
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
this.fpSpread1_Sheet1}); this.fpSpread1_Sheet1});
this.fpSpread1.Size = new System.Drawing.Size(1176, 582); this.fpSpread1.Size = new System.Drawing.Size(1357, 742);
this.fpSpread1.Skin = FarPoint.Win.Spread.DefaultSpreadSkins.Classic; this.fpSpread1.Skin = FarPoint.Win.Spread.DefaultSpreadSkins.Classic;
this.fpSpread1.TabIndex = 5; this.fpSpread1.TabIndex = 5;
this.fpSpread1.VerticalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton"); this.fpSpread1.VerticalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton");
this.fpSpread1.VerticalScrollBar.Name = ""; this.fpSpread1.VerticalScrollBar.Name = "";
this.fpSpread1.VerticalScrollBar.Renderer = defaultScrollBarRenderer2; this.fpSpread1.VerticalScrollBar.Renderer = defaultScrollBarRenderer4;
this.fpSpread1.VisualStyles = FarPoint.Win.VisualStyles.Off; this.fpSpread1.VisualStyles = FarPoint.Win.VisualStyles.Off;
// //
// ta
//
this.ta.ClearBeforeFill = true;
//
// fpSpread1_Sheet1 // fpSpread1_Sheet1
// //
this.fpSpread1_Sheet1.Reset(); this.fpSpread1_Sheet1.Reset();
@@ -422,71 +421,71 @@
this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.ForeColor = System.Drawing.Color.Empty; this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.Parent = "HeaderDefault"; this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.Parent = "HeaderDefault";
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 33F; this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 33F;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType1; this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType2;
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "useUserState"; this.fpSpread1_Sheet1.Columns.Get(0).DataField = "useUserState";
this.fpSpread1_Sheet1.Columns.Get(0).Label = "인원\r\n포함"; this.fpSpread1_Sheet1.Columns.Get(0).Label = "인원\r\n포함";
this.fpSpread1_Sheet1.Columns.Get(0).Width = 45F; this.fpSpread1_Sheet1.Columns.Get(0).Width = 45F;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1; this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType12;
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "id"; this.fpSpread1_Sheet1.Columns.Get(1).DataField = "id";
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(1).Label = "ID"; this.fpSpread1_Sheet1.Columns.Get(1).Label = "ID";
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(1).Width = 95F; this.fpSpread1_Sheet1.Columns.Get(1).Width = 95F;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2; this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType13;
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "state"; this.fpSpread1_Sheet1.Columns.Get(2).DataField = "state";
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).Label = "상태"; this.fpSpread1_Sheet1.Columns.Get(2).Label = "상태";
this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).Width = 56F; this.fpSpread1_Sheet1.Columns.Get(2).Width = 56F;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3; this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType14;
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "processs"; this.fpSpread1_Sheet1.Columns.Get(3).DataField = "processs";
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(3).Label = "공정"; this.fpSpread1_Sheet1.Columns.Get(3).Label = "공정";
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(3).Width = 151F; this.fpSpread1_Sheet1.Columns.Get(3).Width = 151F;
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4; this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType15;
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "name"; this.fpSpread1_Sheet1.Columns.Get(4).DataField = "name";
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(4).Label = "성명"; this.fpSpread1_Sheet1.Columns.Get(4).Label = "성명";
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(4).Width = 105F; this.fpSpread1_Sheet1.Columns.Get(4).Width = 105F;
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5; this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType16;
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "nameE"; this.fpSpread1_Sheet1.Columns.Get(5).DataField = "nameE";
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(5).Label = "영문명"; this.fpSpread1_Sheet1.Columns.Get(5).Label = "영문명";
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(5).Width = 91F; this.fpSpread1_Sheet1.Columns.Get(5).Width = 91F;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType6; this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType17;
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "grade"; this.fpSpread1_Sheet1.Columns.Get(6).DataField = "grade";
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(6).Label = "직책"; this.fpSpread1_Sheet1.Columns.Get(6).Label = "직책";
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(6).Width = 115F; this.fpSpread1_Sheet1.Columns.Get(6).Width = 115F;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType7; this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType18;
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "email"; this.fpSpread1_Sheet1.Columns.Get(7).DataField = "email";
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(7).Label = "이메일"; this.fpSpread1_Sheet1.Columns.Get(7).Label = "이메일";
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(7).Width = 151F; this.fpSpread1_Sheet1.Columns.Get(7).Width = 151F;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType8; this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType19;
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "hp"; this.fpSpread1_Sheet1.Columns.Get(8).DataField = "hp";
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(8).Label = "휴대전화"; this.fpSpread1_Sheet1.Columns.Get(8).Label = "휴대전화";
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(8).Width = 111F; this.fpSpread1_Sheet1.Columns.Get(8).Width = 111F;
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType9; this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType20;
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "indate"; this.fpSpread1_Sheet1.Columns.Get(9).DataField = "indate";
this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(9).Label = "입사일"; this.fpSpread1_Sheet1.Columns.Get(9).Label = "입사일";
this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(9).Width = 79F; this.fpSpread1_Sheet1.Columns.Get(9).Width = 79F;
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType10; this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType21;
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "outdate"; this.fpSpread1_Sheet1.Columns.Get(10).DataField = "outdate";
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(10).Label = "퇴사일"; this.fpSpread1_Sheet1.Columns.Get(10).Label = "퇴사일";
this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(10).Width = 65F; this.fpSpread1_Sheet1.Columns.Get(10).Width = 65F;
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType11; this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType22;
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "memo"; this.fpSpread1_Sheet1.Columns.Get(11).DataField = "memo";
this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(11).Label = "비고"; this.fpSpread1_Sheet1.Columns.Get(11).Label = "비고";
@@ -511,11 +510,24 @@
this.fpSpread1_Sheet1.SheetCornerStyle.Parent = "RowHeaderDefault"; this.fpSpread1_Sheet1.SheetCornerStyle.Parent = "RowHeaderDefault";
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
// //
// ta
//
this.ta.ClearBeforeFill = true;
//
// btDel
//
this.btDel.Image = ((System.Drawing.Image)(resources.GetObject("btDel.Image")));
this.btDel.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btDel.Name = "btDel";
this.btDel.Size = new System.Drawing.Size(68, 22);
this.btDel.Text = "삭제(&D)";
this.btDel.Click += new System.EventHandler(this.btDel_Click);
//
// fUserList // fUserList
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1176, 653); this.ClientSize = new System.Drawing.Size(1357, 813);
this.Controls.Add(this.fpSpread1); this.Controls.Add(this.fpSpread1);
this.Controls.Add(this.textBox1); this.Controls.Add(this.textBox1);
this.Controls.Add(this.toolStrip1); this.Controls.Add(this.toolStrip1);
@@ -543,7 +555,7 @@
private dsMSSQL dsMSSQL; private dsMSSQL dsMSSQL;
private System.Windows.Forms.BindingSource bs; private System.Windows.Forms.BindingSource bs;
private System.Windows.Forms.BindingNavigator bn; private System.Windows.Forms.BindingNavigator bn;
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; private System.Windows.Forms.ToolStripButton btAdd;
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
@@ -572,8 +584,9 @@
private System.Windows.Forms.ToolStripTextBox tbProcess; private System.Windows.Forms.ToolStripTextBox tbProcess;
private FarPoint.Win.Spread.FpSpread fpSpread1; private FarPoint.Win.Spread.FpSpread fpSpread1;
private dsMSSQLTableAdapters.vGroupUserTableAdapter ta; private dsMSSQLTableAdapters.vGroupUserTableAdapter ta;
private System.Windows.Forms.ToolStripButton toolStripButton2; private System.Windows.Forms.ToolStripButton btEdit;
private System.Windows.Forms.ToolStripButton toolStripButton1; private System.Windows.Forms.ToolStripButton btSave;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
private System.Windows.Forms.ToolStripButton btDel;
} }
} }

View File

@@ -43,32 +43,14 @@ namespace Project._Common
this.cmbdept.Text = FCOMMON.info.Login.dept; this.cmbdept.Text = FCOMMON.info.Login.dept;
//if (FCOMMON.info.Login.level > 4) //일반사용자의경우에는 상태를 변경하지 못한다.
//{ int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.account));
// this.dvc_id.Visible = true; btAdd.Enabled = curLevel > 5;
// this.btDevel.Visible = true;
// this.dv1.EditMode = DataGridViewEditMode.EditOnKeystrokeOrF2;
//}
//else
//{
// this.dv1.EditMode = DataGridViewEditMode.EditProgrammatically;
// this.dv1.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
// this.btDevel.Visible = true;
// this.textBox1.Enabled = false;
// this.dvc_id.Visible = true;
// this.dvc_level.Visible = false;
// this.usersBindingNavigatorSaveItem.Enabled = false;
// this.bindingNavigatorAddNewItem.Enabled = false;
// this.bindingNavigatorDeleteItem.Enabled = false;
//}
//부서목록 업데이트 //부서목록 업데이트
var db = new EEEntitiesMain(); var db = new EEEntitiesMain();
var GrpList = db.UserGroup.Where(t => t.gcode != null && t.permission != null && t.gcode != "" && t.permission > 0); var GrpList = db.UserGroup.Where(t => t.gcode != null && t.permission != null && t.gcode != "" && t.permission > 0);
//var tagrp = new dsMSSQLTableAdapters.UserGroupTableAdapter();
//var grplist = tagrp.GetData();
this.cmbdept.Items.Clear(); this.cmbdept.Items.Clear();
@@ -205,8 +187,21 @@ namespace Project._Common
private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e) private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
{ {
Func_add();
}
void Func_add()
{
//일반사용자의경우에는 상태를 변경하지 못한다.
int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.account));
if (curLevel < 5)
{
FCOMMON.Util.MsgE("사용자 등록 권한이 없습니다");
return;
}
//추가 //추가
var f = new fAddNewUser(this.cmbdept.Text.Trim(),string.Empty); var f = new fAddNewUser(this.cmbdept.Text.Trim(), string.Empty);
if (f.ShowDialog() == DialogResult.OK) if (f.ShowDialog() == DialogResult.OK)
{ {
RefreshList(); RefreshList();
@@ -239,17 +234,70 @@ namespace Project._Common
private void toolStripButton2_Click(object sender, EventArgs e) private void toolStripButton2_Click(object sender, EventArgs e)
{ {
Func_Edit();
}
void Func_Edit()
{
//추가 //추가
var drv = this.bs.Current as DataRowView; var drv = this.bs.Current as DataRowView;
if (drv == null) return; if (drv == null) return;
var dr = drv.Row as dsMSSQL.vGroupUserRow; var dr = drv.Row as dsMSSQL.vGroupUserRow;
var f = new fAddNewUser(this.cmbdept.Text.Trim(),dr.id); //일반사용자의경우에는 상태를 변경하지 못한다.
int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.account));
if (curLevel < 5)
{
if (dr.id != FCOMMON.info.Login.no)
{
FCOMMON.Util.MsgE("타인의 계정은 편집할 수 없습니다");
return;
}
}
var f = new fAddNewUser(this.cmbdept.Text.Trim(), dr.id);
if (f.ShowDialog() == DialogResult.OK) if (f.ShowDialog() == DialogResult.OK)
{ {
RefreshList(); RefreshList();
} }
} }
private void btDel_Click(object sender, EventArgs e)
{
func_del();
}
void func_del()
{
//일반사용자의경우에는 상태를 변경하지 못한다.
int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.account));
if (curLevel < 5)
{
FCOMMON.Util.MsgE("계정 관리자만 사용할 수 있습니다");
return;
}
//추가
var drv = this.bs.Current as DataRowView;
if (drv == null) return;
var dr = drv.Row as dsMSSQL.vGroupUserRow;
var dlg = FCOMMON.Util.MsgQ($"사원번호:{dr.id} 정보를 삭제할까요?");
if (dlg != DialogResult.Yes) return;
//그룹사용자목록에서 삭제만 하면 됨
var db = new EEEntitiesMain();
var dr_user = db.EETGW_GroupUser.Where(t => t.uid == dr.id).FirstOrDefault();
if (dr_user != null) db.EETGW_GroupUser.Remove(dr_user);
var cnt = db.SaveChanges();
FCOMMON.Util.MsgI($"{cnt}건의 자료가 변경 되었습니다");
RefreshList();
}
} }
} }

View File

@@ -167,7 +167,7 @@
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== 8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="btAdd.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
@@ -179,7 +179,7 @@
rkJggg== rkJggg==
</value> </value>
</data> </data>
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="btEdit.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
@@ -194,7 +194,22 @@
TgDQASA1MVpwzwAAAABJRU5ErkJggg== TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="btDel.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<data name="btSave.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
@@ -224,6 +239,9 @@
TgDQASA1MVpwzwAAAABJRU5ErkJggg== TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>252, 17</value> <value>252, 17</value>
</metadata> </metadata>

View File

@@ -1228,6 +1228,8 @@ namespace FCM0000 {
private global::System.Data.DataColumn columnholyreq; private global::System.Data.DataColumn columnholyreq;
private global::System.Data.DataColumn columnaccount;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public AuthDataTable() { public AuthDataTable() {
@@ -1373,6 +1375,14 @@ namespace FCM0000 {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn accountColumn {
get {
return this.columnaccount;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.Browsable(false)]
@@ -1410,7 +1420,7 @@ namespace FCM0000 {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public AuthRow AddAuthRow(string user, string gcode, int purchase, int holyday, int project, int jobreport, int savecost, int scheapp, int equipment, int kusul, int otconfirm, int kuntae, int holyreq) { public AuthRow AddAuthRow(string user, string gcode, int purchase, int holyday, int project, int jobreport, int savecost, int scheapp, int equipment, int kusul, int otconfirm, int kuntae, int holyreq, int account) {
AuthRow rowAuthRow = ((AuthRow)(this.NewRow())); AuthRow rowAuthRow = ((AuthRow)(this.NewRow()));
object[] columnValuesArray = new object[] { object[] columnValuesArray = new object[] {
null, null,
@@ -1426,7 +1436,8 @@ namespace FCM0000 {
kusul, kusul,
otconfirm, otconfirm,
kuntae, kuntae,
holyreq}; holyreq,
account};
rowAuthRow.ItemArray = columnValuesArray; rowAuthRow.ItemArray = columnValuesArray;
this.Rows.Add(rowAuthRow); this.Rows.Add(rowAuthRow);
return rowAuthRow; return rowAuthRow;
@@ -1470,6 +1481,7 @@ namespace FCM0000 {
this.columnotconfirm = base.Columns["otconfirm"]; this.columnotconfirm = base.Columns["otconfirm"];
this.columnkuntae = base.Columns["kuntae"]; this.columnkuntae = base.Columns["kuntae"];
this.columnholyreq = base.Columns["holyreq"]; this.columnholyreq = base.Columns["holyreq"];
this.columnaccount = base.Columns["account"];
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -1503,6 +1515,8 @@ namespace FCM0000 {
base.Columns.Add(this.columnkuntae); base.Columns.Add(this.columnkuntae);
this.columnholyreq = new global::System.Data.DataColumn("holyreq", typeof(int), null, global::System.Data.MappingType.Element); this.columnholyreq = new global::System.Data.DataColumn("holyreq", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnholyreq); base.Columns.Add(this.columnholyreq);
this.columnaccount = new global::System.Data.DataColumn("account", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnaccount);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true)); this.columnidx}, true));
this.columnidx.AutoIncrement = true; this.columnidx.AutoIncrement = true;
@@ -2462,11 +2476,11 @@ namespace FCM0000 {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public int holyreq { public int holyreq {
get { get {
try { if (this.IsholyreqNull()) {
return ((int)(this[this.tableAuth.holyreqColumn])); return 0;
} }
catch (global::System.InvalidCastException e) { else {
throw new global::System.Data.StrongTypingException("\'Auth\' 테이블의 \'holyreq\' 열의 값이 DBNull입니다.", e); return ((int)(this[this.tableAuth.holyreqColumn]));
} }
} }
set { set {
@@ -2474,6 +2488,22 @@ namespace FCM0000 {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public int account {
get {
if (this.IsaccountNull()) {
return 0;
}
else {
return ((int)(this[this.tableAuth.accountColumn]));
}
}
set {
this[this.tableAuth.accountColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsuserNull() { public bool IsuserNull() {
@@ -2617,6 +2647,18 @@ namespace FCM0000 {
public void SetholyreqNull() { public void SetholyreqNull() {
this[this.tableAuth.holyreqColumn] = global::System.Convert.DBNull; this[this.tableAuth.holyreqColumn] = global::System.Convert.DBNull;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsaccountNull() {
return this.IsNull(this.tableAuth.accountColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetaccountNull() {
this[this.tableAuth.accountColumn] = global::System.Convert.DBNull;
}
} }
/// <summary> /// <summary>
@@ -4359,10 +4401,11 @@ SELECT id, password, nameE, name, dept, grade, email, level, indate, outdate, te
tableMapping.ColumnMappings.Add("otconfirm", "otconfirm"); tableMapping.ColumnMappings.Add("otconfirm", "otconfirm");
tableMapping.ColumnMappings.Add("kuntae", "kuntae"); tableMapping.ColumnMappings.Add("kuntae", "kuntae");
tableMapping.ColumnMappings.Add("holyreq", "holyreq"); tableMapping.ColumnMappings.Add("holyreq", "holyreq");
tableMapping.ColumnMappings.Add("account", "account");
this._adapter.TableMappings.Add(tableMapping); this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [Auth] WHERE (([idx] = @Original_idx) AND ((@IsNull_user = 1 AND [user] IS NULL) OR ([user] = @Original_user)) AND ([gcode] = @Original_gcode) AND ((@IsNull_purchase = 1 AND [purchase] IS NULL) OR ([purchase] = @Original_purchase)) AND ((@IsNull_holyday = 1 AND [holyday] IS NULL) OR ([holyday] = @Original_holyday)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_jobreport = 1 AND [jobreport] IS NULL) OR ([jobreport] = @Original_jobreport)) AND ((@IsNull_savecost = 1 AND [savecost] IS NULL) OR ([savecost] = @Original_savecost)) AND ((@IsNull_scheapp = 1 AND [scheapp] IS NULL) OR ([scheapp] = @Original_scheapp)) AND ((@IsNull_equipment = 1 AND [equipment] IS NULL) OR ([equipment] = @Original_equipment)) AND ((@IsNull_kusul = 1 AND [kusul] IS NULL) OR ([kusul] = @Original_kusul)) AND ((@IsNull_otconfirm = 1 AND [otconfirm] IS NULL) OR ([otconfirm] = @Original_otconfirm)) AND ((@IsNull_kuntae = 1 AND [kuntae] IS NULL) OR ([kuntae] = @Original_kuntae)) AND ((@IsNull_holyreq = 1 AND [holyreq] IS NULL) OR ([holyreq] = @Original_holyreq)))"; this._adapter.DeleteCommand.CommandText = @"DELETE FROM [Auth] WHERE (([idx] = @Original_idx) AND ((@IsNull_user = 1 AND [user] IS NULL) OR ([user] = @Original_user)) AND ([gcode] = @Original_gcode) AND ((@IsNull_purchase = 1 AND [purchase] IS NULL) OR ([purchase] = @Original_purchase)) AND ((@IsNull_holyday = 1 AND [holyday] IS NULL) OR ([holyday] = @Original_holyday)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_jobreport = 1 AND [jobreport] IS NULL) OR ([jobreport] = @Original_jobreport)) AND ((@IsNull_savecost = 1 AND [savecost] IS NULL) OR ([savecost] = @Original_savecost)) AND ((@IsNull_scheapp = 1 AND [scheapp] IS NULL) OR ([scheapp] = @Original_scheapp)) AND ((@IsNull_equipment = 1 AND [equipment] IS NULL) OR ([equipment] = @Original_equipment)) AND ((@IsNull_kusul = 1 AND [kusul] IS NULL) OR ([kusul] = @Original_kusul)) AND ((@IsNull_otconfirm = 1 AND [otconfirm] IS NULL) OR ([otconfirm] = @Original_otconfirm)) AND ((@IsNull_kuntae = 1 AND [kuntae] IS NULL) OR ([kuntae] = @Original_kuntae)) AND ((@IsNull_holyreq = 1 AND [holyreq] IS NULL) OR ([holyreq] = @Original_holyreq)) AND ((@IsNull_account = 1 AND [account] IS NULL) OR ([account] = @Original_account)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_user", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "user", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_user", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "user", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -4390,10 +4433,12 @@ SELECT id, password, nameE, name, dept, grade, email, level, indate, outdate, te
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kuntae", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kuntae", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kuntae", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kuntae", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_holyreq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "holyreq", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_holyreq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "holyreq", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_holyreq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "holyreq", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_holyreq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "holyreq", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_account", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "account", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_account", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "account", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO [Auth] ([user], [gcode], [purchase], [holyday], [project], [jobreport], [savecost], [scheapp], [equipment], [kusul], [otconfirm], [kuntae], [holyreq]) VALUES (@user, @gcode, @purchase, @holyday, @project, @jobreport, @savecost, @scheapp, @equipment, @kusul, @otconfirm, @kuntae, @holyreq); this._adapter.InsertCommand.CommandText = @"INSERT INTO [Auth] ([user], [gcode], [purchase], [holyday], [project], [jobreport], [savecost], [scheapp], [equipment], [kusul], [otconfirm], [kuntae], [holyreq], [account]) VALUES (@user, @gcode, @purchase, @holyday, @project, @jobreport, @savecost, @scheapp, @equipment, @kusul, @otconfirm, @kuntae, @holyreq, @account);
SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae, holyreq FROM Auth WHERE (idx = SCOPE_IDENTITY()) ORDER BY [user]"; SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae, holyreq, account FROM Auth WHERE (idx = SCOPE_IDENTITY()) ORDER BY [user]";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@user", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "user", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@user", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "user", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -4408,28 +4453,31 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@otconfirm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otconfirm", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@otconfirm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otconfirm", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kuntae", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kuntae", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kuntae", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kuntae", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@holyreq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "holyreq", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@holyreq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "holyreq", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@account", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "account", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = "UPDATE [Auth] SET [user] = @user, [gcode] = @gcode, [purchase] = @purchase, [holy" + this._adapter.UpdateCommand.CommandText = "UPDATE [Auth] SET [user] = @user, [gcode] = @gcode, [purchase] = @purchase, [holy" +
"day] = @holyday, [project] = @project, [jobreport] = @jobreport, [savecost] = @s" + "day] = @holyday, [project] = @project, [jobreport] = @jobreport, [savecost] = @s" +
"avecost, [scheapp] = @scheapp, [equipment] = @equipment, [kusul] = @kusul, [otco" + "avecost, [scheapp] = @scheapp, [equipment] = @equipment, [kusul] = @kusul, [otco" +
"nfirm] = @otconfirm, [kuntae] = @kuntae, [holyreq] = @holyreq WHERE (([idx] = @O" + "nfirm] = @otconfirm, [kuntae] = @kuntae, [holyreq] = @holyreq, [account] = @acco" +
"riginal_idx) AND ((@IsNull_user = 1 AND [user] IS NULL) OR ([user] = @Original_u" + "unt WHERE (([idx] = @Original_idx) AND ((@IsNull_user = 1 AND [user] IS NULL) OR" +
"ser)) AND ([gcode] = @Original_gcode) AND ((@IsNull_purchase = 1 AND [purchase] " + " ([user] = @Original_user)) AND ([gcode] = @Original_gcode) AND ((@IsNull_purcha" +
"IS NULL) OR ([purchase] = @Original_purchase)) AND ((@IsNull_holyday = 1 AND [ho" + "se = 1 AND [purchase] IS NULL) OR ([purchase] = @Original_purchase)) AND ((@IsNu" +
"lyday] IS NULL) OR ([holyday] = @Original_holyday)) AND ((@IsNull_project = 1 AN" + "ll_holyday = 1 AND [holyday] IS NULL) OR ([holyday] = @Original_holyday)) AND ((" +
"D [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_jobreport" + "@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) A" +
" = 1 AND [jobreport] IS NULL) OR ([jobreport] = @Original_jobreport)) AND ((@IsN" + "ND ((@IsNull_jobreport = 1 AND [jobreport] IS NULL) OR ([jobreport] = @Original_" +
"ull_savecost = 1 AND [savecost] IS NULL) OR ([savecost] = @Original_savecost)) A" + "jobreport)) AND ((@IsNull_savecost = 1 AND [savecost] IS NULL) OR ([savecost] = " +
"ND ((@IsNull_scheapp = 1 AND [scheapp] IS NULL) OR ([scheapp] = @Original_scheap" + "@Original_savecost)) AND ((@IsNull_scheapp = 1 AND [scheapp] IS NULL) OR ([schea" +
"p)) AND ((@IsNull_equipment = 1 AND [equipment] IS NULL) OR ([equipment] = @Orig" + "pp] = @Original_scheapp)) AND ((@IsNull_equipment = 1 AND [equipment] IS NULL) O" +
"inal_equipment)) AND ((@IsNull_kusul = 1 AND [kusul] IS NULL) OR ([kusul] = @Ori" + "R ([equipment] = @Original_equipment)) AND ((@IsNull_kusul = 1 AND [kusul] IS NU" +
"ginal_kusul)) AND ((@IsNull_otconfirm = 1 AND [otconfirm] IS NULL) OR ([otconfir" + "LL) OR ([kusul] = @Original_kusul)) AND ((@IsNull_otconfirm = 1 AND [otconfirm] " +
"m] = @Original_otconfirm)) AND ((@IsNull_kuntae = 1 AND [kuntae] IS NULL) OR ([k" + "IS NULL) OR ([otconfirm] = @Original_otconfirm)) AND ((@IsNull_kuntae = 1 AND [k" +
"untae] = @Original_kuntae)) AND ((@IsNull_holyreq = 1 AND [holyreq] IS NULL) OR " + "untae] IS NULL) OR ([kuntae] = @Original_kuntae)) AND ((@IsNull_holyreq = 1 AND " +
"([holyreq] = @Original_holyreq)));\r\nSELECT idx, [user], gcode, purchase, holyday" + "[holyreq] IS NULL) OR ([holyreq] = @Original_holyreq)) AND ((@IsNull_account = 1" +
", project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae, ho" + " AND [account] IS NULL) OR ([account] = @Original_account)));\r\nSELECT idx, [user" +
"lyreq FROM Auth WHERE (idx = @idx) ORDER BY [user]"; "], gcode, purchase, holyday, project, jobreport, savecost, scheapp, equipment, k" +
"usul, otconfirm, kuntae, holyreq, account FROM Auth WHERE (idx = @idx) ORDER BY " +
"[user]";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@user", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "user", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@user", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "user", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -4444,6 +4492,7 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@otconfirm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otconfirm", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@otconfirm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otconfirm", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kuntae", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kuntae", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kuntae", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kuntae", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@holyreq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "holyreq", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@holyreq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "holyreq", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@account", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "account", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_user", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "user", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_user", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "user", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_user", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "user", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_user", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "user", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -4470,6 +4519,8 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kuntae", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kuntae", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kuntae", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kuntae", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_holyreq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "holyreq", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_holyreq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "holyreq", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_holyreq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "holyreq", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_holyreq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "holyreq", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_account", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "account", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_account", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "account", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
} }
@@ -4487,8 +4538,8 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche" + this._commandCollection[0].CommandText = "SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche" +
"app, equipment, kusul, otconfirm, kuntae, holyreq\r\nFROM Auth\r\nWHERE (gcode " + "app, equipment, kusul, otconfirm, kuntae, holyreq, account\r\nFROM Auth\r\nWHERE" +
"= @gcode)\r\nORDER BY [user]"; " (gcode = @gcode)\r\nORDER BY [user]";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
} }
@@ -4562,7 +4613,7 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(int Original_idx, string Original_user, string Original_gcode, global::System.Nullable<int> Original_purchase, global::System.Nullable<int> Original_holyday, global::System.Nullable<int> Original_project, global::System.Nullable<int> Original_jobreport, global::System.Nullable<int> Original_savecost, global::System.Nullable<int> Original_scheapp, global::System.Nullable<int> Original_equipment, global::System.Nullable<int> Original_kusul, global::System.Nullable<int> Original_otconfirm, global::System.Nullable<int> Original_kuntae, global::System.Nullable<int> Original_holyreq) { public virtual int Delete(int Original_idx, string Original_user, string Original_gcode, global::System.Nullable<int> Original_purchase, global::System.Nullable<int> Original_holyday, global::System.Nullable<int> Original_project, global::System.Nullable<int> Original_jobreport, global::System.Nullable<int> Original_savecost, global::System.Nullable<int> Original_scheapp, global::System.Nullable<int> Original_equipment, global::System.Nullable<int> Original_kusul, global::System.Nullable<int> Original_otconfirm, global::System.Nullable<int> Original_kuntae, global::System.Nullable<int> Original_holyreq, global::System.Nullable<int> Original_account) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
if ((Original_user == null)) { if ((Original_user == null)) {
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
@@ -4666,6 +4717,14 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[25].Value = global::System.DBNull.Value; this.Adapter.DeleteCommand.Parameters[25].Value = global::System.DBNull.Value;
} }
if ((Original_account.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[27].Value = ((int)(Original_account.Value));
}
else {
this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[27].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) { != global::System.Data.ConnectionState.Open)) {
@@ -4686,7 +4745,7 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string user, string gcode, global::System.Nullable<int> purchase, global::System.Nullable<int> holyday, global::System.Nullable<int> project, global::System.Nullable<int> jobreport, global::System.Nullable<int> savecost, global::System.Nullable<int> scheapp, global::System.Nullable<int> equipment, global::System.Nullable<int> kusul, global::System.Nullable<int> otconfirm, global::System.Nullable<int> kuntae, global::System.Nullable<int> holyreq) { public virtual int Insert(string user, string gcode, global::System.Nullable<int> purchase, global::System.Nullable<int> holyday, global::System.Nullable<int> project, global::System.Nullable<int> jobreport, global::System.Nullable<int> savecost, global::System.Nullable<int> scheapp, global::System.Nullable<int> equipment, global::System.Nullable<int> kusul, global::System.Nullable<int> otconfirm, global::System.Nullable<int> kuntae, global::System.Nullable<int> holyreq, global::System.Nullable<int> account) {
if ((user == null)) { if ((user == null)) {
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
} }
@@ -4765,6 +4824,12 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
else { else {
this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
} }
if ((account.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[13].Value = ((int)(account.Value));
}
else {
this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) { != global::System.Data.ConnectionState.Open)) {
@@ -4799,6 +4864,7 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
global::System.Nullable<int> otconfirm, global::System.Nullable<int> otconfirm,
global::System.Nullable<int> kuntae, global::System.Nullable<int> kuntae,
global::System.Nullable<int> holyreq, global::System.Nullable<int> holyreq,
global::System.Nullable<int> account,
int Original_idx, int Original_idx,
string Original_user, string Original_user,
string Original_gcode, string Original_gcode,
@@ -4813,6 +4879,7 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
global::System.Nullable<int> Original_otconfirm, global::System.Nullable<int> Original_otconfirm,
global::System.Nullable<int> Original_kuntae, global::System.Nullable<int> Original_kuntae,
global::System.Nullable<int> Original_holyreq, global::System.Nullable<int> Original_holyreq,
global::System.Nullable<int> Original_account,
int idx) { int idx) {
if ((user == null)) { if ((user == null)) {
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
@@ -4892,110 +4959,124 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
else { else {
this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
} }
this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(Original_idx)); if ((account.HasValue == true)) {
if ((Original_user == null)) { this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(account.Value));
this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
} }
else { else {
this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_user)); }
this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(Original_idx));
if ((Original_user == null)) {
this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_user));
} }
if ((Original_gcode == null)) { if ((Original_gcode == null)) {
throw new global::System.ArgumentNullException("Original_gcode"); throw new global::System.ArgumentNullException("Original_gcode");
} }
else { else {
this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_gcode)); this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_gcode));
} }
if ((Original_purchase.HasValue == true)) { if ((Original_purchase.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[18].Value = ((int)(Original_purchase.Value)); this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(Original_purchase.Value));
} }
else { else {
this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
} }
if ((Original_holyday.HasValue == true)) { if ((Original_holyday.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_holyday.Value)); this.Adapter.UpdateCommand.Parameters[21].Value = ((int)(Original_holyday.Value));
} }
else { else {
this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
} }
if ((Original_project.HasValue == true)) { if ((Original_project.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[22].Value = ((int)(Original_project.Value)); this.Adapter.UpdateCommand.Parameters[23].Value = ((int)(Original_project.Value));
} }
else { else {
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
} }
if ((Original_jobreport.HasValue == true)) { if ((Original_jobreport.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[24].Value = ((int)(Original_jobreport.Value)); this.Adapter.UpdateCommand.Parameters[25].Value = ((int)(Original_jobreport.Value));
} }
else { else {
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
} }
if ((Original_savecost.HasValue == true)) { if ((Original_savecost.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(Original_savecost.Value)); this.Adapter.UpdateCommand.Parameters[27].Value = ((int)(Original_savecost.Value));
} }
else { else {
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
} }
if ((Original_scheapp.HasValue == true)) { if ((Original_scheapp.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[28].Value = ((int)(Original_scheapp.Value)); this.Adapter.UpdateCommand.Parameters[29].Value = ((int)(Original_scheapp.Value));
} }
else { else {
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
} }
if ((Original_equipment.HasValue == true)) { if ((Original_equipment.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[30].Value = ((int)(Original_equipment.Value)); this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(Original_equipment.Value));
} }
else { else {
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
} }
if ((Original_kusul.HasValue == true)) { if ((Original_kusul.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[32].Value = ((int)(Original_kusul.Value)); this.Adapter.UpdateCommand.Parameters[33].Value = ((int)(Original_kusul.Value));
} }
else { else {
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value;
} }
if ((Original_otconfirm.HasValue == true)) { if ((Original_otconfirm.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[34].Value = ((int)(Original_otconfirm.Value)); this.Adapter.UpdateCommand.Parameters[35].Value = ((int)(Original_otconfirm.Value));
} }
else { else {
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value;
} }
if ((Original_kuntae.HasValue == true)) { if ((Original_kuntae.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[36].Value = ((int)(Original_kuntae.Value)); this.Adapter.UpdateCommand.Parameters[37].Value = ((int)(Original_kuntae.Value));
} }
else { else {
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value;
} }
if ((Original_holyreq.HasValue == true)) { if ((Original_holyreq.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[38].Value = ((int)(Original_holyreq.Value)); this.Adapter.UpdateCommand.Parameters[39].Value = ((int)(Original_holyreq.Value));
} }
else { else {
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value;
} }
this.Adapter.UpdateCommand.Parameters[39].Value = ((int)(idx)); if ((Original_account.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[41].Value = ((int)(Original_account.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value;
}
this.Adapter.UpdateCommand.Parameters[42].Value = ((int)(idx));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) { != global::System.Data.ConnectionState.Open)) {
@@ -5030,6 +5111,7 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
global::System.Nullable<int> otconfirm, global::System.Nullable<int> otconfirm,
global::System.Nullable<int> kuntae, global::System.Nullable<int> kuntae,
global::System.Nullable<int> holyreq, global::System.Nullable<int> holyreq,
global::System.Nullable<int> account,
int Original_idx, int Original_idx,
string Original_user, string Original_user,
string Original_gcode, string Original_gcode,
@@ -5043,8 +5125,9 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
global::System.Nullable<int> Original_kusul, global::System.Nullable<int> Original_kusul,
global::System.Nullable<int> Original_otconfirm, global::System.Nullable<int> Original_otconfirm,
global::System.Nullable<int> Original_kuntae, global::System.Nullable<int> Original_kuntae,
global::System.Nullable<int> Original_holyreq) { global::System.Nullable<int> Original_holyreq,
return this.Update(user, gcode, purchase, holyday, project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae, holyreq, Original_idx, Original_user, Original_gcode, Original_purchase, Original_holyday, Original_project, Original_jobreport, Original_savecost, Original_scheapp, Original_equipment, Original_kusul, Original_otconfirm, Original_kuntae, Original_holyreq, Original_idx); global::System.Nullable<int> Original_account) {
return this.Update(user, gcode, purchase, holyday, project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae, holyreq, account, Original_idx, Original_user, Original_gcode, Original_purchase, Original_holyday, Original_project, Original_jobreport, Original_savecost, Original_scheapp, Original_equipment, Original_kusul, Original_otconfirm, Original_kuntae, Original_holyreq, Original_account, Original_idx);
} }
} }

View File

@@ -254,7 +254,7 @@ SELECT id, password, nameE, name, dept, grade, email, level, indate, outdate, te
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Auth" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Auth" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand> <DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false"> <DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [Auth] WHERE (([idx] = @Original_idx) AND ((@IsNull_user = 1 AND [user] IS NULL) OR ([user] = @Original_user)) AND ([gcode] = @Original_gcode) AND ((@IsNull_purchase = 1 AND [purchase] IS NULL) OR ([purchase] = @Original_purchase)) AND ((@IsNull_holyday = 1 AND [holyday] IS NULL) OR ([holyday] = @Original_holyday)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_jobreport = 1 AND [jobreport] IS NULL) OR ([jobreport] = @Original_jobreport)) AND ((@IsNull_savecost = 1 AND [savecost] IS NULL) OR ([savecost] = @Original_savecost)) AND ((@IsNull_scheapp = 1 AND [scheapp] IS NULL) OR ([scheapp] = @Original_scheapp)) AND ((@IsNull_equipment = 1 AND [equipment] IS NULL) OR ([equipment] = @Original_equipment)) AND ((@IsNull_kusul = 1 AND [kusul] IS NULL) OR ([kusul] = @Original_kusul)) AND ((@IsNull_otconfirm = 1 AND [otconfirm] IS NULL) OR ([otconfirm] = @Original_otconfirm)) AND ((@IsNull_kuntae = 1 AND [kuntae] IS NULL) OR ([kuntae] = @Original_kuntae)) AND ((@IsNull_holyreq = 1 AND [holyreq] IS NULL) OR ([holyreq] = @Original_holyreq)))</CommandText> <CommandText>DELETE FROM [Auth] WHERE (([idx] = @Original_idx) AND ((@IsNull_user = 1 AND [user] IS NULL) OR ([user] = @Original_user)) AND ([gcode] = @Original_gcode) AND ((@IsNull_purchase = 1 AND [purchase] IS NULL) OR ([purchase] = @Original_purchase)) AND ((@IsNull_holyday = 1 AND [holyday] IS NULL) OR ([holyday] = @Original_holyday)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_jobreport = 1 AND [jobreport] IS NULL) OR ([jobreport] = @Original_jobreport)) AND ((@IsNull_savecost = 1 AND [savecost] IS NULL) OR ([savecost] = @Original_savecost)) AND ((@IsNull_scheapp = 1 AND [scheapp] IS NULL) OR ([scheapp] = @Original_scheapp)) AND ((@IsNull_equipment = 1 AND [equipment] IS NULL) OR ([equipment] = @Original_equipment)) AND ((@IsNull_kusul = 1 AND [kusul] IS NULL) OR ([kusul] = @Original_kusul)) AND ((@IsNull_otconfirm = 1 AND [otconfirm] IS NULL) OR ([otconfirm] = @Original_otconfirm)) AND ((@IsNull_kuntae = 1 AND [kuntae] IS NULL) OR ([kuntae] = @Original_kuntae)) AND ((@IsNull_holyreq = 1 AND [holyreq] IS NULL) OR ([holyreq] = @Original_holyreq)) AND ((@IsNull_account = 1 AND [account] IS NULL) OR ([account] = @Original_account)))</CommandText>
<Parameters> <Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_user" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="user" SourceColumnNullMapping="true" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_user" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="user" SourceColumnNullMapping="true" SourceVersion="Original" />
@@ -282,13 +282,15 @@ SELECT id, password, nameE, name, dept, grade, email, level, indate, outdate, te
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_kuntae" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kuntae" SourceColumnNullMapping="false" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_kuntae" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kuntae" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_holyreq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="holyreq" SourceColumnNullMapping="true" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_holyreq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="holyreq" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_holyreq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="holyreq" SourceColumnNullMapping="false" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_holyreq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="holyreq" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_account" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="account" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_account" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="account" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters> </Parameters>
</DbCommand> </DbCommand>
</DeleteCommand> </DeleteCommand>
<InsertCommand> <InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false"> <DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [Auth] ([user], [gcode], [purchase], [holyday], [project], [jobreport], [savecost], [scheapp], [equipment], [kusul], [otconfirm], [kuntae], [holyreq]) VALUES (@user, @gcode, @purchase, @holyday, @project, @jobreport, @savecost, @scheapp, @equipment, @kusul, @otconfirm, @kuntae, @holyreq); <CommandText>INSERT INTO [Auth] ([user], [gcode], [purchase], [holyday], [project], [jobreport], [savecost], [scheapp], [equipment], [kusul], [otconfirm], [kuntae], [holyreq], [account]) VALUES (@user, @gcode, @purchase, @holyday, @project, @jobreport, @savecost, @scheapp, @equipment, @kusul, @otconfirm, @kuntae, @holyreq, @account);
SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae, holyreq FROM Auth WHERE (idx = SCOPE_IDENTITY()) ORDER BY [user]</CommandText> SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae, holyreq, account FROM Auth WHERE (idx = SCOPE_IDENTITY()) ORDER BY [user]</CommandText>
<Parameters> <Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@user" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="user" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@user" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="user" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -303,12 +305,13 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@otconfirm" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="otconfirm" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@otconfirm" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="otconfirm" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@kuntae" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kuntae" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@kuntae" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kuntae" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@holyreq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="holyreq" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@holyreq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="holyreq" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@account" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="account" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters> </Parameters>
</DbCommand> </DbCommand>
</InsertCommand> </InsertCommand>
<SelectCommand> <SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false"> <DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae, holyreq <CommandText>SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae, holyreq, account
FROM Auth FROM Auth
WHERE (gcode = @gcode) WHERE (gcode = @gcode)
ORDER BY [user]</CommandText> ORDER BY [user]</CommandText>
@@ -319,8 +322,8 @@ ORDER BY [user]</CommandText>
</SelectCommand> </SelectCommand>
<UpdateCommand> <UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false"> <DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [Auth] SET [user] = @user, [gcode] = @gcode, [purchase] = @purchase, [holyday] = @holyday, [project] = @project, [jobreport] = @jobreport, [savecost] = @savecost, [scheapp] = @scheapp, [equipment] = @equipment, [kusul] = @kusul, [otconfirm] = @otconfirm, [kuntae] = @kuntae, [holyreq] = @holyreq WHERE (([idx] = @Original_idx) AND ((@IsNull_user = 1 AND [user] IS NULL) OR ([user] = @Original_user)) AND ([gcode] = @Original_gcode) AND ((@IsNull_purchase = 1 AND [purchase] IS NULL) OR ([purchase] = @Original_purchase)) AND ((@IsNull_holyday = 1 AND [holyday] IS NULL) OR ([holyday] = @Original_holyday)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_jobreport = 1 AND [jobreport] IS NULL) OR ([jobreport] = @Original_jobreport)) AND ((@IsNull_savecost = 1 AND [savecost] IS NULL) OR ([savecost] = @Original_savecost)) AND ((@IsNull_scheapp = 1 AND [scheapp] IS NULL) OR ([scheapp] = @Original_scheapp)) AND ((@IsNull_equipment = 1 AND [equipment] IS NULL) OR ([equipment] = @Original_equipment)) AND ((@IsNull_kusul = 1 AND [kusul] IS NULL) OR ([kusul] = @Original_kusul)) AND ((@IsNull_otconfirm = 1 AND [otconfirm] IS NULL) OR ([otconfirm] = @Original_otconfirm)) AND ((@IsNull_kuntae = 1 AND [kuntae] IS NULL) OR ([kuntae] = @Original_kuntae)) AND ((@IsNull_holyreq = 1 AND [holyreq] IS NULL) OR ([holyreq] = @Original_holyreq))); <CommandText>UPDATE [Auth] SET [user] = @user, [gcode] = @gcode, [purchase] = @purchase, [holyday] = @holyday, [project] = @project, [jobreport] = @jobreport, [savecost] = @savecost, [scheapp] = @scheapp, [equipment] = @equipment, [kusul] = @kusul, [otconfirm] = @otconfirm, [kuntae] = @kuntae, [holyreq] = @holyreq, [account] = @account WHERE (([idx] = @Original_idx) AND ((@IsNull_user = 1 AND [user] IS NULL) OR ([user] = @Original_user)) AND ([gcode] = @Original_gcode) AND ((@IsNull_purchase = 1 AND [purchase] IS NULL) OR ([purchase] = @Original_purchase)) AND ((@IsNull_holyday = 1 AND [holyday] IS NULL) OR ([holyday] = @Original_holyday)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_jobreport = 1 AND [jobreport] IS NULL) OR ([jobreport] = @Original_jobreport)) AND ((@IsNull_savecost = 1 AND [savecost] IS NULL) OR ([savecost] = @Original_savecost)) AND ((@IsNull_scheapp = 1 AND [scheapp] IS NULL) OR ([scheapp] = @Original_scheapp)) AND ((@IsNull_equipment = 1 AND [equipment] IS NULL) OR ([equipment] = @Original_equipment)) AND ((@IsNull_kusul = 1 AND [kusul] IS NULL) OR ([kusul] = @Original_kusul)) AND ((@IsNull_otconfirm = 1 AND [otconfirm] IS NULL) OR ([otconfirm] = @Original_otconfirm)) AND ((@IsNull_kuntae = 1 AND [kuntae] IS NULL) OR ([kuntae] = @Original_kuntae)) AND ((@IsNull_holyreq = 1 AND [holyreq] IS NULL) OR ([holyreq] = @Original_holyreq)) AND ((@IsNull_account = 1 AND [account] IS NULL) OR ([account] = @Original_account)));
SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae, holyreq FROM Auth WHERE (idx = @idx) ORDER BY [user]</CommandText> SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, scheapp, equipment, kusul, otconfirm, kuntae, holyreq, account FROM Auth WHERE (idx = @idx) ORDER BY [user]</CommandText>
<Parameters> <Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@user" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="user" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@user" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="user" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -335,6 +338,7 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@otconfirm" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="otconfirm" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@otconfirm" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="otconfirm" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@kuntae" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kuntae" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@kuntae" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kuntae" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@holyreq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="holyreq" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@holyreq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="holyreq" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@account" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="account" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_user" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="user" SourceColumnNullMapping="true" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_user" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="user" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_user" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="user" SourceColumnNullMapping="false" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_user" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="user" SourceColumnNullMapping="false" SourceVersion="Original" />
@@ -361,6 +365,8 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_kuntae" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kuntae" SourceColumnNullMapping="false" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_kuntae" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kuntae" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_holyreq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="holyreq" SourceColumnNullMapping="true" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_holyreq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="holyreq" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_holyreq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="holyreq" SourceColumnNullMapping="false" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_holyreq" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="holyreq" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_account" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="account" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_account" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="account" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.Auth" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.Auth" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters> </Parameters>
</DbCommand> </DbCommand>
@@ -382,6 +388,7 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
<Mapping SourceColumn="otconfirm" DataSetColumn="otconfirm" /> <Mapping SourceColumn="otconfirm" DataSetColumn="otconfirm" />
<Mapping SourceColumn="kuntae" DataSetColumn="kuntae" /> <Mapping SourceColumn="kuntae" DataSetColumn="kuntae" />
<Mapping SourceColumn="holyreq" DataSetColumn="holyreq" /> <Mapping SourceColumn="holyreq" DataSetColumn="holyreq" />
<Mapping SourceColumn="account" DataSetColumn="account" />
</Mappings> </Mappings>
<Sources /> <Sources />
</TableAdapter> </TableAdapter>
@@ -393,7 +400,7 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
<xs:element name="DSUser" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DSUser" msprop:Generator_UserDSName="DSUser"> <xs:element name="DSUser" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DSUser" msprop:Generator_UserDSName="DSUser">
<xs:complexType> <xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="UserGroup" msprop:Generator_TableClassName="UserGroupDataTable" msprop:Generator_TableVarName="tableUserGroup" msprop:Generator_TablePropName="UserGroup" msprop:Generator_RowDeletingName="UserGroupRowDeleting" msprop:Generator_RowChangingName="UserGroupRowChanging" msprop:Generator_RowEvHandlerName="UserGroupRowChangeEventHandler" msprop:Generator_RowDeletedName="UserGroupRowDeleted" msprop:Generator_UserTableName="UserGroup" msprop:Generator_RowChangedName="UserGroupRowChanged" msprop:Generator_RowEvArgName="UserGroupRowChangeEvent" msprop:Generator_RowClassName="UserGroupRow"> <xs:element name="UserGroup" msprop:Generator_TableClassName="UserGroupDataTable" msprop:Generator_TableVarName="tableUserGroup" msprop:Generator_RowChangedName="UserGroupRowChanged" msprop:Generator_TablePropName="UserGroup" msprop:Generator_RowDeletingName="UserGroupRowDeleting" msprop:Generator_RowChangingName="UserGroupRowChanging" msprop:Generator_RowEvHandlerName="UserGroupRowChangeEventHandler" msprop:Generator_RowDeletedName="UserGroupRowDeleted" msprop:Generator_RowClassName="UserGroupRow" msprop:Generator_UserTableName="UserGroup" msprop:Generator_RowEvArgName="UserGroupRowChangeEvent">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="dept" msprop:Generator_ColumnVarNameInTable="columndept" msprop:Generator_ColumnPropNameInRow="dept" msprop:Generator_ColumnPropNameInTable="deptColumn" msprop:Generator_UserColumnName="dept"> <xs:element name="dept" msprop:Generator_ColumnVarNameInTable="columndept" msprop:Generator_ColumnPropNameInRow="dept" msprop:Generator_ColumnPropNameInTable="deptColumn" msprop:Generator_UserColumnName="dept">
@@ -421,7 +428,7 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="Users" msprop:Generator_TableClassName="UsersDataTable" msprop:Generator_TableVarName="tableUsers" msprop:Generator_TablePropName="Users" msprop:Generator_RowDeletingName="UsersRowDeleting" msprop:Generator_RowChangingName="UsersRowChanging" msprop:Generator_RowEvHandlerName="UsersRowChangeEventHandler" msprop:Generator_RowDeletedName="UsersRowDeleted" msprop:Generator_UserTableName="Users" msprop:Generator_RowChangedName="UsersRowChanged" msprop:Generator_RowEvArgName="UsersRowChangeEvent" msprop:Generator_RowClassName="UsersRow"> <xs:element name="Users" msprop:Generator_TableClassName="UsersDataTable" msprop:Generator_TableVarName="tableUsers" msprop:Generator_RowChangedName="UsersRowChanged" msprop:Generator_TablePropName="Users" msprop:Generator_RowDeletingName="UsersRowDeleting" msprop:Generator_RowChangingName="UsersRowChanging" msprop:Generator_RowEvHandlerName="UsersRowChangeEventHandler" msprop:Generator_RowDeletedName="UsersRowDeleted" msprop:Generator_RowClassName="UsersRow" msprop:Generator_UserTableName="Users" msprop:Generator_RowEvArgName="UsersRowChangeEvent">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id"> <xs:element name="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id">
@@ -548,7 +555,7 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="Auth" msprop:Generator_TableClassName="AuthDataTable" msprop:Generator_TableVarName="tableAuth" msprop:Generator_TablePropName="Auth" msprop:Generator_RowDeletingName="AuthRowDeleting" msprop:Generator_RowChangingName="AuthRowChanging" msprop:Generator_RowEvHandlerName="AuthRowChangeEventHandler" msprop:Generator_RowDeletedName="AuthRowDeleted" msprop:Generator_UserTableName="Auth" msprop:Generator_RowChangedName="AuthRowChanged" msprop:Generator_RowEvArgName="AuthRowChangeEvent" msprop:Generator_RowClassName="AuthRow"> <xs:element name="Auth" msprop:Generator_TableClassName="AuthDataTable" msprop:Generator_TableVarName="tableAuth" msprop:Generator_RowChangedName="AuthRowChanged" msprop:Generator_TablePropName="Auth" msprop:Generator_RowDeletingName="AuthRowDeleting" msprop:Generator_RowChangingName="AuthRowChanging" msprop:Generator_RowEvHandlerName="AuthRowChangeEventHandler" msprop:Generator_RowDeletedName="AuthRowDeleted" msprop:Generator_RowClassName="AuthRow" msprop:Generator_UserTableName="Auth" msprop:Generator_RowEvArgName="AuthRowChangeEvent">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
@@ -576,7 +583,8 @@ SELECT idx, [user], gcode, purchase, holyday, project, jobreport, savecost, sche
<xs:element name="kusul" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="kusul" msprop:Generator_ColumnVarNameInTable="columnkusul" msprop:Generator_ColumnPropNameInTable="kusulColumn" msprop:Generator_UserColumnName="kusul" type="xs:int" minOccurs="0" /> <xs:element name="kusul" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="kusul" msprop:Generator_ColumnVarNameInTable="columnkusul" msprop:Generator_ColumnPropNameInTable="kusulColumn" msprop:Generator_UserColumnName="kusul" type="xs:int" minOccurs="0" />
<xs:element name="otconfirm" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="otconfirm" msprop:Generator_ColumnVarNameInTable="columnotconfirm" msprop:Generator_ColumnPropNameInTable="otconfirmColumn" msprop:Generator_UserColumnName="otconfirm" type="xs:int" minOccurs="0" /> <xs:element name="otconfirm" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="otconfirm" msprop:Generator_ColumnVarNameInTable="columnotconfirm" msprop:Generator_ColumnPropNameInTable="otconfirmColumn" msprop:Generator_UserColumnName="otconfirm" type="xs:int" minOccurs="0" />
<xs:element name="kuntae" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="kuntae" msprop:Generator_ColumnVarNameInTable="columnkuntae" msprop:Generator_ColumnPropNameInTable="kuntaeColumn" msprop:Generator_UserColumnName="kuntae" type="xs:int" minOccurs="0" /> <xs:element name="kuntae" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="kuntae" msprop:Generator_ColumnVarNameInTable="columnkuntae" msprop:Generator_ColumnPropNameInTable="kuntaeColumn" msprop:Generator_UserColumnName="kuntae" type="xs:int" minOccurs="0" />
<xs:element name="holyreq" msprop:Generator_ColumnVarNameInTable="columnholyreq" msprop:Generator_ColumnPropNameInRow="holyreq" msprop:Generator_ColumnPropNameInTable="holyreqColumn" msprop:Generator_UserColumnName="holyreq" type="xs:int" minOccurs="0" /> <xs:element name="holyreq" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="holyreq" msprop:Generator_ColumnVarNameInTable="columnholyreq" msprop:Generator_ColumnPropNameInTable="holyreqColumn" msprop:Generator_UserColumnName="holyreq" type="xs:int" minOccurs="0" />
<xs:element name="account" msprop:Generator_ColumnVarNameInTable="columnaccount" msprop:Generator_ColumnPropNameInRow="account" msprop:nullValue="0" msprop:Generator_ColumnPropNameInTable="accountColumn" msprop:Generator_UserColumnName="account" type="xs:int" minOccurs="0" />
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>

View File

@@ -57,16 +57,14 @@
this.ta = new FCM0000.DSUserTableAdapters.AuthTableAdapter(); this.ta = new FCM0000.DSUserTableAdapters.AuthTableAdapter();
this.arDatagridView1 = new arCtl.arDatagridView(); this.arDatagridView1 = new arCtl.arDatagridView();
this.userDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.userDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.account = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.purchaseDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.purchaseDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.holydayDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.holydayDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.projectDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.projectDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.jobreportDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.jobreportDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.savecostDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.scheappDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.scheappDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.equipmentDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.equipmentDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.kusulDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.otconfirmDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.otconfirmDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.kuntaeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.holyreqDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.holyreqDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.dSUser)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dSUser)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
@@ -105,14 +103,14 @@
this.toolStripLabel2, this.toolStripLabel2,
this.tbFind, this.tbFind,
this.btFind}); this.btFind});
this.bn.Location = new System.Drawing.Point(0, 585); this.bn.Location = new System.Drawing.Point(0, 613);
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
this.bn.Name = "bn"; this.bn.Name = "bn";
this.bn.PositionItem = this.bindingNavigatorPositionItem; this.bn.PositionItem = this.bindingNavigatorPositionItem;
this.bn.Size = new System.Drawing.Size(1168, 25); this.bn.Size = new System.Drawing.Size(1060, 25);
this.bn.TabIndex = 0; this.bn.TabIndex = 0;
this.bn.Text = "bindingNavigator1"; this.bn.Text = "bindingNavigator1";
// //
@@ -300,16 +298,14 @@
this.arDatagridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.arDatagridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.arDatagridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.arDatagridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.userDataGridViewTextBoxColumn, this.userDataGridViewTextBoxColumn,
this.account,
this.purchaseDataGridViewTextBoxColumn, this.purchaseDataGridViewTextBoxColumn,
this.holydayDataGridViewTextBoxColumn, this.holydayDataGridViewTextBoxColumn,
this.projectDataGridViewTextBoxColumn, this.projectDataGridViewTextBoxColumn,
this.jobreportDataGridViewTextBoxColumn, this.jobreportDataGridViewTextBoxColumn,
this.savecostDataGridViewTextBoxColumn,
this.scheappDataGridViewTextBoxColumn, this.scheappDataGridViewTextBoxColumn,
this.equipmentDataGridViewTextBoxColumn, this.equipmentDataGridViewTextBoxColumn,
this.kusulDataGridViewTextBoxColumn,
this.otconfirmDataGridViewTextBoxColumn, this.otconfirmDataGridViewTextBoxColumn,
this.kuntaeDataGridViewTextBoxColumn,
this.holyreqDataGridViewTextBoxColumn}); this.holyreqDataGridViewTextBoxColumn});
this.arDatagridView1.ContextMenuStrip = this.cm1; this.arDatagridView1.ContextMenuStrip = this.cm1;
this.arDatagridView1.DataSource = this.bs; this.arDatagridView1.DataSource = this.bs;
@@ -317,7 +313,7 @@
this.arDatagridView1.Location = new System.Drawing.Point(0, 0); this.arDatagridView1.Location = new System.Drawing.Point(0, 0);
this.arDatagridView1.Name = "arDatagridView1"; this.arDatagridView1.Name = "arDatagridView1";
this.arDatagridView1.RowTemplate.Height = 23; this.arDatagridView1.RowTemplate.Height = 23;
this.arDatagridView1.Size = new System.Drawing.Size(1168, 585); this.arDatagridView1.Size = new System.Drawing.Size(1060, 613);
this.arDatagridView1.TabIndex = 3; this.arDatagridView1.TabIndex = 3;
// //
// userDataGridViewTextBoxColumn // userDataGridViewTextBoxColumn
@@ -327,6 +323,13 @@
this.userDataGridViewTextBoxColumn.Name = "userDataGridViewTextBoxColumn"; this.userDataGridViewTextBoxColumn.Name = "userDataGridViewTextBoxColumn";
this.userDataGridViewTextBoxColumn.Width = 55; this.userDataGridViewTextBoxColumn.Width = 55;
// //
// account
//
this.account.DataPropertyName = "account";
this.account.HeaderText = "계정";
this.account.Name = "account";
this.account.Width = 60;
//
// purchaseDataGridViewTextBoxColumn // purchaseDataGridViewTextBoxColumn
// //
this.purchaseDataGridViewTextBoxColumn.DataPropertyName = "purchase"; this.purchaseDataGridViewTextBoxColumn.DataPropertyName = "purchase";
@@ -355,33 +358,19 @@
this.jobreportDataGridViewTextBoxColumn.Name = "jobreportDataGridViewTextBoxColumn"; this.jobreportDataGridViewTextBoxColumn.Name = "jobreportDataGridViewTextBoxColumn";
this.jobreportDataGridViewTextBoxColumn.Width = 84; this.jobreportDataGridViewTextBoxColumn.Width = 84;
// //
// savecostDataGridViewTextBoxColumn
//
this.savecostDataGridViewTextBoxColumn.DataPropertyName = "savecost";
this.savecostDataGridViewTextBoxColumn.HeaderText = "savecost";
this.savecostDataGridViewTextBoxColumn.Name = "savecostDataGridViewTextBoxColumn";
this.savecostDataGridViewTextBoxColumn.Width = 87;
//
// scheappDataGridViewTextBoxColumn // scheappDataGridViewTextBoxColumn
// //
this.scheappDataGridViewTextBoxColumn.DataPropertyName = "scheapp"; this.scheappDataGridViewTextBoxColumn.DataPropertyName = "scheapp";
this.scheappDataGridViewTextBoxColumn.HeaderText = "scheapp"; this.scheappDataGridViewTextBoxColumn.HeaderText = "스케쥴";
this.scheappDataGridViewTextBoxColumn.Name = "scheappDataGridViewTextBoxColumn"; this.scheappDataGridViewTextBoxColumn.Name = "scheappDataGridViewTextBoxColumn";
this.scheappDataGridViewTextBoxColumn.Width = 85; this.scheappDataGridViewTextBoxColumn.Width = 72;
// //
// equipmentDataGridViewTextBoxColumn // equipmentDataGridViewTextBoxColumn
// //
this.equipmentDataGridViewTextBoxColumn.DataPropertyName = "equipment"; this.equipmentDataGridViewTextBoxColumn.DataPropertyName = "equipment";
this.equipmentDataGridViewTextBoxColumn.HeaderText = "equipment"; this.equipmentDataGridViewTextBoxColumn.HeaderText = "장비목록";
this.equipmentDataGridViewTextBoxColumn.Name = "equipmentDataGridViewTextBoxColumn"; this.equipmentDataGridViewTextBoxColumn.Name = "equipmentDataGridViewTextBoxColumn";
this.equipmentDataGridViewTextBoxColumn.Width = 95; this.equipmentDataGridViewTextBoxColumn.Width = 84;
//
// kusulDataGridViewTextBoxColumn
//
this.kusulDataGridViewTextBoxColumn.DataPropertyName = "kusul";
this.kusulDataGridViewTextBoxColumn.HeaderText = "kusul";
this.kusulDataGridViewTextBoxColumn.Name = "kusulDataGridViewTextBoxColumn";
this.kusulDataGridViewTextBoxColumn.Width = 66;
// //
// otconfirmDataGridViewTextBoxColumn // otconfirmDataGridViewTextBoxColumn
// //
@@ -390,14 +379,6 @@
this.otconfirmDataGridViewTextBoxColumn.Name = "otconfirmDataGridViewTextBoxColumn"; this.otconfirmDataGridViewTextBoxColumn.Name = "otconfirmDataGridViewTextBoxColumn";
this.otconfirmDataGridViewTextBoxColumn.Width = 77; this.otconfirmDataGridViewTextBoxColumn.Width = 77;
// //
// kuntaeDataGridViewTextBoxColumn
//
this.kuntaeDataGridViewTextBoxColumn.DataPropertyName = "kuntae";
this.kuntaeDataGridViewTextBoxColumn.HeaderText = "kuntae";
this.kuntaeDataGridViewTextBoxColumn.Name = "kuntaeDataGridViewTextBoxColumn";
this.kuntaeDataGridViewTextBoxColumn.Visible = false;
this.kuntaeDataGridViewTextBoxColumn.Width = 73;
//
// holyreqDataGridViewTextBoxColumn // holyreqDataGridViewTextBoxColumn
// //
this.holyreqDataGridViewTextBoxColumn.DataPropertyName = "holyreq"; this.holyreqDataGridViewTextBoxColumn.DataPropertyName = "holyreq";
@@ -409,7 +390,7 @@
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1168, 610); this.ClientSize = new System.Drawing.Size(1060, 638);
this.ContextMenuStrip = this.cm1; this.ContextMenuStrip = this.cm1;
this.Controls.Add(this.arDatagridView1); this.Controls.Add(this.arDatagridView1);
this.Controls.Add(this.bn); this.Controls.Add(this.bn);
@@ -459,16 +440,14 @@
private DSUserTableAdapters.AuthTableAdapter ta; private DSUserTableAdapters.AuthTableAdapter ta;
private arCtl.arDatagridView arDatagridView1; private arCtl.arDatagridView arDatagridView1;
private System.Windows.Forms.DataGridViewTextBoxColumn userDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewTextBoxColumn userDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn account;
private System.Windows.Forms.DataGridViewTextBoxColumn purchaseDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewTextBoxColumn purchaseDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn holydayDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewTextBoxColumn holydayDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn projectDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewTextBoxColumn projectDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn jobreportDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewTextBoxColumn jobreportDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn savecostDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn scheappDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewTextBoxColumn scheappDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn equipmentDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewTextBoxColumn equipmentDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn kusulDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn otconfirmDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewTextBoxColumn otconfirmDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn kuntaeDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn holyreqDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewTextBoxColumn holyreqDataGridViewTextBoxColumn;
} }
} }

View File

@@ -235,4 +235,7 @@
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>377, 17</value> <value>377, 17</value>
</metadata> </metadata>
<metadata name="account.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root> </root>

View File

@@ -18,7 +18,8 @@ namespace FCOMMON
equipment, equipment,
otconfirm, otconfirm,
kuntae, kuntae,
holyreq holyreq,
account
} }
public static int getAuth(eAuthType type, string uid) public static int getAuth(eAuthType type, string uid)
{ {