...
This commit is contained in:
		| @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; | |||||||
| // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 | ||||||
| // 지정되도록 할 수 있습니다. | // 지정되도록 할 수 있습니다. | ||||||
| // [assembly: AssemblyVersion("1.0.*")] | // [assembly: AssemblyVersion("1.0.*")] | ||||||
| [assembly: AssemblyVersion("22.04.20.1420")] | [assembly: AssemblyVersion("22.04.22.1430")] | ||||||
| [assembly: AssemblyFileVersion("22.04.20.1420")] | [assembly: AssemblyFileVersion("22.04.22.1430")] | ||||||
|   | |||||||
							
								
								
									
										916
									
								
								SubProject/FBS0000/Holiday/fErrorChk.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										916
									
								
								SubProject/FBS0000/Holiday/fErrorChk.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -29,378 +29,546 @@ namespace FBS0000.Holiday | |||||||
|         /// </summary> |         /// </summary> | ||||||
|         private void InitializeComponent() |         private void InitializeComponent() | ||||||
|         { |         { | ||||||
|             this.label1 = new System.Windows.Forms.Label(); | 			this.btChk = new System.Windows.Forms.Button(); | ||||||
|             this.dtSD = new System.Windows.Forms.TextBox(); | 			this.btCorr = new System.Windows.Forms.Button(); | ||||||
|             this.dtED = new System.Windows.Forms.TextBox(); | 			this.progressBar1 = new System.Windows.Forms.ProgressBar(); | ||||||
|             this.label2 = new System.Windows.Forms.Label(); | 			this.tbDate = new System.Windows.Forms.TextBox(); | ||||||
|             this.btChk = new System.Windows.Forms.Button(); | 			this.textBox2 = new System.Windows.Forms.TextBox(); | ||||||
|             this.btCorr = new System.Windows.Forms.Button(); | 			this.label4 = new System.Windows.Forms.Label(); | ||||||
|             this.progressBar1 = new System.Windows.Forms.ProgressBar(); | 			this.label5 = new System.Windows.Forms.Label(); | ||||||
|             this.tbDate = new System.Windows.Forms.TextBox(); | 			this.textBox3 = new System.Windows.Forms.TextBox(); | ||||||
|             this.textBox2 = new System.Windows.Forms.TextBox(); | 			this.label6 = new System.Windows.Forms.Label(); | ||||||
|             this.label4 = new System.Windows.Forms.Label(); | 			this.label7 = new System.Windows.Forms.Label(); | ||||||
|             this.label5 = new System.Windows.Forms.Label(); | 			this.textBox4 = new System.Windows.Forms.TextBox(); | ||||||
|             this.textBox3 = new System.Windows.Forms.TextBox(); | 			this.label8 = new System.Windows.Forms.Label(); | ||||||
|             this.label6 = new System.Windows.Forms.Label(); | 			this.groupBox1 = new System.Windows.Forms.GroupBox(); | ||||||
|             this.label7 = new System.Windows.Forms.Label(); | 			this.groupBox2 = new System.Windows.Forms.GroupBox(); | ||||||
|             this.textBox4 = new System.Windows.Forms.TextBox(); | 			this.textBox7 = new System.Windows.Forms.TextBox(); | ||||||
|             this.label8 = new System.Windows.Forms.Label(); | 			this.label3 = new System.Windows.Forms.Label(); | ||||||
|             this.groupBox1 = new System.Windows.Forms.GroupBox(); | 			this.textBox8 = new System.Windows.Forms.TextBox(); | ||||||
|             this.groupBox2 = new System.Windows.Forms.GroupBox(); | 			this.label10 = new System.Windows.Forms.Label(); | ||||||
|             this.textBox5 = new System.Windows.Forms.TextBox(); | 			this.textBox5 = new System.Windows.Forms.TextBox(); | ||||||
|             this.label9 = new System.Windows.Forms.Label(); | 			this.label9 = new System.Windows.Forms.Label(); | ||||||
|             this.textBox6 = new System.Windows.Forms.TextBox(); | 			this.textBox6 = new System.Windows.Forms.TextBox(); | ||||||
|             this.label11 = new System.Windows.Forms.Label(); | 			this.label11 = new System.Windows.Forms.Label(); | ||||||
|             this.label12 = new System.Windows.Forms.Label(); | 			this.label12 = new System.Windows.Forms.Label(); | ||||||
|             this.textBox7 = new System.Windows.Forms.TextBox(); | 			this.lvNG = new System.Windows.Forms.ListView(); | ||||||
|             this.label3 = new System.Windows.Forms.Label(); | 			this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||||
|             this.textBox8 = new System.Windows.Forms.TextBox(); | 			this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||||
|             this.label10 = new System.Windows.Forms.Label(); | 			this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||||
|             this.listView1 = new System.Windows.Forms.ListView(); | 			this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||||
|             this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | 			this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||||
|             this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | 			this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||||
|             this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | 			this.panel1 = new System.Windows.Forms.Panel(); | ||||||
|             this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | 			this.panel2 = new System.Windows.Forms.Panel(); | ||||||
|             this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | 			this.panel3 = new System.Windows.Forms.Panel(); | ||||||
|             this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | 			this.groupBox3 = new System.Windows.Forms.GroupBox(); | ||||||
|             this.groupBox1.SuspendLayout(); | 			this.panel4 = new System.Windows.Forms.Panel(); | ||||||
|             this.groupBox2.SuspendLayout(); | 			this.panel5 = new System.Windows.Forms.Panel(); | ||||||
|             this.SuspendLayout(); | 			this.button1 = new System.Windows.Forms.Button(); | ||||||
|             //  | 			this.button2 = new System.Windows.Forms.Button(); | ||||||
|             // label1 | 			this.button3 = new System.Windows.Forms.Button(); | ||||||
|             //  | 			this.dtSD = new System.Windows.Forms.DateTimePicker(); | ||||||
|             this.label1.AutoSize = true; | 			this.dtED = new System.Windows.Forms.DateTimePicker(); | ||||||
|             this.label1.Location = new System.Drawing.Point(28, 24); | 			this.lvOK = new System.Windows.Forms.ListView(); | ||||||
|             this.label1.Name = "label1"; | 			this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||||
|             this.label1.Size = new System.Drawing.Size(29, 12); | 			this.columnHeader8 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||||
|             this.label1.TabIndex = 0; | 			this.columnHeader9 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||||
|             this.label1.Text = "기간"; | 			this.columnHeader10 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||||
|             //  | 			this.columnHeader11 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||||
|             // dtSD | 			this.columnHeader12 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); | ||||||
|             //  | 			this.groupBox4 = new System.Windows.Forms.GroupBox(); | ||||||
|             this.dtSD.Location = new System.Drawing.Point(64, 19); | 			this.groupBox5 = new System.Windows.Forms.GroupBox(); | ||||||
|             this.dtSD.Name = "dtSD"; | 			this.groupBox1.SuspendLayout(); | ||||||
|             this.dtSD.Size = new System.Drawing.Size(100, 21); | 			this.groupBox2.SuspendLayout(); | ||||||
|             this.dtSD.TabIndex = 1; | 			this.panel2.SuspendLayout(); | ||||||
|             //  | 			this.groupBox3.SuspendLayout(); | ||||||
|             // dtED | 			this.groupBox4.SuspendLayout(); | ||||||
|             //  | 			this.groupBox5.SuspendLayout(); | ||||||
|             this.dtED.Location = new System.Drawing.Point(193, 19); | 			this.SuspendLayout(); | ||||||
|             this.dtED.Name = "dtED"; | 			//  | ||||||
|             this.dtED.Size = new System.Drawing.Size(100, 21); | 			// btChk | ||||||
|             this.dtED.TabIndex = 3; | 			//  | ||||||
|             //  | 			this.btChk.Dock = System.Windows.Forms.DockStyle.Top; | ||||||
|             // label2 | 			this.btChk.Font = new System.Drawing.Font("맑은 고딕", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||||
|             //  | 			this.btChk.Location = new System.Drawing.Point(5, 5); | ||||||
|             this.label2.AutoSize = true; | 			this.btChk.Name = "btChk"; | ||||||
|             this.label2.Location = new System.Drawing.Point(172, 24); | 			this.btChk.Size = new System.Drawing.Size(734, 82); | ||||||
|             this.label2.Name = "label2"; | 			this.btChk.TabIndex = 5; | ||||||
|             this.label2.Size = new System.Drawing.Size(14, 12); | 			this.btChk.Text = "검사"; | ||||||
|             this.label2.TabIndex = 2; | 			this.btChk.UseVisualStyleBackColor = true; | ||||||
|             this.label2.Text = "~"; | 			this.btChk.Click += new System.EventHandler(this.button1_Click); | ||||||
|             //  | 			//  | ||||||
|             // btChk | 			// btCorr | ||||||
|             //  | 			//  | ||||||
|             this.btChk.Location = new System.Drawing.Point(472, 10); | 			this.btCorr.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||||
|             this.btChk.Name = "btChk"; | 			this.btCorr.Location = new System.Drawing.Point(5, 879); | ||||||
|             this.btChk.Size = new System.Drawing.Size(189, 36); | 			this.btCorr.Name = "btCorr"; | ||||||
|             this.btChk.TabIndex = 5; | 			this.btCorr.Size = new System.Drawing.Size(734, 54); | ||||||
|             this.btChk.Text = "검사"; | 			this.btCorr.TabIndex = 6; | ||||||
|             this.btChk.UseVisualStyleBackColor = true; | 			this.btCorr.Text = "오류 수정"; | ||||||
|             this.btChk.Click += new System.EventHandler(this.button1_Click); | 			this.btCorr.UseVisualStyleBackColor = true; | ||||||
|             //  | 			this.btCorr.Click += new System.EventHandler(this.button2_Click); | ||||||
|             // btCorr | 			//  | ||||||
|             //  | 			// progressBar1 | ||||||
|             this.btCorr.Dock = System.Windows.Forms.DockStyle.Bottom; | 			//  | ||||||
|             this.btCorr.Location = new System.Drawing.Point(5, 566); | 			this.progressBar1.Dock = System.Windows.Forms.DockStyle.Bottom; | ||||||
|             this.btCorr.Name = "btCorr"; | 			this.progressBar1.Location = new System.Drawing.Point(5, 861); | ||||||
|             this.btCorr.Size = new System.Drawing.Size(671, 54); | 			this.progressBar1.Name = "progressBar1"; | ||||||
|             this.btCorr.TabIndex = 6; | 			this.progressBar1.Size = new System.Drawing.Size(734, 18); | ||||||
|             this.btCorr.Text = "오류 수정"; | 			this.progressBar1.TabIndex = 7; | ||||||
|             this.btCorr.UseVisualStyleBackColor = true; | 			//  | ||||||
|             this.btCorr.Click += new System.EventHandler(this.button2_Click); | 			// tbDate | ||||||
|             //  | 			//  | ||||||
|             // progressBar1 | 			this.tbDate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); | ||||||
|             //  | 			this.tbDate.Dock = System.Windows.Forms.DockStyle.Top; | ||||||
|             this.progressBar1.Dock = System.Windows.Forms.DockStyle.Bottom; | 			this.tbDate.Font = new System.Drawing.Font("맑은 고딕", 48F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||||
|             this.progressBar1.Location = new System.Drawing.Point(5, 548); | 			this.tbDate.ForeColor = System.Drawing.Color.Lime; | ||||||
|             this.progressBar1.Name = "progressBar1"; | 			this.tbDate.Location = new System.Drawing.Point(5, 156); | ||||||
|             this.progressBar1.Size = new System.Drawing.Size(671, 18); | 			this.tbDate.Name = "tbDate"; | ||||||
|             this.progressBar1.TabIndex = 7; | 			this.tbDate.Size = new System.Drawing.Size(734, 93); | ||||||
|             //  | 			this.tbDate.TabIndex = 9; | ||||||
|             // tbDate | 			this.tbDate.Text = "1982-11-23"; | ||||||
|             //  | 			this.tbDate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||||
|             this.tbDate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); | 			//  | ||||||
|             this.tbDate.Font = new System.Drawing.Font("맑은 고딕", 48F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | 			// textBox2 | ||||||
|             this.tbDate.ForeColor = System.Drawing.Color.Lime; | 			//  | ||||||
|             this.tbDate.Location = new System.Drawing.Point(22, 56); | 			this.textBox2.Location = new System.Drawing.Point(198, 98); | ||||||
|             this.tbDate.Name = "tbDate"; | 			this.textBox2.Name = "textBox2"; | ||||||
|             this.tbDate.Size = new System.Drawing.Size(639, 93); | 			this.textBox2.Size = new System.Drawing.Size(100, 21); | ||||||
|             this.tbDate.TabIndex = 9; | 			this.textBox2.TabIndex = 9; | ||||||
|             this.tbDate.Text = "1982-11-23"; | 			//  | ||||||
|             this.tbDate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | 			// label4 | ||||||
|             //  | 			//  | ||||||
|             // textBox2 | 			this.label4.AutoSize = true; | ||||||
|             //  | 			this.label4.Location = new System.Drawing.Point(216, 79); | ||||||
|             this.textBox2.Location = new System.Drawing.Point(198, 98); | 			this.label4.Name = "label4"; | ||||||
|             this.textBox2.Name = "textBox2"; | 			this.label4.Size = new System.Drawing.Size(63, 12); | ||||||
|             this.textBox2.Size = new System.Drawing.Size(100, 21); | 			this.label4.TabIndex = 8; | ||||||
|             this.textBox2.TabIndex = 9; | 			this.label4.Text = "발생(시간)"; | ||||||
|             //  | 			//  | ||||||
|             // label4 | 			// label5 | ||||||
|             //  | 			//  | ||||||
|             this.label4.AutoSize = true; | 			this.label5.AutoSize = true; | ||||||
|             this.label4.Location = new System.Drawing.Point(216, 79); | 			this.label5.Location = new System.Drawing.Point(15, 101); | ||||||
|             this.label4.Name = "label4"; | 			this.label5.Name = "label5"; | ||||||
|             this.label4.Size = new System.Drawing.Size(63, 12); | 			this.label5.Size = new System.Drawing.Size(53, 12); | ||||||
|             this.label4.TabIndex = 8; | 			this.label5.TabIndex = 8; | ||||||
|             this.label4.Text = "발생(시간)"; | 			this.label5.Text = "업무일지"; | ||||||
|             //  | 			//  | ||||||
|             // label5 | 			// textBox3 | ||||||
|             //  | 			//  | ||||||
|             this.label5.AutoSize = true; | 			this.textBox3.Location = new System.Drawing.Point(85, 47); | ||||||
|             this.label5.Location = new System.Drawing.Point(15, 101); | 			this.textBox3.Name = "textBox3"; | ||||||
|             this.label5.Name = "label5"; | 			this.textBox3.Size = new System.Drawing.Size(100, 21); | ||||||
|             this.label5.Size = new System.Drawing.Size(53, 12); | 			this.textBox3.TabIndex = 11; | ||||||
|             this.label5.TabIndex = 8; | 			//  | ||||||
|             this.label5.Text = "업무일지"; | 			// label6 | ||||||
|             //  | 			//  | ||||||
|             // textBox3 | 			this.label6.AutoSize = true; | ||||||
|             //  | 			this.label6.Location = new System.Drawing.Point(103, 28); | ||||||
|             this.textBox3.Location = new System.Drawing.Point(85, 47); | 			this.label6.Name = "label6"; | ||||||
|             this.textBox3.Name = "textBox3"; | 			this.label6.Size = new System.Drawing.Size(51, 12); | ||||||
|             this.textBox3.Size = new System.Drawing.Size(100, 21); | 			this.label6.TabIndex = 10; | ||||||
|             this.textBox3.TabIndex = 11; | 			this.label6.Text = "사용(일)"; | ||||||
|             //  | 			//  | ||||||
|             // label6 | 			// label7 | ||||||
|             //  | 			//  | ||||||
|             this.label6.AutoSize = true; | 			this.label7.AutoSize = true; | ||||||
|             this.label6.Location = new System.Drawing.Point(103, 28); | 			this.label7.Location = new System.Drawing.Point(15, 51); | ||||||
|             this.label6.Name = "label6"; | 			this.label7.Name = "label7"; | ||||||
|             this.label6.Size = new System.Drawing.Size(51, 12); | 			this.label7.Size = new System.Drawing.Size(53, 12); | ||||||
|             this.label6.TabIndex = 10; | 			this.label7.TabIndex = 8; | ||||||
|             this.label6.Text = "사용(일)"; | 			this.label7.Text = "휴가신청"; | ||||||
|             //  | 			//  | ||||||
|             // label7 | 			// textBox4 | ||||||
|             //  | 			//  | ||||||
|             this.label7.AutoSize = true; | 			this.textBox4.Location = new System.Drawing.Point(198, 48); | ||||||
|             this.label7.Location = new System.Drawing.Point(15, 51); | 			this.textBox4.Name = "textBox4"; | ||||||
|             this.label7.Name = "label7"; | 			this.textBox4.Size = new System.Drawing.Size(100, 21); | ||||||
|             this.label7.Size = new System.Drawing.Size(53, 12); | 			this.textBox4.TabIndex = 13; | ||||||
|             this.label7.TabIndex = 8; | 			//  | ||||||
|             this.label7.Text = "휴가신청"; | 			// label8 | ||||||
|             //  | 			//  | ||||||
|             // textBox4 | 			this.label8.AutoSize = true; | ||||||
|             //  | 			this.label8.Location = new System.Drawing.Point(216, 29); | ||||||
|             this.textBox4.Location = new System.Drawing.Point(198, 48); | 			this.label8.Name = "label8"; | ||||||
|             this.textBox4.Name = "textBox4"; | 			this.label8.Size = new System.Drawing.Size(63, 12); | ||||||
|             this.textBox4.Size = new System.Drawing.Size(100, 21); | 			this.label8.TabIndex = 12; | ||||||
|             this.textBox4.TabIndex = 13; | 			this.label8.Text = "사용(시간)"; | ||||||
|             //  | 			//  | ||||||
|             // label8 | 			// groupBox1 | ||||||
|             //  | 			//  | ||||||
|             this.label8.AutoSize = true; | 			this.groupBox1.Controls.Add(this.textBox4); | ||||||
|             this.label8.Location = new System.Drawing.Point(216, 29); | 			this.groupBox1.Controls.Add(this.label4); | ||||||
|             this.label8.Name = "label8"; | 			this.groupBox1.Controls.Add(this.label8); | ||||||
|             this.label8.Size = new System.Drawing.Size(63, 12); | 			this.groupBox1.Controls.Add(this.label5); | ||||||
|             this.label8.TabIndex = 12; | 			this.groupBox1.Controls.Add(this.textBox3); | ||||||
|             this.label8.Text = "사용(시간)"; | 			this.groupBox1.Controls.Add(this.label7); | ||||||
|             //  | 			this.groupBox1.Controls.Add(this.label6); | ||||||
|             // groupBox1 | 			this.groupBox1.Controls.Add(this.textBox2); | ||||||
|             //  | 			this.groupBox1.Dock = System.Windows.Forms.DockStyle.Left; | ||||||
|             this.groupBox1.Controls.Add(this.textBox4); | 			this.groupBox1.Location = new System.Drawing.Point(0, 0); | ||||||
|             this.groupBox1.Controls.Add(this.label4); | 			this.groupBox1.Name = "groupBox1"; | ||||||
|             this.groupBox1.Controls.Add(this.label8); | 			this.groupBox1.Size = new System.Drawing.Size(314, 130); | ||||||
|             this.groupBox1.Controls.Add(this.label5); | 			this.groupBox1.TabIndex = 14; | ||||||
|             this.groupBox1.Controls.Add(this.textBox3); | 			this.groupBox1.TabStop = false; | ||||||
|             this.groupBox1.Controls.Add(this.label7); | 			this.groupBox1.Text = "입력값(업무일지/휴가신청)"; | ||||||
|             this.groupBox1.Controls.Add(this.label6); | 			//  | ||||||
|             this.groupBox1.Controls.Add(this.textBox2); | 			// groupBox2 | ||||||
|             this.groupBox1.Location = new System.Drawing.Point(22, 161); | 			//  | ||||||
|             this.groupBox1.Name = "groupBox1"; | 			this.groupBox2.Controls.Add(this.textBox7); | ||||||
|             this.groupBox1.Size = new System.Drawing.Size(314, 134); | 			this.groupBox2.Controls.Add(this.label3); | ||||||
|             this.groupBox1.TabIndex = 14; | 			this.groupBox2.Controls.Add(this.textBox8); | ||||||
|             this.groupBox1.TabStop = false; | 			this.groupBox2.Controls.Add(this.label10); | ||||||
|             this.groupBox1.Text = "입력값(업무일지/휴가신청)"; | 			this.groupBox2.Controls.Add(this.textBox5); | ||||||
|             //  | 			this.groupBox2.Controls.Add(this.label9); | ||||||
|             // groupBox2 | 			this.groupBox2.Controls.Add(this.textBox6); | ||||||
|             //  | 			this.groupBox2.Controls.Add(this.label11); | ||||||
|             this.groupBox2.Controls.Add(this.textBox7); | 			this.groupBox2.Controls.Add(this.label12); | ||||||
|             this.groupBox2.Controls.Add(this.label3); | 			this.groupBox2.Dock = System.Windows.Forms.DockStyle.Right; | ||||||
|             this.groupBox2.Controls.Add(this.textBox8); | 			this.groupBox2.Location = new System.Drawing.Point(420, 0); | ||||||
|             this.groupBox2.Controls.Add(this.label10); | 			this.groupBox2.Name = "groupBox2"; | ||||||
|             this.groupBox2.Controls.Add(this.textBox5); | 			this.groupBox2.Size = new System.Drawing.Size(314, 130); | ||||||
|             this.groupBox2.Controls.Add(this.label9); | 			this.groupBox2.TabIndex = 14; | ||||||
|             this.groupBox2.Controls.Add(this.textBox6); | 			this.groupBox2.TabStop = false; | ||||||
|             this.groupBox2.Controls.Add(this.label11); | 			this.groupBox2.Text = "자동생성값(근태입력)"; | ||||||
|             this.groupBox2.Controls.Add(this.label12); | 			//  | ||||||
|             this.groupBox2.Location = new System.Drawing.Point(347, 161); | 			// textBox7 | ||||||
|             this.groupBox2.Name = "groupBox2"; | 			//  | ||||||
|             this.groupBox2.Size = new System.Drawing.Size(314, 134); | 			this.textBox7.Location = new System.Drawing.Point(199, 99); | ||||||
|             this.groupBox2.TabIndex = 14; | 			this.textBox7.Name = "textBox7"; | ||||||
|             this.groupBox2.TabStop = false; | 			this.textBox7.Size = new System.Drawing.Size(100, 21); | ||||||
|             this.groupBox2.Text = "자동생성값(근태입력)"; | 			this.textBox7.TabIndex = 17; | ||||||
|             //  | 			//  | ||||||
|             // textBox5 | 			// label3 | ||||||
|             //  | 			//  | ||||||
|             this.textBox5.Location = new System.Drawing.Point(199, 48); | 			this.label3.AutoSize = true; | ||||||
|             this.textBox5.Name = "textBox5"; | 			this.label3.Location = new System.Drawing.Point(217, 80); | ||||||
|             this.textBox5.Size = new System.Drawing.Size(100, 21); | 			this.label3.Name = "label3"; | ||||||
|             this.textBox5.TabIndex = 13; | 			this.label3.Size = new System.Drawing.Size(63, 12); | ||||||
|             //  | 			this.label3.TabIndex = 16; | ||||||
|             // label9 | 			this.label3.Text = "발생(시간)"; | ||||||
|             //  | 			//  | ||||||
|             this.label9.AutoSize = true; | 			// textBox8 | ||||||
|             this.label9.Location = new System.Drawing.Point(217, 29); | 			//  | ||||||
|             this.label9.Name = "label9"; | 			this.textBox8.Location = new System.Drawing.Point(86, 98); | ||||||
|             this.label9.Size = new System.Drawing.Size(63, 12); | 			this.textBox8.Name = "textBox8"; | ||||||
|             this.label9.TabIndex = 12; | 			this.textBox8.Size = new System.Drawing.Size(100, 21); | ||||||
|             this.label9.Text = "사용(시간)"; | 			this.textBox8.TabIndex = 15; | ||||||
|             //  | 			//  | ||||||
|             // textBox6 | 			// label10 | ||||||
|             //  | 			//  | ||||||
|             this.textBox6.Location = new System.Drawing.Point(86, 47); | 			this.label10.AutoSize = true; | ||||||
|             this.textBox6.Name = "textBox6"; | 			this.label10.Location = new System.Drawing.Point(104, 79); | ||||||
|             this.textBox6.Size = new System.Drawing.Size(100, 21); | 			this.label10.Name = "label10"; | ||||||
|             this.textBox6.TabIndex = 11; | 			this.label10.Size = new System.Drawing.Size(51, 12); | ||||||
|             //  | 			this.label10.TabIndex = 14; | ||||||
|             // label11 | 			this.label10.Text = "발생(일)"; | ||||||
|             //  | 			//  | ||||||
|             this.label11.AutoSize = true; | 			// textBox5 | ||||||
|             this.label11.Location = new System.Drawing.Point(19, 51); | 			//  | ||||||
|             this.label11.Name = "label11"; | 			this.textBox5.Location = new System.Drawing.Point(199, 48); | ||||||
|             this.label11.Size = new System.Drawing.Size(53, 12); | 			this.textBox5.Name = "textBox5"; | ||||||
|             this.label11.TabIndex = 8; | 			this.textBox5.Size = new System.Drawing.Size(100, 21); | ||||||
|             this.label11.Text = "근태입력"; | 			this.textBox5.TabIndex = 13; | ||||||
|             //  | 			//  | ||||||
|             // label12 | 			// label9 | ||||||
|             //  | 			//  | ||||||
|             this.label12.AutoSize = true; | 			this.label9.AutoSize = true; | ||||||
|             this.label12.Location = new System.Drawing.Point(104, 28); | 			this.label9.Location = new System.Drawing.Point(217, 29); | ||||||
|             this.label12.Name = "label12"; | 			this.label9.Name = "label9"; | ||||||
|             this.label12.Size = new System.Drawing.Size(51, 12); | 			this.label9.Size = new System.Drawing.Size(63, 12); | ||||||
|             this.label12.TabIndex = 10; | 			this.label9.TabIndex = 12; | ||||||
|             this.label12.Text = "사용(일)"; | 			this.label9.Text = "사용(시간)"; | ||||||
|             //  | 			//  | ||||||
|             // textBox7 | 			// textBox6 | ||||||
|             //  | 			//  | ||||||
|             this.textBox7.Location = new System.Drawing.Point(199, 99); | 			this.textBox6.Location = new System.Drawing.Point(86, 47); | ||||||
|             this.textBox7.Name = "textBox7"; | 			this.textBox6.Name = "textBox6"; | ||||||
|             this.textBox7.Size = new System.Drawing.Size(100, 21); | 			this.textBox6.Size = new System.Drawing.Size(100, 21); | ||||||
|             this.textBox7.TabIndex = 17; | 			this.textBox6.TabIndex = 11; | ||||||
|             //  | 			//  | ||||||
|             // label3 | 			// label11 | ||||||
|             //  | 			//  | ||||||
|             this.label3.AutoSize = true; | 			this.label11.AutoSize = true; | ||||||
|             this.label3.Location = new System.Drawing.Point(217, 80); | 			this.label11.Location = new System.Drawing.Point(19, 51); | ||||||
|             this.label3.Name = "label3"; | 			this.label11.Name = "label11"; | ||||||
|             this.label3.Size = new System.Drawing.Size(63, 12); | 			this.label11.Size = new System.Drawing.Size(53, 12); | ||||||
|             this.label3.TabIndex = 16; | 			this.label11.TabIndex = 8; | ||||||
|             this.label3.Text = "발생(시간)"; | 			this.label11.Text = "근태입력"; | ||||||
|             //  | 			//  | ||||||
|             // textBox8 | 			// label12 | ||||||
|             //  | 			//  | ||||||
|             this.textBox8.Location = new System.Drawing.Point(86, 98); | 			this.label12.AutoSize = true; | ||||||
|             this.textBox8.Name = "textBox8"; | 			this.label12.Location = new System.Drawing.Point(104, 28); | ||||||
|             this.textBox8.Size = new System.Drawing.Size(100, 21); | 			this.label12.Name = "label12"; | ||||||
|             this.textBox8.TabIndex = 15; | 			this.label12.Size = new System.Drawing.Size(51, 12); | ||||||
|             //  | 			this.label12.TabIndex = 10; | ||||||
|             // label10 | 			this.label12.Text = "사용(일)"; | ||||||
|             //  | 			//  | ||||||
|             this.label10.AutoSize = true; | 			// lvNG | ||||||
|             this.label10.Location = new System.Drawing.Point(104, 79); | 			//  | ||||||
|             this.label10.Name = "label10"; | 			this.lvNG.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { | ||||||
|             this.label10.Size = new System.Drawing.Size(51, 12); |  | ||||||
|             this.label10.TabIndex = 14; |  | ||||||
|             this.label10.Text = "발생(일)"; |  | ||||||
|             //  |  | ||||||
|             // listView1 |  | ||||||
|             //  |  | ||||||
|             this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { |  | ||||||
|             this.columnHeader1, |             this.columnHeader1, | ||||||
|             this.columnHeader6, |             this.columnHeader6, | ||||||
|             this.columnHeader2, |             this.columnHeader2, | ||||||
|             this.columnHeader3, |             this.columnHeader3, | ||||||
|             this.columnHeader4, |             this.columnHeader4, | ||||||
|             this.columnHeader5}); |             this.columnHeader5}); | ||||||
|             this.listView1.Dock = System.Windows.Forms.DockStyle.Bottom; | 			this.lvNG.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|             this.listView1.HideSelection = false; | 			this.lvNG.HideSelection = false; | ||||||
|             this.listView1.Location = new System.Drawing.Point(5, 306); | 			this.lvNG.Location = new System.Drawing.Point(3, 17); | ||||||
|             this.listView1.Name = "listView1"; | 			this.lvNG.Name = "lvNG"; | ||||||
|             this.listView1.Size = new System.Drawing.Size(671, 242); | 			this.lvNG.Size = new System.Drawing.Size(728, 278); | ||||||
|             this.listView1.TabIndex = 15; | 			this.lvNG.TabIndex = 15; | ||||||
|             this.listView1.UseCompatibleStateImageBehavior = false; | 			this.lvNG.UseCompatibleStateImageBehavior = false; | ||||||
|             this.listView1.View = System.Windows.Forms.View.Details; | 			this.lvNG.View = System.Windows.Forms.View.Details; | ||||||
|             this.listView1.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged); | 			this.lvNG.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged); | ||||||
|             //  | 			//  | ||||||
|             // columnHeader1 | 			// columnHeader1 | ||||||
|             //  | 			//  | ||||||
|             this.columnHeader1.Text = "일자"; | 			this.columnHeader1.Text = "일자"; | ||||||
|             this.columnHeader1.Width = 100; | 			this.columnHeader1.Width = 100; | ||||||
|             //  | 			//  | ||||||
|             // columnHeader2 | 			// columnHeader6 | ||||||
|             //  | 			//  | ||||||
|             this.columnHeader2.Text = "발생(일)"; | 			this.columnHeader6.Text = "구분"; | ||||||
|             this.columnHeader2.Width = 110; | 			this.columnHeader6.Width = 100; | ||||||
|             //  | 			//  | ||||||
|             // columnHeader3 | 			// columnHeader2 | ||||||
|             //  | 			//  | ||||||
|             this.columnHeader3.Text = "발생(시간)"; | 			this.columnHeader2.Text = "발생(일)"; | ||||||
|             this.columnHeader3.Width = 110; | 			this.columnHeader2.Width = 110; | ||||||
|             //  | 			//  | ||||||
|             // columnHeader4 | 			// columnHeader3 | ||||||
|             //  | 			//  | ||||||
|             this.columnHeader4.Text = "사용(일)"; | 			this.columnHeader3.Text = "발생(시간)"; | ||||||
|             this.columnHeader4.Width = 110; | 			this.columnHeader3.Width = 110; | ||||||
|             //  | 			//  | ||||||
|             // columnHeader5 | 			// columnHeader4 | ||||||
|             //  | 			//  | ||||||
|             this.columnHeader5.Text = "사용(시간)"; | 			this.columnHeader4.Text = "사용(일)"; | ||||||
|             this.columnHeader5.Width = 110; | 			this.columnHeader4.Width = 110; | ||||||
|             //  | 			//  | ||||||
|             // columnHeader6 | 			// columnHeader5 | ||||||
|             //  | 			//  | ||||||
|             this.columnHeader6.Text = "구분"; | 			this.columnHeader5.Text = "사용(시간)"; | ||||||
|             this.columnHeader6.Width = 100; | 			this.columnHeader5.Width = 110; | ||||||
|             //  | 			//  | ||||||
|             // fErrorChk | 			// panel1 | ||||||
|             //  | 			//  | ||||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | 			this.panel1.Dock = System.Windows.Forms.DockStyle.Top; | ||||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | 			this.panel1.Location = new System.Drawing.Point(5, 389); | ||||||
|             this.ClientSize = new System.Drawing.Size(681, 625); | 			this.panel1.Name = "panel1"; | ||||||
|             this.Controls.Add(this.listView1); | 			this.panel1.Size = new System.Drawing.Size(734, 10); | ||||||
|             this.Controls.Add(this.groupBox2); | 			this.panel1.TabIndex = 16; | ||||||
|             this.Controls.Add(this.groupBox1); | 			//  | ||||||
|             this.Controls.Add(this.tbDate); | 			// panel2 | ||||||
|             this.Controls.Add(this.progressBar1); | 			//  | ||||||
|             this.Controls.Add(this.btCorr); | 			this.panel2.Controls.Add(this.groupBox2); | ||||||
|             this.Controls.Add(this.btChk); | 			this.panel2.Controls.Add(this.groupBox1); | ||||||
|             this.Controls.Add(this.dtED); | 			this.panel2.Dock = System.Windows.Forms.DockStyle.Top; | ||||||
|             this.Controls.Add(this.label2); | 			this.panel2.Location = new System.Drawing.Point(5, 259); | ||||||
|             this.Controls.Add(this.dtSD); | 			this.panel2.Name = "panel2"; | ||||||
|             this.Controls.Add(this.label1); | 			this.panel2.Size = new System.Drawing.Size(734, 130); | ||||||
|             this.MaximizeBox = false; | 			this.panel2.TabIndex = 17; | ||||||
|             this.MinimizeBox = false; | 			//  | ||||||
|             this.Name = "fErrorChk"; | 			// panel3 | ||||||
|             this.Padding = new System.Windows.Forms.Padding(5); | 			//  | ||||||
|             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | 			this.panel3.Dock = System.Windows.Forms.DockStyle.Top; | ||||||
|             this.Text = "근태 자료 오류 확인"; | 			this.panel3.Location = new System.Drawing.Point(5, 249); | ||||||
|             this.Load += new System.EventHandler(this.fErrorChk_Load); | 			this.panel3.Name = "panel3"; | ||||||
|             this.groupBox1.ResumeLayout(false); | 			this.panel3.Size = new System.Drawing.Size(734, 10); | ||||||
|             this.groupBox1.PerformLayout(); | 			this.panel3.TabIndex = 18; | ||||||
|             this.groupBox2.ResumeLayout(false); | 			//  | ||||||
|             this.groupBox2.PerformLayout(); | 			// groupBox3 | ||||||
|             this.ResumeLayout(false); | 			//  | ||||||
|             this.PerformLayout(); | 			this.groupBox3.Controls.Add(this.dtED); | ||||||
|  | 			this.groupBox3.Controls.Add(this.dtSD); | ||||||
|  | 			this.groupBox3.Controls.Add(this.button3); | ||||||
|  | 			this.groupBox3.Controls.Add(this.button2); | ||||||
|  | 			this.groupBox3.Controls.Add(this.button1); | ||||||
|  | 			this.groupBox3.Dock = System.Windows.Forms.DockStyle.Top; | ||||||
|  | 			this.groupBox3.Location = new System.Drawing.Point(5, 97); | ||||||
|  | 			this.groupBox3.Name = "groupBox3"; | ||||||
|  | 			this.groupBox3.Size = new System.Drawing.Size(734, 49); | ||||||
|  | 			this.groupBox3.TabIndex = 20; | ||||||
|  | 			this.groupBox3.TabStop = false; | ||||||
|  | 			this.groupBox3.Text = "검사기간"; | ||||||
|  | 			//  | ||||||
|  | 			// panel4 | ||||||
|  | 			//  | ||||||
|  | 			this.panel4.Dock = System.Windows.Forms.DockStyle.Top; | ||||||
|  | 			this.panel4.Location = new System.Drawing.Point(5, 146); | ||||||
|  | 			this.panel4.Name = "panel4"; | ||||||
|  | 			this.panel4.Size = new System.Drawing.Size(734, 10); | ||||||
|  | 			this.panel4.TabIndex = 21; | ||||||
|  | 			//  | ||||||
|  | 			// panel5 | ||||||
|  | 			//  | ||||||
|  | 			this.panel5.Dock = System.Windows.Forms.DockStyle.Top; | ||||||
|  | 			this.panel5.Location = new System.Drawing.Point(5, 87); | ||||||
|  | 			this.panel5.Name = "panel5"; | ||||||
|  | 			this.panel5.Size = new System.Drawing.Size(734, 10); | ||||||
|  | 			this.panel5.TabIndex = 22; | ||||||
|  | 			//  | ||||||
|  | 			// button1 | ||||||
|  | 			//  | ||||||
|  | 			this.button1.Dock = System.Windows.Forms.DockStyle.Right; | ||||||
|  | 			this.button1.Location = new System.Drawing.Point(631, 17); | ||||||
|  | 			this.button1.Name = "button1"; | ||||||
|  | 			this.button1.Size = new System.Drawing.Size(100, 29); | ||||||
|  | 			this.button1.TabIndex = 4; | ||||||
|  | 			this.button1.Text = "다음달 >>"; | ||||||
|  | 			this.button1.UseVisualStyleBackColor = true; | ||||||
|  | 			this.button1.Click += new System.EventHandler(this.button1_Click_1); | ||||||
|  | 			//  | ||||||
|  | 			// button2 | ||||||
|  | 			//  | ||||||
|  | 			this.button2.Dock = System.Windows.Forms.DockStyle.Right; | ||||||
|  | 			this.button2.Location = new System.Drawing.Point(531, 17); | ||||||
|  | 			this.button2.Name = "button2"; | ||||||
|  | 			this.button2.Size = new System.Drawing.Size(100, 29); | ||||||
|  | 			this.button2.TabIndex = 5; | ||||||
|  | 			this.button2.Text = "이번달"; | ||||||
|  | 			this.button2.UseVisualStyleBackColor = true; | ||||||
|  | 			this.button2.Click += new System.EventHandler(this.button2_Click_1); | ||||||
|  | 			//  | ||||||
|  | 			// button3 | ||||||
|  | 			//  | ||||||
|  | 			this.button3.Dock = System.Windows.Forms.DockStyle.Right; | ||||||
|  | 			this.button3.Location = new System.Drawing.Point(431, 17); | ||||||
|  | 			this.button3.Name = "button3"; | ||||||
|  | 			this.button3.Size = new System.Drawing.Size(100, 29); | ||||||
|  | 			this.button3.TabIndex = 6; | ||||||
|  | 			this.button3.Text = "<< 이전달"; | ||||||
|  | 			this.button3.UseVisualStyleBackColor = true; | ||||||
|  | 			this.button3.Click += new System.EventHandler(this.button3_Click); | ||||||
|  | 			//  | ||||||
|  | 			// dtSD | ||||||
|  | 			//  | ||||||
|  | 			this.dtSD.Location = new System.Drawing.Point(17, 20); | ||||||
|  | 			this.dtSD.Name = "dtSD"; | ||||||
|  | 			this.dtSD.Size = new System.Drawing.Size(200, 21); | ||||||
|  | 			this.dtSD.TabIndex = 7; | ||||||
|  | 			//  | ||||||
|  | 			// dtED | ||||||
|  | 			//  | ||||||
|  | 			this.dtED.Location = new System.Drawing.Point(223, 20); | ||||||
|  | 			this.dtED.Name = "dtED"; | ||||||
|  | 			this.dtED.Size = new System.Drawing.Size(200, 21); | ||||||
|  | 			this.dtED.TabIndex = 8; | ||||||
|  | 			//  | ||||||
|  | 			// lvOK | ||||||
|  | 			//  | ||||||
|  | 			this.lvOK.BackColor = System.Drawing.Color.Silver; | ||||||
|  | 			this.lvOK.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { | ||||||
|  |             this.columnHeader7, | ||||||
|  |             this.columnHeader8, | ||||||
|  |             this.columnHeader9, | ||||||
|  |             this.columnHeader10, | ||||||
|  |             this.columnHeader11, | ||||||
|  |             this.columnHeader12}); | ||||||
|  | 			this.lvOK.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|  | 			this.lvOK.HideSelection = false; | ||||||
|  | 			this.lvOK.Location = new System.Drawing.Point(3, 17); | ||||||
|  | 			this.lvOK.Name = "lvOK"; | ||||||
|  | 			this.lvOK.Size = new System.Drawing.Size(728, 144); | ||||||
|  | 			this.lvOK.TabIndex = 23; | ||||||
|  | 			this.lvOK.UseCompatibleStateImageBehavior = false; | ||||||
|  | 			this.lvOK.View = System.Windows.Forms.View.Details; | ||||||
|  | 			//  | ||||||
|  | 			// columnHeader7 | ||||||
|  | 			//  | ||||||
|  | 			this.columnHeader7.Text = "일자"; | ||||||
|  | 			this.columnHeader7.Width = 100; | ||||||
|  | 			//  | ||||||
|  | 			// columnHeader8 | ||||||
|  | 			//  | ||||||
|  | 			this.columnHeader8.Text = "구분"; | ||||||
|  | 			this.columnHeader8.Width = 100; | ||||||
|  | 			//  | ||||||
|  | 			// columnHeader9 | ||||||
|  | 			//  | ||||||
|  | 			this.columnHeader9.Text = "발생(일)"; | ||||||
|  | 			this.columnHeader9.Width = 110; | ||||||
|  | 			//  | ||||||
|  | 			// columnHeader10 | ||||||
|  | 			//  | ||||||
|  | 			this.columnHeader10.Text = "발생(시간)"; | ||||||
|  | 			this.columnHeader10.Width = 110; | ||||||
|  | 			//  | ||||||
|  | 			// columnHeader11 | ||||||
|  | 			//  | ||||||
|  | 			this.columnHeader11.Text = "사용(일)"; | ||||||
|  | 			this.columnHeader11.Width = 110; | ||||||
|  | 			//  | ||||||
|  | 			// columnHeader12 | ||||||
|  | 			//  | ||||||
|  | 			this.columnHeader12.Text = "사용(시간)"; | ||||||
|  | 			this.columnHeader12.Width = 110; | ||||||
|  | 			//  | ||||||
|  | 			// groupBox4 | ||||||
|  | 			//  | ||||||
|  | 			this.groupBox4.Controls.Add(this.lvOK); | ||||||
|  | 			this.groupBox4.Dock = System.Windows.Forms.DockStyle.Top; | ||||||
|  | 			this.groupBox4.Location = new System.Drawing.Point(5, 399); | ||||||
|  | 			this.groupBox4.Name = "groupBox4"; | ||||||
|  | 			this.groupBox4.Size = new System.Drawing.Size(734, 164); | ||||||
|  | 			this.groupBox4.TabIndex = 24; | ||||||
|  | 			this.groupBox4.TabStop = false; | ||||||
|  | 			this.groupBox4.Text = "정상"; | ||||||
|  | 			//  | ||||||
|  | 			// groupBox5 | ||||||
|  | 			//  | ||||||
|  | 			this.groupBox5.Controls.Add(this.lvNG); | ||||||
|  | 			this.groupBox5.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|  | 			this.groupBox5.Location = new System.Drawing.Point(5, 563); | ||||||
|  | 			this.groupBox5.Name = "groupBox5"; | ||||||
|  | 			this.groupBox5.Size = new System.Drawing.Size(734, 298); | ||||||
|  | 			this.groupBox5.TabIndex = 25; | ||||||
|  | 			this.groupBox5.TabStop = false; | ||||||
|  | 			this.groupBox5.Text = "불량 (불일치 데이터가 있는 날짜 입니다)"; | ||||||
|  | 			//  | ||||||
|  | 			// fErrorChk | ||||||
|  | 			//  | ||||||
|  | 			this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||||
|  | 			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||||
|  | 			this.ClientSize = new System.Drawing.Size(744, 938); | ||||||
|  | 			this.Controls.Add(this.groupBox5); | ||||||
|  | 			this.Controls.Add(this.groupBox4); | ||||||
|  | 			this.Controls.Add(this.panel1); | ||||||
|  | 			this.Controls.Add(this.panel2); | ||||||
|  | 			this.Controls.Add(this.panel3); | ||||||
|  | 			this.Controls.Add(this.tbDate); | ||||||
|  | 			this.Controls.Add(this.panel4); | ||||||
|  | 			this.Controls.Add(this.groupBox3); | ||||||
|  | 			this.Controls.Add(this.panel5); | ||||||
|  | 			this.Controls.Add(this.btChk); | ||||||
|  | 			this.Controls.Add(this.progressBar1); | ||||||
|  | 			this.Controls.Add(this.btCorr); | ||||||
|  | 			this.MaximizeBox = false; | ||||||
|  | 			this.MinimizeBox = false; | ||||||
|  | 			this.Name = "fErrorChk"; | ||||||
|  | 			this.Padding = new System.Windows.Forms.Padding(5); | ||||||
|  | 			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||||
|  | 			this.Text = "근태 자료 오류 확인"; | ||||||
|  | 			this.Load += new System.EventHandler(this.fErrorChk_Load); | ||||||
|  | 			this.groupBox1.ResumeLayout(false); | ||||||
|  | 			this.groupBox1.PerformLayout(); | ||||||
|  | 			this.groupBox2.ResumeLayout(false); | ||||||
|  | 			this.groupBox2.PerformLayout(); | ||||||
|  | 			this.panel2.ResumeLayout(false); | ||||||
|  | 			this.groupBox3.ResumeLayout(false); | ||||||
|  | 			this.groupBox4.ResumeLayout(false); | ||||||
|  | 			this.groupBox5.ResumeLayout(false); | ||||||
|  | 			this.ResumeLayout(false); | ||||||
|  | 			this.PerformLayout(); | ||||||
|  |  | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         #endregion |         #endregion | ||||||
|  |  | ||||||
|         private System.Windows.Forms.Label label1; |  | ||||||
|         private System.Windows.Forms.TextBox dtSD; |  | ||||||
|         private System.Windows.Forms.TextBox dtED; |  | ||||||
|         private System.Windows.Forms.Label label2; |  | ||||||
|         private System.Windows.Forms.Button btChk; |         private System.Windows.Forms.Button btChk; | ||||||
|         private System.Windows.Forms.Button btCorr; |         private System.Windows.Forms.Button btCorr; | ||||||
|         private System.Windows.Forms.ProgressBar progressBar1; |         private System.Windows.Forms.ProgressBar progressBar1; | ||||||
| @@ -424,12 +592,32 @@ namespace FBS0000.Holiday | |||||||
|         private System.Windows.Forms.Label label3; |         private System.Windows.Forms.Label label3; | ||||||
|         private System.Windows.Forms.TextBox textBox8; |         private System.Windows.Forms.TextBox textBox8; | ||||||
|         private System.Windows.Forms.Label label10; |         private System.Windows.Forms.Label label10; | ||||||
|         private System.Windows.Forms.ListView listView1; |         private System.Windows.Forms.ListView lvNG; | ||||||
|         private System.Windows.Forms.ColumnHeader columnHeader1; |         private System.Windows.Forms.ColumnHeader columnHeader1; | ||||||
|         private System.Windows.Forms.ColumnHeader columnHeader6; |         private System.Windows.Forms.ColumnHeader columnHeader6; | ||||||
|         private System.Windows.Forms.ColumnHeader columnHeader2; |         private System.Windows.Forms.ColumnHeader columnHeader2; | ||||||
|         private System.Windows.Forms.ColumnHeader columnHeader3; |         private System.Windows.Forms.ColumnHeader columnHeader3; | ||||||
|         private System.Windows.Forms.ColumnHeader columnHeader4; |         private System.Windows.Forms.ColumnHeader columnHeader4; | ||||||
|         private System.Windows.Forms.ColumnHeader columnHeader5; |         private System.Windows.Forms.ColumnHeader columnHeader5; | ||||||
|     } | 		private System.Windows.Forms.Panel panel1; | ||||||
|  | 		private System.Windows.Forms.Panel panel2; | ||||||
|  | 		private System.Windows.Forms.Panel panel3; | ||||||
|  | 		private System.Windows.Forms.GroupBox groupBox3; | ||||||
|  | 		private System.Windows.Forms.Panel panel4; | ||||||
|  | 		private System.Windows.Forms.Panel panel5; | ||||||
|  | 		private System.Windows.Forms.Button button3; | ||||||
|  | 		private System.Windows.Forms.Button button2; | ||||||
|  | 		private System.Windows.Forms.Button button1; | ||||||
|  | 		private System.Windows.Forms.DateTimePicker dtED; | ||||||
|  | 		private System.Windows.Forms.DateTimePicker dtSD; | ||||||
|  | 		private System.Windows.Forms.ListView lvOK; | ||||||
|  | 		private System.Windows.Forms.ColumnHeader columnHeader7; | ||||||
|  | 		private System.Windows.Forms.ColumnHeader columnHeader8; | ||||||
|  | 		private System.Windows.Forms.ColumnHeader columnHeader9; | ||||||
|  | 		private System.Windows.Forms.ColumnHeader columnHeader10; | ||||||
|  | 		private System.Windows.Forms.ColumnHeader columnHeader11; | ||||||
|  | 		private System.Windows.Forms.ColumnHeader columnHeader12; | ||||||
|  | 		private System.Windows.Forms.GroupBox groupBox4; | ||||||
|  | 		private System.Windows.Forms.GroupBox groupBox5; | ||||||
|  | 	} | ||||||
| } | } | ||||||
| @@ -10,253 +10,284 @@ using System.Windows.Forms; | |||||||
|  |  | ||||||
| namespace FBS0000.Holiday | namespace FBS0000.Holiday | ||||||
| { | { | ||||||
|     public partial class fErrorChk : Form | 	public partial class fErrorChk : Form | ||||||
|     { | 	{ | ||||||
|         public fErrorChk() | 		public fErrorChk() | ||||||
|         { | 		{ | ||||||
|             InitializeComponent(); | 			InitializeComponent(); | ||||||
|  |  | ||||||
|             dtSD.KeyDown += dtSD_KeyDown; | 			//dtSD.KeyDown += dtSD_KeyDown; | ||||||
|             dtED.KeyDown += dtSD_KeyDown; | 			//dtED.KeyDown += dtSD_KeyDown; | ||||||
|         } | 		} | ||||||
|         private void fErrorChk_Load(object sender, EventArgs e) | 		private void fErrorChk_Load(object sender, EventArgs e) | ||||||
|         { | 		{ | ||||||
|             dtSD.Text = DateTime.Now.ToString("yyyy-MM") + "-01"; | 			//기본 이번달 설정한다 | ||||||
|             dtED.Text = DateTime.Now.ToShortDateString(); | 			button2.PerformClick(); | ||||||
|         } | 		} | ||||||
|  |  | ||||||
|         void dtSD_KeyDown(object sender, KeyEventArgs e) | 		//void dtSD_KeyDown(object sender, KeyEventArgs e) | ||||||
|         { | 		//{ | ||||||
|             if (e.KeyCode != Keys.Enter) return; | 		//    if (e.KeyCode != Keys.Enter) return; | ||||||
|             var tb = sender as TextBox; | 		//    var tb = sender as TextBox; | ||||||
|             var input = tb.Text.Trim(); | 		//    var input = tb.Text.Trim(); | ||||||
|             if (input == "") tb.Text = DateTime.Now.ToShortDateString(); | 		//    if (input == "") tb.Text = DateTime.Now.ToShortDateString(); | ||||||
|             else | 		//    else | ||||||
|             { | 		//    { | ||||||
|                 string dt = string.Empty; | 		//        string dt = string.Empty; | ||||||
|                 if (!FCOMMON.Util.MakeDateString(input, out dt)) | 		//        if (!FCOMMON.Util.MakeDateString(input, out dt)) | ||||||
|                 { | 		//        { | ||||||
|                     FCOMMON.Util.MsgE("입력값이 올바르지 않습니다."); | 		//            FCOMMON.Util.MsgE("입력값이 올바르지 않습니다."); | ||||||
|                     tb.SelectAll(); | 		//            tb.SelectAll(); | ||||||
|                     tb.Focus(); | 		//            tb.Focus(); | ||||||
|                     return; | 		//            return; | ||||||
|                 } | 		//        } | ||||||
|                 else | 		//        else | ||||||
|                 { | 		//        { | ||||||
|                     tb.Text = dt; | 		//            tb.Text = dt; | ||||||
|                 } | 		//        } | ||||||
|             } | 		//    } | ||||||
|             if (tb == dtSD) | 		//    if (tb == dtSD) | ||||||
|             { | 		//    { | ||||||
|                 dtED.Focus(); | 		//        dtED.Focus(); | ||||||
|                 dtED.SelectAll(); | 		//        dtED.SelectAll(); | ||||||
|             } | 		//    } | ||||||
|             else | 		//    else | ||||||
|             { | 		//    { | ||||||
|                 // btSearch.PerformClick(); | 		//        // btSearch.PerformClick(); | ||||||
|                 tb.SelectAll(); | 		//        tb.SelectAll(); | ||||||
|             } | 		//    } | ||||||
|         } | 		//} | ||||||
|  |  | ||||||
|         private void listView1_SelectedIndexChanged(object sender, EventArgs e) | 		private void listView1_SelectedIndexChanged(object sender, EventArgs e) | ||||||
|         { | 		{ | ||||||
|  |  | ||||||
|         } | 		} | ||||||
|         private void button1_Click(object sender, EventArgs e) | 		private void button1_Click(object sender, EventArgs e) | ||||||
|         { | 		{ | ||||||
|             //검사버튼 | 			//검사버튼 | ||||||
|             this.listView1.CheckBoxes = true; | 			this.lvNG.CheckBoxes = true; | ||||||
|             var sd = DateTime.Parse(dtSD.Text); | 			var sd = DateTime.Parse(dtSD.Text); | ||||||
|             var ed = DateTime.Parse(dtED.Text); | 			var ed = DateTime.Parse(dtED.Text); | ||||||
|             var idx = 0; | 			var idx = 0; | ||||||
|  |  | ||||||
|             var gcode = FCOMMON.info.Login.gcode; | 			var gcode = FCOMMON.info.Login.gcode; | ||||||
|             var id = FCOMMON.info.Login.no; | 			var id = FCOMMON.info.Login.no; | ||||||
|  |  | ||||||
|             var cn = FCOMMON.DBM.getCn(); | 			var cn = FCOMMON.DBM.getCn(); | ||||||
|             cn.Open(); | 			cn.Open(); | ||||||
|             var cmd = new System.Data.SqlClient.SqlCommand("", cn); | 			var cmd = new System.Data.SqlClient.SqlCommand("", cn); | ||||||
|             cmd.Parameters.Add("gcode", SqlDbType.VarChar).Value = gcode; | 			cmd.Parameters.Add("gcode", SqlDbType.VarChar).Value = gcode; | ||||||
|             cmd.Parameters.Add("uid", SqlDbType.VarChar).Value = id; | 			cmd.Parameters.Add("uid", SqlDbType.VarChar).Value = id; | ||||||
|  |  | ||||||
|             listView1.Items.Clear(); | 			lvOK.Items.Clear(); | ||||||
|             listView1.FullRowSelect = true; | 			lvOK.FullRowSelect = true; | ||||||
|             while (true) | 			lvOK.CheckBoxes = false; | ||||||
|             { |  | ||||||
|                 var CD = sd.AddDays(idx++); |  | ||||||
|                 if (CD > ed) break; |  | ||||||
|                 var pdate = CD.ToShortDateString(); |  | ||||||
|                 tbDate.Text = pdate; |  | ||||||
|                 Application.DoEvents(); |  | ||||||
|  |  | ||||||
|                 //이날짜의 업무일지 발생데이터를 확인 | 			lvNG.Items.Clear(); | ||||||
|                 cmd.CommandText = "select sum(isnull(ot2,0)) from jobreport where gcode = @gcode and pdate='{0}' and isnull(ot,0) >0 and isnull(ot2,0) > 0"; | 			lvNG.FullRowSelect = true; | ||||||
|                 cmd.CommandText = string.Format(cmd.CommandText, pdate); | 			lvNG.CheckBoxes = true; | ||||||
|  |  | ||||||
|  | 			while (true) | ||||||
|  | 			{ | ||||||
|  | 				var CD = sd.AddDays(idx++); | ||||||
|  | 				if (CD > ed) break; | ||||||
|  | 				var pdate = CD.ToShortDateString(); | ||||||
|  | 				tbDate.Text = pdate; | ||||||
|  | 				Application.DoEvents(); | ||||||
|  |  | ||||||
|  | 				//이날짜의 업무일지 발생데이터를 확인 | ||||||
|  | 				cmd.CommandText = "select sum(isnull(ot2,0)) from jobreport where gcode = @gcode and pdate='{0}' and isnull(ot,0) >0 and isnull(ot2,0) > 0"; | ||||||
|  | 				cmd.CommandText = string.Format(cmd.CommandText, pdate); | ||||||
|  |  | ||||||
|  |  | ||||||
|                 var obj_jobreport = cmd.ExecuteScalar().ToString(); | 				var obj_jobreport = cmd.ExecuteScalar().ToString(); | ||||||
|                 double val_jobreport = 0.0; | 				double val_jobreport = 0.0; | ||||||
|                 if (string.IsNullOrEmpty(obj_jobreport) == false) val_jobreport = double.Parse(obj_jobreport); | 				if (string.IsNullOrEmpty(obj_jobreport) == false) val_jobreport = double.Parse(obj_jobreport); | ||||||
|                 textBox2.Tag = val_jobreport;// db_jobreport.Sum(t => t.kisulamt); | 				textBox2.Tag = val_jobreport;// db_jobreport.Sum(t => t.kisulamt); | ||||||
|                 textBox2.Text = textBox2.Tag.ToString(); | 				textBox2.Text = textBox2.Tag.ToString(); | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|                 //휴가신청확인 | 				//휴가신청확인 | ||||||
|                 cmd.CommandText = "select sum(HolyDays),sum(HolyTimes) from EETGW_HolydayRequest where gcode = @gcode and sdate = '{0}' and isnull(conf,0) = 1"; | 				cmd.CommandText = "select sum(HolyDays),sum(HolyTimes) from EETGW_HolydayRequest where gcode = @gcode and sdate = '{0}' and isnull(conf,0) = 1"; | ||||||
|                 cmd.CommandText = string.Format(cmd.CommandText, pdate); | 				cmd.CommandText = string.Format(cmd.CommandText, pdate); | ||||||
|                 var dar = cmd.ExecuteReader(); | 				var dar = cmd.ExecuteReader(); | ||||||
|                 double val_day = 0; | 				double val_day = 0; | ||||||
|                 double val_time = 0; | 				double val_time = 0; | ||||||
|                 while (dar.Read()) | 				while (dar.Read()) | ||||||
|                 { | 				{ | ||||||
|                     var str_day = dar[0].ToString(); | 					var str_day = dar[0].ToString(); | ||||||
|                     var str_time = dar[1].ToString(); | 					var str_time = dar[1].ToString(); | ||||||
|                     if (string.IsNullOrEmpty(str_day) == false) val_day = double.Parse(str_day); | 					if (string.IsNullOrEmpty(str_day) == false) val_day = double.Parse(str_day); | ||||||
|                     if (string.IsNullOrEmpty(str_time) == false) val_time = double.Parse(str_time); | 					if (string.IsNullOrEmpty(str_time) == false) val_time = double.Parse(str_time); | ||||||
|                 } | 				} | ||||||
|                 textBox3.Tag = val_day;// db_jobreport.Sum(t => t.kisulamt); | 				textBox3.Tag = val_day;// db_jobreport.Sum(t => t.kisulamt); | ||||||
|                 textBox3.Text = textBox3.Tag.ToString(); | 				textBox3.Text = textBox3.Tag.ToString(); | ||||||
|                 textBox4.Tag = val_time;// db_jobreport.Sum(t => t.kisulamt); | 				textBox4.Tag = val_time;// db_jobreport.Sum(t => t.kisulamt); | ||||||
|                 textBox4.Text = textBox4.Tag.ToString(); | 				textBox4.Text = textBox4.Tag.ToString(); | ||||||
|                 dar.Close(); | 				dar.Close(); | ||||||
|  |  | ||||||
|  |  | ||||||
|                 //근태입력자료확인 | 				//근태입력자료확인 | ||||||
|                 cmd.CommandText = "select sum(term)  ,sum(crtime),sum(termdr),sum(drtime)" + | 				cmd.CommandText = "select sum(term)  ,sum(crtime),sum(termdr),sum(drtime)" + | ||||||
|                     " from Holyday " + | 					" from Holyday " + | ||||||
|                     " where gcode = @gcode and sdate = '{0}'  and isnull(extidx,-1) <> -1"; | 					" where gcode = @gcode and sdate = '{0}'  and isnull(extidx,-1) <> -1"; | ||||||
|  |  | ||||||
|                 cmd.CommandText = string.Format(cmd.CommandText, pdate); | 				cmd.CommandText = string.Format(cmd.CommandText, pdate); | ||||||
|                 dar = cmd.ExecuteReader(); | 				dar = cmd.ExecuteReader(); | ||||||
|                 val_day = 0; | 				val_day = 0; | ||||||
|                 val_time = 0; | 				val_time = 0; | ||||||
|                 double val_day_dr = 0; | 				double val_day_dr = 0; | ||||||
|                 double val_time_dr = 0; | 				double val_time_dr = 0; | ||||||
|                 while (dar.Read()) | 				while (dar.Read()) | ||||||
|                 { | 				{ | ||||||
|                     var str_day_cr = dar[0].ToString(); | 					var str_day_cr = dar[0].ToString(); | ||||||
|                     var str_time_cr = dar[1].ToString(); | 					var str_time_cr = dar[1].ToString(); | ||||||
|                     var str_day_dr = dar[2].ToString(); | 					var str_day_dr = dar[2].ToString(); | ||||||
|                     var str_time_dr = dar[3].ToString(); | 					var str_time_dr = dar[3].ToString(); | ||||||
|  |  | ||||||
|                     if (string.IsNullOrEmpty(str_day_cr) == false) val_day = double.Parse(str_day_cr); | 					if (string.IsNullOrEmpty(str_day_cr) == false) val_day = double.Parse(str_day_cr); | ||||||
|                     if (string.IsNullOrEmpty(str_time_cr) == false) val_time = double.Parse(str_time_cr); | 					if (string.IsNullOrEmpty(str_time_cr) == false) val_time = double.Parse(str_time_cr); | ||||||
|  |  | ||||||
|                     if (string.IsNullOrEmpty(str_day_dr) == false) val_day_dr = double.Parse(str_day_dr); | 					if (string.IsNullOrEmpty(str_day_dr) == false) val_day_dr = double.Parse(str_day_dr); | ||||||
|                     if (string.IsNullOrEmpty(str_time_dr) == false) val_time_dr = double.Parse(str_time_dr); | 					if (string.IsNullOrEmpty(str_time_dr) == false) val_time_dr = double.Parse(str_time_dr); | ||||||
|                 } | 				} | ||||||
|                 dar.Close(); | 				dar.Close(); | ||||||
|                 textBox6.Tag = val_day;// db_jobreport.Sum(t => t.kisulamt); | 				textBox6.Tag = val_day;// db_jobreport.Sum(t => t.kisulamt); | ||||||
|                 textBox6.Text = textBox6.Tag.ToString(); | 				textBox6.Text = textBox6.Tag.ToString(); | ||||||
|                 textBox5.Tag = val_time;// db_jobreport.Sum(t => t.kisulamt); | 				textBox5.Tag = val_time;// db_jobreport.Sum(t => t.kisulamt); | ||||||
|                 textBox5.Text = textBox5.Tag.ToString(); | 				textBox5.Text = textBox5.Tag.ToString(); | ||||||
|  |  | ||||||
|                 textBox8.Tag = val_day_dr;// db_jobreport.Sum(t => t.kisulamt); | 				textBox8.Tag = val_day_dr;// db_jobreport.Sum(t => t.kisulamt); | ||||||
|                 textBox8.Text = textBox8.Tag.ToString(); | 				textBox8.Text = textBox8.Tag.ToString(); | ||||||
|                 textBox7.Tag = val_time_dr;// db_jobreport.Sum(t => t.kisulamt); | 				textBox7.Tag = val_time_dr;// db_jobreport.Sum(t => t.kisulamt); | ||||||
|                 textBox7.Text = textBox7.Tag.ToString(); | 				textBox7.Text = textBox7.Tag.ToString(); | ||||||
|  |  | ||||||
|                 var lv = this.listView1.Items.Add(pdate); |  | ||||||
|                 lv.SubItems.Add("입력/생성"); |  | ||||||
|                 lv.SubItems.Add($"--/{textBox8.Text}"); |  | ||||||
|                 lv.SubItems.Add($"{textBox2.Text}/{textBox7.Text}"); |  | ||||||
|                 lv.SubItems.Add($"{textBox3.Text}/{textBox6.Text}"); |  | ||||||
|                 lv.SubItems.Add($"{textBox4.Text}/{textBox5.Text}"); |  | ||||||
|  |  | ||||||
|                 if (textBox2.Text.Equals(textBox7.Text) == false) lv.ForeColor = Color.Tomato; |  | ||||||
|                 if (textBox3.Text.Equals(textBox6.Text) == false) lv.ForeColor = Color.Tomato; |  | ||||||
|                 if (textBox4.Text.Equals(textBox5.Text) == false) lv.ForeColor = Color.Tomato; |  | ||||||
|  |  | ||||||
|                 if (lv.ForeColor == Color.Tomato) lv.Checked = true; |  | ||||||
|  |  | ||||||
|                 //if (val_jobreport > 0) break; |  | ||||||
|             } |  | ||||||
|             cn.Dispose(); |  | ||||||
|  |  | ||||||
|         } |  | ||||||
|  |  | ||||||
|         private void button2_Click(object sender, EventArgs e) |  | ||||||
|         { |  | ||||||
|             //오류수정버튼 |  | ||||||
|  |  | ||||||
|             if (listView1.CheckedItems.Count < 1) |  | ||||||
|             { |  | ||||||
|                 FCOMMON.Util.MsgE("정정할 자료가 선택되지 않았습니다"); |  | ||||||
|                 return; |  | ||||||
|             } |  | ||||||
|  |  | ||||||
|             if (FCOMMON.Util.MsgQ("재 생성 할까요?") != DialogResult.Yes) return; |  | ||||||
|  |  | ||||||
|  |  | ||||||
|             //검사버튼 | 				bool dataError = false; | ||||||
|             var sd = DateTime.Parse(dtSD.Text); | 				if (textBox2.Text.Equals(textBox7.Text) == false) dataError = true; | ||||||
|             var ed = DateTime.Parse(dtED.Text); | 				if (textBox3.Text.Equals(textBox6.Text) == false) dataError = true; | ||||||
|      //       var idx = 0; | 				if (textBox4.Text.Equals(textBox5.Text) == false) dataError = true; | ||||||
|  |  | ||||||
|             var gcode = FCOMMON.info.Login.gcode; |  | ||||||
|             var id = FCOMMON.info.Login.no; |  | ||||||
|  |  | ||||||
|             var cn = FCOMMON.DBM.getCn(); |  | ||||||
|             cn.Open(); |  | ||||||
|             var cmd = new System.Data.SqlClient.SqlCommand("", cn); |  | ||||||
|             cmd.Parameters.Add("gcode", SqlDbType.VarChar).Value = gcode; |  | ||||||
|             cmd.Parameters.Add("uid", SqlDbType.VarChar).Value = id; |  | ||||||
|             cmd.Parameters.Add("pdate", SqlDbType.VarChar).Value = "1982-11-23"; |  | ||||||
|  |  | ||||||
|  |  | ||||||
|             listView1.FullRowSelect = true; | 				ListViewItem lv = dataError ? this.lvNG.Items.Add(pdate) : this.lvOK.Items.Add(pdate); | ||||||
|             foreach (ListViewItem lv in listView1.CheckedItems) | 				lv.SubItems.Add("입력/생성"); | ||||||
|             { | 				lv.SubItems.Add($"--/{textBox8.Text}"); | ||||||
|                 var CD = DateTime.Parse(lv.SubItems[0].Text); | 				lv.SubItems.Add($"{textBox2.Text}/{textBox7.Text}"); | ||||||
|  | 				lv.SubItems.Add($"{textBox3.Text}/{textBox6.Text}"); | ||||||
|  | 				lv.SubItems.Add($"{textBox4.Text}/{textBox5.Text}"); | ||||||
|  |  | ||||||
|                 //if (CD > ed) break; | 				if (dataError) | ||||||
|                 var pdate = CD.ToShortDateString(); | 				{ | ||||||
|                 cmd.Parameters["pdate"].Value = pdate; | 					lv.ForeColor = Color.Tomato; | ||||||
|                 tbDate.Text = pdate; | 					lv.Checked = true; | ||||||
|                 Application.DoEvents(); | 				} | ||||||
|  | 				else lv.ForeColor = Color.Black; | ||||||
|  |  | ||||||
|  | 				//if (val_jobreport > 0) break; | ||||||
|  | 			} | ||||||
|  | 			cn.Dispose(); | ||||||
|  |  | ||||||
|  | 		} | ||||||
|  |  | ||||||
|  | 		private void button2_Click(object sender, EventArgs e) | ||||||
|  | 		{ | ||||||
|  | 			//오류수정버튼 | ||||||
|  |  | ||||||
|  | 			if (lvNG.CheckedItems.Count < 1) | ||||||
|  | 			{ | ||||||
|  | 				FCOMMON.Util.MsgE("정정할 자료가 선택되지 않았습니다"); | ||||||
|  | 				return; | ||||||
|  | 			} | ||||||
|  |  | ||||||
|  | 			if (FCOMMON.Util.MsgQ("재 생성 할까요?") != DialogResult.Yes) return; | ||||||
|  |  | ||||||
|  |  | ||||||
|                 if (FCOMMON.Util.MsgQ(pdate + "를 재생성 할까요?") != DialogResult.Yes) break; | 			//검사버튼 | ||||||
|  | 			var sd = DateTime.Parse(dtSD.Text); | ||||||
|  | 			var ed = DateTime.Parse(dtED.Text); | ||||||
|  | 			//       var idx = 0; | ||||||
|  |  | ||||||
|                 //근태-업무일지자료삭제 | 			var gcode = FCOMMON.info.Login.gcode; | ||||||
|                 cmd.CommandText = "delete from Holyday where gcode = @gcode and extcate = 'HO' and sdate=@pdate and isnull(extidx,-1) <> -1"; | 			var id = FCOMMON.info.Login.no; | ||||||
|                 cmd.CommandText = string.Format(cmd.CommandText, pdate); |  | ||||||
|                 var cnt1 = cmd.ExecuteNonQuery(); |  | ||||||
|                 Console.WriteLine($"{cnt1}건의 근태자료가 삭제 되었습니다"); |  | ||||||
|  |  | ||||||
|                 //근태-업무일지자료생성 | 			var cn = FCOMMON.DBM.getCn(); | ||||||
|                 cmd.CommandText = "insert into Holyday(gcode, cate, sdate, edate, term, crtime, termdr, DrTime, contents, [uid], wdate, wuid, extcate, extidx) "; | 			cn.Open(); | ||||||
|                 cmd.CommandText += "select gcode,'대체',pdate,pdate,0,0,0,isnull(ot2,0),projectname,uid,GETDATE(),@uid + '-ERR','HO',idx from jobreport where gcode = @gcode and pdate = @pdate and isnull(ot2,0) > 0 and isnull(ot,0) > 0"; | 			var cmd = new System.Data.SqlClient.SqlCommand("", cn); | ||||||
|                 cmd.CommandText = string.Format(cmd.CommandText, pdate); | 			cmd.Parameters.Add("gcode", SqlDbType.VarChar).Value = gcode; | ||||||
|                 var cnt2 = cmd.ExecuteNonQuery(); | 			cmd.Parameters.Add("uid", SqlDbType.VarChar).Value = id; | ||||||
|                 Console.WriteLine($"{cnt2}건의 근태자료가 생성 되었습니다"); | 			cmd.Parameters.Add("pdate", SqlDbType.VarChar).Value = "1982-11-23"; | ||||||
|  |  | ||||||
|  |  | ||||||
|  | 			lvNG.FullRowSelect = true; | ||||||
|  | 			foreach (ListViewItem lv in lvNG.CheckedItems) | ||||||
|  | 			{ | ||||||
|  | 				var CD = DateTime.Parse(lv.SubItems[0].Text); | ||||||
|  |  | ||||||
|  | 				//if (CD > ed) break; | ||||||
|  | 				var pdate = CD.ToShortDateString(); | ||||||
|  | 				cmd.Parameters["pdate"].Value = pdate; | ||||||
|  | 				tbDate.Text = pdate; | ||||||
|  | 				Application.DoEvents(); | ||||||
|  |  | ||||||
|  |  | ||||||
|  | 				if (FCOMMON.Util.MsgQ(pdate + "를 재생성 할까요?") != DialogResult.Yes) break; | ||||||
|  |  | ||||||
|  | 				//근태-업무일지자료삭제 | ||||||
|  | 				cmd.CommandText = "delete from Holyday where gcode = @gcode and extcate = 'HO' and sdate=@pdate and isnull(extidx,-1) <> -1"; | ||||||
|  | 				cmd.CommandText = string.Format(cmd.CommandText, pdate); | ||||||
|  | 				var cnt1 = cmd.ExecuteNonQuery(); | ||||||
|  | 				Console.WriteLine($"{cnt1}건의 근태자료가 삭제 되었습니다"); | ||||||
|  |  | ||||||
|  | 				//근태-업무일지자료생성 | ||||||
|  | 				cmd.CommandText = "insert into Holyday(gcode, cate, sdate, edate, term, crtime, termdr, DrTime, contents, [uid], wdate, wuid, extcate, extidx) "; | ||||||
|  | 				cmd.CommandText += "select gcode,'대체',pdate,pdate,0,0,0,isnull(ot2,0),projectname,uid,GETDATE(),@uid + '-ERR','HO',idx from jobreport where gcode = @gcode and pdate = @pdate and isnull(ot2,0) > 0 and isnull(ot,0) > 0"; | ||||||
|  | 				cmd.CommandText = string.Format(cmd.CommandText, pdate); | ||||||
|  | 				var cnt2 = cmd.ExecuteNonQuery(); | ||||||
|  | 				Console.WriteLine($"{cnt2}건의 근태자료가 생성 되었습니다"); | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|                 //근태-휴가신청자료삭제 | 				//근태-휴가신청자료삭제 | ||||||
|                 cmd.CommandText = "delete from Holyday where gcode = @gcode and extcate = '휴가' and sdate=@pdate and isnull(extidx,-1) <> -1"; | 				cmd.CommandText = "delete from Holyday where gcode = @gcode and extcate = '휴가' and sdate=@pdate and isnull(extidx,-1) <> -1"; | ||||||
|                 cmd.CommandText = string.Format(cmd.CommandText, pdate); | 				cmd.CommandText = string.Format(cmd.CommandText, pdate); | ||||||
|                 cnt1 = cmd.ExecuteNonQuery(); | 				cnt1 = cmd.ExecuteNonQuery(); | ||||||
|                 Console.WriteLine($"{cnt1}건의 근태자료가 삭제 되었습니다"); | 				Console.WriteLine($"{cnt1}건의 근태자료가 삭제 되었습니다"); | ||||||
|  |  | ||||||
|                 //근태-휴가신청자료생성(승인완료된자료대상) | 				//근태-휴가신청자료생성(승인완료된자료대상) | ||||||
|                 cmd.CommandText = "insert into Holyday(gcode, cate, sdate, edate, term, crtime, termdr, DrTime, contents, [uid], wdate, wuid, extcate, extidx) "; | 				cmd.CommandText = "insert into Holyday(gcode, cate, sdate, edate, term, crtime, termdr, DrTime, contents, [uid], wdate, wuid, extcate, extidx) "; | ||||||
|                 cmd.CommandText += "select gcode,cate,sdate,edate,isnull(holydays,0),isnull(holytimes,0),0,0,HolyReason,uid,GETDATE(),@uid + '-ERR','휴가',idx " + | 				cmd.CommandText += "select gcode,cate,sdate,edate,isnull(holydays,0),isnull(holytimes,0),0,0,HolyReason,uid,GETDATE(),@uid + '-ERR','휴가',idx " + | ||||||
|                     " from EETGW_HolydayRequest " + | 					" from EETGW_HolydayRequest " + | ||||||
|                     " where gcode = @gcode and sdate = @pdate and isnull(conf,0)  = 1"; | 					" where gcode = @gcode and sdate = @pdate and isnull(conf,0)  = 1"; | ||||||
|  |  | ||||||
|                 cmd.CommandText = string.Format(cmd.CommandText, pdate); | 				cmd.CommandText = string.Format(cmd.CommandText, pdate); | ||||||
|                 cnt2 = cmd.ExecuteNonQuery(); | 				cnt2 = cmd.ExecuteNonQuery(); | ||||||
|                 Console.WriteLine($"{cnt2}건의 근태자료가 생성 되었습니다"); | 				Console.WriteLine($"{cnt2}건의 근태자료가 생성 되었습니다"); | ||||||
|  |  | ||||||
|             } | 			} | ||||||
|             cn.Dispose(); | 			cn.Dispose(); | ||||||
|  |  | ||||||
|         } | 		} | ||||||
|  |  | ||||||
|  | 		private void button2_Click_1(object sender, EventArgs e) | ||||||
|  | 		{ | ||||||
|  | 			dtSD.Value = DateTime.Parse(DateTime.Now.ToString("yyyy-MM") + "-01"); | ||||||
|  | 			dtED.Value = dtSD.Value.AddMonths(1).AddDays(-1); | ||||||
|  | 		} | ||||||
|  |  | ||||||
|  | 		private void button3_Click(object sender, EventArgs e) | ||||||
|  | 		{ | ||||||
|  | 			var 시작달 = DateTime.Parse(dtSD.Value.ToString("yyyy-MM") + "-01"); | ||||||
|  | 			dtSD.Value = 시작달.AddMonths(-1); | ||||||
|  | 			dtED.Value = dtSD.Value.AddMonths(1).AddDays(-1); | ||||||
|  | 		} | ||||||
|  |  | ||||||
|     } | 		private void button1_Click_1(object sender, EventArgs e) | ||||||
|  | 		{ | ||||||
|  | 			var 다음달 = DateTime.Parse(dtSD.Value.ToString("yyyy-MM") + "-01"); | ||||||
|  | 			dtSD.Value = 다음달.AddMonths(1); | ||||||
|  | 			dtED.Value = dtSD.Value.AddMonths(1).AddDays(-1); | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
| } | } | ||||||
|   | |||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user
	 chi
					chi