* unimarc
a. 팩스전송 완료. b. 마크목록 폼 작성중 1. 엑셀반출 기능 추가중 사용 작업중 2. 마크편집 폼 수정 중 (마크 반출 test프로젝트 진행완료, 본 프로젝트에 적용중. / 저장기능활성화 작업완료) 2-1. 기존의 칸채우기에서 예상되지 못한 버그가 발생하여 칸채우기 숨김. 2-2. 008태크 재배치 => TextBox에 적용완료. 변경사항 메모장으로 넘기는 작업 완료. 2-3. 저장기능 완료. (04.14 체크해볼것) * ISBN 체크 프로그램 - ★작업완료★ a. 현재 마크팀 배포완료. - 추후 수정사항발생시 수정할 것. -- 작업중 -- ISBN 체크 프로그램 => 본프로그램에 이식중. ㄴ> 코드는 다 옮겼으나 기존 사용하던 방식과 조금 달라서 버그발생 가능성 있음. -- 완료 -- 1. 주문관리 팩스연동 완료 2. 전송된 팩스 확인 작업개시, 이메일 전송모듈 수정완료. 3. 주문관리에서 주문처와 목록 검색하는 폼 검색 모듈도 재수정 완료함.
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							| @@ -23,7 +23,6 @@ namespace ISBN_Check_test | ||||
|         { | ||||
|             string[] api_list = { "알라딘", "네이버", "다음" }; | ||||
|             cb_api.Items.AddRange(api_list); | ||||
|  | ||||
|         } | ||||
|         private void button2_Click(object sender, EventArgs e) | ||||
|         { | ||||
| @@ -140,11 +139,13 @@ namespace ISBN_Check_test | ||||
|             { | ||||
|                 L_type.Clear(); | ||||
|                 L_Array.Clear(); | ||||
|                 process_Sub(); | ||||
|                 if (gridview.Rows[a].DefaultCellStyle.BackColor == Color.Yellow) | ||||
|                     continue; | ||||
|                 else if (gridview.Rows[a].DefaultCellStyle.BackColor == Color.LightGray) | ||||
|                     gridview.Rows[a].DefaultCellStyle.BackColor = Color.Empty; | ||||
|  | ||||
|                 #region 필터적용 | ||||
|                 switch (cb_filter.SelectedIndex) | ||||
|                 { | ||||
|                     case 0: | ||||
| @@ -191,13 +192,13 @@ namespace ISBN_Check_test | ||||
|                         L_Array.Add(gridview.Rows[a].Cells["author"].Value.ToString()); | ||||
|                         L_Array.Add(gridview.Rows[a].Cells["book_comp"].Value.ToString()); | ||||
|                         break; | ||||
|                 } // 필터 적용 | ||||
|                 } | ||||
|                 #endregion | ||||
|  | ||||
|                 string[] arrayType = L_type.ToArray(); | ||||
|                 string[] arrayValue = L_Array.ToArray(); | ||||
|                 string result = api.Naver(arrayValue, arrayType, param); | ||||
|                 insert_By_Naver(result, a); | ||||
|                 process_Sub(); | ||||
|                 Thread.Sleep(700); | ||||
|             } | ||||
|         } | ||||
| @@ -211,6 +212,7 @@ namespace ISBN_Check_test | ||||
|              | ||||
|             for(int a = start; a < end; a++) | ||||
|             { | ||||
|                 process_Sub(); | ||||
|                 if (gridview.Rows[a].DefaultCellStyle.BackColor == Color.Yellow) | ||||
|                     continue; | ||||
|                 else if (gridview.Rows[a].DefaultCellStyle.BackColor == Color.LightGray) | ||||
| @@ -235,7 +237,6 @@ namespace ISBN_Check_test | ||||
|                 string result = api.Daum(query, type, param); | ||||
|                 richTextBox1.Text = result; | ||||
|                 insert_By_Daum(result, a); | ||||
|                 process_Sub(); | ||||
|             } | ||||
|         } | ||||
|         private void process_Sub() | ||||
| @@ -271,7 +272,6 @@ namespace ISBN_Check_test | ||||
|                 dataGridView1.Rows[row].DefaultCellStyle.BackColor = Color.LightGray; | ||||
|             } | ||||
|  | ||||
|             bool[] chk = { false, false, false };   // 도서명 저자 출판사 체크. | ||||
|             string[] insert = data.Split('|'); | ||||
|  | ||||
|             if (data == "") {  return; } | ||||
| @@ -290,7 +290,7 @@ namespace ISBN_Check_test | ||||
|             if (insert.Length > 10) | ||||
|                 return; | ||||
|  | ||||
|             input_marc(insert, row, newstring); | ||||
|             input_api(insert, row, newstring); | ||||
|         } | ||||
|         void insert_By_Naver(string value, int row) | ||||
|         { | ||||
| @@ -346,14 +346,14 @@ namespace ISBN_Check_test | ||||
|             } | ||||
|             #endregion | ||||
|  | ||||
|             if (sp_data.Length > 1) return; | ||||
|             if (sp_data.Length > 10) return; | ||||
|  | ||||
|             if (row > 0) { dataGridView1.Rows[row - 1].Selected = false; } | ||||
|             dataGridView1.Rows[row].Selected = true; | ||||
|  | ||||
|             string newstring = DateTime.ParseExact(grid[5], "yyyyMMdd", null).ToString("yyyy-MM-dd"); | ||||
|  | ||||
|             input_marc(grid, row, newstring); | ||||
|             input_api(grid, row, newstring); | ||||
|         } | ||||
|         void insert_By_Daum(string value, int row) | ||||
|         { | ||||
| @@ -379,22 +379,23 @@ namespace ISBN_Check_test | ||||
|                     grid[3] = tmp_isbn[1]; | ||||
|  | ||||
|                 grid[4] = data[4]; | ||||
|                 grid[5] = data[5].Substring(0, data[5].IndexOf('T')); | ||||
|                 grid[5] = data[5].Substring(0, 10); | ||||
|                 grid[7] = data[6]; | ||||
|  | ||||
|                 dataGridView1.Rows[row].Cells["Column1"].Value += string.Join("|", grid) + "|"; | ||||
|                 dataGridView1.Rows[row].DefaultCellStyle.BackColor = Color.LightGray; | ||||
|             } | ||||
|  | ||||
|             if (sp_data.Length > 1) return; | ||||
|             if (sp_data.Length > 10) return; | ||||
|  | ||||
|             if (row > 0) dataGridView1.Rows[row - 1].Selected = false; | ||||
|             dataGridView1.Rows[row].Selected = true; | ||||
|  | ||||
|             bool[] chk = { false, false, false }; | ||||
|             string newstring = DateTime.ParseExact(grid[5], "yyyyMMdd", null).ToString("yyyy-MM-dd"); | ||||
|             // string newstring = DateTime.ParseExact(grid[5], "yyyyMMdd", null).ToString("yyyy-MM-dd"); | ||||
|             string newstring = grid[5]; | ||||
|  | ||||
|             input_marc(grid, row, newstring); | ||||
|             input_api(grid, row, newstring); | ||||
|         } | ||||
|         /// <summary> | ||||
|         /// API에서 가져온 데이터가 요구한 데이터와 일치하는지 알아보는 함수 | ||||
| @@ -402,7 +403,7 @@ namespace ISBN_Check_test | ||||
|         /// <param name="value">데이터</param> | ||||
|         /// <param name="idx">Grid의 row인덱스번호</param> | ||||
|         /// <param name="date">날짜</param> | ||||
|         void input_marc(string[] value, int idx, string date) | ||||
|         void input_api(string[] value, int idx, string date) | ||||
|         { | ||||
|             bool[] chk = { false, false, false }; | ||||
|  | ||||
| @@ -420,8 +421,8 @@ namespace ISBN_Check_test | ||||
|             else if (book_comp.Contains(value[2]) == true) chk[2] = true; | ||||
|             else if (value[2] == book_comp) chk[2] = true; | ||||
|  | ||||
|             if (chk[0] == true && chk[1] == true && chk[2] == true) | ||||
|             { | ||||
|             if (chk[0] == true && chk[1] == true && chk[2] == true) { | ||||
|  | ||||
|                 dataGridView1.Rows[idx].Cells["isbn"].Value = value[3]; | ||||
|                 dataGridView1.Rows[idx].Cells["price2"].Value = value[4]; | ||||
|                 dataGridView1.Rows[idx].Cells["pubDate"].Value = date; | ||||
|   | ||||
							
								
								
									
										4
									
								
								ISBN_Check_test/Form2.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								ISBN_Check_test/Form2.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -91,7 +91,7 @@ namespace ISBN_Check_test | ||||
|             this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle2; | ||||
|             this.dataGridView1.RowTemplate.Height = 23; | ||||
|             this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; | ||||
|             this.dataGridView1.Size = new System.Drawing.Size(834, 589); | ||||
|             this.dataGridView1.Size = new System.Drawing.Size(834, 324); | ||||
|             this.dataGridView1.TabIndex = 4; | ||||
|             this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick); | ||||
|             this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick); | ||||
| @@ -242,7 +242,7 @@ namespace ISBN_Check_test | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.ClientSize = new System.Drawing.Size(834, 644); | ||||
|             this.ClientSize = new System.Drawing.Size(834, 379); | ||||
|             this.Controls.Add(this.button1); | ||||
|             this.Controls.Add(this.label5); | ||||
|             this.Controls.Add(this.label4); | ||||
|   | ||||
| @@ -28,37 +28,6 @@ namespace ISBN_Check_test | ||||
|             // 비슷한거 색깔표시 | ||||
|             same_chk(); | ||||
|         } | ||||
|         #region KEEP | ||||
|         private void Aladin() | ||||
|         { | ||||
|             tb_book_name.Text = f1.dataGridView1.Rows[row].Cells["book_name"].Value.ToString(); | ||||
|             tb_author.Text = f1.dataGridView1.Rows[row].Cells["author"].Value.ToString(); | ||||
|             tb_book_comp.Text = f1.dataGridView1.Rows[row].Cells["book_comp"].Value.ToString(); | ||||
|  | ||||
|             if(f1.dataGridView1.Rows[row].Cells["price"].Value != null) { | ||||
|                 tb_price.Text = f1.dataGridView1.Rows[row].Cells["price"].Value.ToString(); | ||||
|             } | ||||
|             else { tb_price.Text = ""; } | ||||
|  | ||||
|             string data = f1.dataGridView1.Rows[row].Cells["Column1"].Value.ToString(); | ||||
|  | ||||
|             // 도서명 / 저자 / 출판사 / isbn / 출간일 / 카테고리 / 품절여부 | ||||
|             string[] tmp = data.Split('|'); | ||||
|             string[] grid = { "", "", "", "", "", "", "", "" }; | ||||
|  | ||||
|             for(int a = 0; a < tmp.Length; a++) | ||||
|             { | ||||
|                 if (a % 8 == 0) { grid[0] = tmp[a]; } | ||||
|                 if (a % 8 == 1) { grid[1] = tmp[a]; } | ||||
|                 if (a % 8 == 2) { grid[2] = tmp[a]; } | ||||
|                 if (a % 8 == 3) { grid[3] = tmp[a]; } | ||||
|                 if (a % 8 == 4) { grid[4] = tmp[a]; } | ||||
|                 if (a % 8 == 5) { grid[5] = tmp[a]; } | ||||
|                 if (a % 8 == 6) { grid[6] = tmp[a]; } | ||||
|                 if (a % 8 == 7) { grid[7] = tmp[a]; dataGridView1.Rows.Add(grid); } | ||||
|             } | ||||
|         } | ||||
|         #endregion | ||||
|         private void Sort_data() | ||||
|         { | ||||
|             tb_book_name.Text = f1.dataGridView1.Rows[row].Cells["book_name"].Value.ToString(); | ||||
| @@ -105,7 +74,6 @@ namespace ISBN_Check_test | ||||
|                                   tb_book_comp.Text,  | ||||
|                                   tb_isbn.Text,  | ||||
|                                   tb_price.Text.Replace(",","") }; | ||||
|              | ||||
|  | ||||
|             for(int a= 0; a < dataGridView1.Rows.Count; a++) | ||||
|             { | ||||
| @@ -131,7 +99,6 @@ namespace ISBN_Check_test | ||||
|  | ||||
|                     else  | ||||
|                         dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.LightGray; | ||||
|  | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|   | ||||
| @@ -21,7 +21,7 @@ | ||||
|           <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> | ||||
|         </dsig:Transforms> | ||||
|         <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> | ||||
|         <dsig:DigestValue>BprzJ5PCVu5aSrCy6lyc8o2A1tjLSfXOtP1/TI95rHM=</dsig:DigestValue> | ||||
|         <dsig:DigestValue>p/8+mV8YlxrwyLlcWvj9n6b9mL7rQTkpRvbI/T5huPg=</dsig:DigestValue> | ||||
|       </hash> | ||||
|     </dependentAssembly> | ||||
|   </dependency> | ||||
|   | ||||
										
											Binary file not shown.
										
									
								
							| @@ -3,7 +3,7 @@ | ||||
|   <asmv1:assemblyIdentity name="ISBN_Check_test.exe" version="1.0.0.2" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" /> | ||||
|   <application /> | ||||
|   <entryPoint> | ||||
|     <assemblyIdentity name="ISBN_Check_test" version="1.0.7773.31453" language="neutral" processorArchitecture="msil" /> | ||||
|     <assemblyIdentity name="ISBN_Check_test" version="1.0.7774.19883" language="neutral" processorArchitecture="msil" /> | ||||
|     <commandLine file="ISBN_Check_test.exe" parameters="" /> | ||||
|   </entryPoint> | ||||
|   <trustInfo> | ||||
| @@ -43,13 +43,13 @@ | ||||
|   </dependency> | ||||
|   <dependency> | ||||
|     <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ISBN_Check_test.exe" size="42496"> | ||||
|       <assemblyIdentity name="ISBN_Check_test" version="1.0.7773.31453" language="neutral" processorArchitecture="msil" /> | ||||
|       <assemblyIdentity name="ISBN_Check_test" version="1.0.7774.19883" language="neutral" processorArchitecture="msil" /> | ||||
|       <hash> | ||||
|         <dsig:Transforms> | ||||
|           <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> | ||||
|         </dsig:Transforms> | ||||
|         <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> | ||||
|         <dsig:DigestValue>stzHcifpPhqkwUOTrlsIYPoH0AQvHydDZp7ZZczJhpk=</dsig:DigestValue> | ||||
|         <dsig:DigestValue>zjvRlunNW73xa4PGNpIH7X3GQ1vGHrUDWZycVhU9Sb8=</dsig:DigestValue> | ||||
|       </hash> | ||||
|     </dependentAssembly> | ||||
|   </dependency> | ||||
| @@ -80,7 +80,7 @@ | ||||
|         <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> | ||||
|       </dsig:Transforms> | ||||
|       <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> | ||||
|       <dsig:DigestValue>xynw3Nbvs3kZvoiRFHpODME9jYRpL6OxWToRCRPmUZg=</dsig:DigestValue> | ||||
|       <dsig:DigestValue>a3hCM2zE7EusOows2VdWMoHAICsIRva0zyZEIdHfe3g=</dsig:DigestValue> | ||||
|     </hash> | ||||
|   </file> | ||||
| </asmv1:assembly> | ||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							| @@ -21,7 +21,7 @@ | ||||
|           <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> | ||||
|         </dsig:Transforms> | ||||
|         <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> | ||||
|         <dsig:DigestValue>BprzJ5PCVu5aSrCy6lyc8o2A1tjLSfXOtP1/TI95rHM=</dsig:DigestValue> | ||||
|         <dsig:DigestValue>p/8+mV8YlxrwyLlcWvj9n6b9mL7rQTkpRvbI/T5huPg=</dsig:DigestValue> | ||||
|       </hash> | ||||
|     </dependentAssembly> | ||||
|   </dependency> | ||||
|   | ||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							| @@ -3,7 +3,7 @@ | ||||
|   <asmv1:assemblyIdentity name="ISBN_Check_test.exe" version="1.0.0.2" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" /> | ||||
|   <application /> | ||||
|   <entryPoint> | ||||
|     <assemblyIdentity name="ISBN_Check_test" version="1.0.7773.31453" language="neutral" processorArchitecture="msil" /> | ||||
|     <assemblyIdentity name="ISBN_Check_test" version="1.0.7774.19883" language="neutral" processorArchitecture="msil" /> | ||||
|     <commandLine file="ISBN_Check_test.exe" parameters="" /> | ||||
|   </entryPoint> | ||||
|   <trustInfo> | ||||
| @@ -43,13 +43,13 @@ | ||||
|   </dependency> | ||||
|   <dependency> | ||||
|     <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ISBN_Check_test.exe" size="42496"> | ||||
|       <assemblyIdentity name="ISBN_Check_test" version="1.0.7773.31453" language="neutral" processorArchitecture="msil" /> | ||||
|       <assemblyIdentity name="ISBN_Check_test" version="1.0.7774.19883" language="neutral" processorArchitecture="msil" /> | ||||
|       <hash> | ||||
|         <dsig:Transforms> | ||||
|           <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> | ||||
|         </dsig:Transforms> | ||||
|         <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> | ||||
|         <dsig:DigestValue>stzHcifpPhqkwUOTrlsIYPoH0AQvHydDZp7ZZczJhpk=</dsig:DigestValue> | ||||
|         <dsig:DigestValue>zjvRlunNW73xa4PGNpIH7X3GQ1vGHrUDWZycVhU9Sb8=</dsig:DigestValue> | ||||
|       </hash> | ||||
|     </dependentAssembly> | ||||
|   </dependency> | ||||
| @@ -80,7 +80,7 @@ | ||||
|         <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> | ||||
|       </dsig:Transforms> | ||||
|       <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> | ||||
|       <dsig:DigestValue>xynw3Nbvs3kZvoiRFHpODME9jYRpL6OxWToRCRPmUZg=</dsig:DigestValue> | ||||
|       <dsig:DigestValue>a3hCM2zE7EusOows2VdWMoHAICsIRva0zyZEIdHfe3g=</dsig:DigestValue> | ||||
|     </hash> | ||||
|   </file> | ||||
| </asmv1:assembly> | ||||
										
											Binary file not shown.
										
									
								
							
		Reference in New Issue
	
	Block a user
	 SeungHo Yang
					SeungHo Yang