=====* unimarc *=====
------------------------ =====* ISBN 체크 프로그램 *===== ★작업완료★ a. 현재 마크팀 배포완료. - 추후 수정사항발생시 수정할 것. ------------------------ ===== 작업중 ===== b. 마크목록 폼 작성중 1. 엑셀반출 기능 추가중 사용 작업대기중 ===== 완료 ===== 1. 주문관리 팩스연동 완료 2. 전송된 팩스 확인 작업개시, 이메일 전송모듈 수정완료. 3. 주문관리에서 주문처와 목록 검색하는 폼 검색 모듈도 재수정 완료함. 4. 데이터베이스 내 이미지URL을 가져오는작업 완료 ISBN 체크 프로그램 => 본프로그램에 이식중. ㄴ> 코드는 다 옮겼으나 기존 사용하던 방식과 조금 달라서 버그발생 가능성 있음. ㄴ> 버그 체크 계속 해볼것. 21-04-15 ㄴ> 21_04_20 버그 없음. 2. 마크편집 폼 수정 중 (마크 반출 test프로젝트 진행완료, 본 프로젝트에 적용중. / 저장기능활성화 작업완료) 2-1. 기존의 칸채우기에서 예상되지 못한 버그가 발생하여 칸채우기 숨김. 2-2. 008태크 재배치 => TextBox에 적용완료. 변경사항 메모장으로 넘기는 작업 완료. 2-3. 저장기능 완료. (04.14 체크해볼것)
This commit is contained in:
		| @@ -98,22 +98,23 @@ namespace ExcelTest | ||||
|         public void input_list(string date, string value) | ||||
|         { | ||||
|             db.DBcon(); | ||||
|             string Area = "`idx`, `isbn`, `book_name`, `author`, `book_comp`, `pay`"; | ||||
|             string Area = "`idx`, `isbn`, `book_name`, `author`, `book_comp`, `pay`, `image_url`"; | ||||
|             string[] sear_tbl = { "date", "list_name" }; | ||||
|             string[] sear_col = { date, value }; | ||||
|  | ||||
|             string tmp_data = db.More_DB_Search("Obj_List_Book", sear_tbl, sear_col, Area); | ||||
|             string[] db_data = tmp_data.Split('|'); | ||||
|  | ||||
|             string[] grid = { "", "", "", "", "", "", "", "" }; | ||||
|             string[] grid = { "", "", "", "", "", "", "", "", "" }; | ||||
|             for(int a = 0; a < db_data.Length; a++) | ||||
|             { | ||||
|                 if (a % 6 == 0) { grid[0] = db_data[a]; } | ||||
|                 if (a % 6 == 1) { grid[1] = db_data[a]; } | ||||
|                 if (a % 6 == 2) { grid[2] = db_data[a]; } | ||||
|                 if (a % 6 == 3) { grid[3] = db_data[a]; } | ||||
|                 if (a % 6 == 4) { grid[4] = db_data[a]; } | ||||
|                 if (a % 6 == 5) { grid[5] = db_data[a]; List_Book.Rows.Add(grid); } | ||||
|                 if (a % 7 == 0) { grid[0] = db_data[a]; } | ||||
|                 if (a % 7 == 1) { grid[1] = db_data[a]; } | ||||
|                 if (a % 7 == 2) { grid[2] = db_data[a]; } | ||||
|                 if (a % 7 == 3) { grid[3] = db_data[a]; } | ||||
|                 if (a % 7 == 4) { grid[4] = db_data[a]; } | ||||
|                 if (a % 7 == 5) { grid[5] = db_data[a]; } | ||||
|                 if (a % 7 == 6) { grid[6] = db_data[a]; List_Book.Rows.Add(grid); } | ||||
|             } | ||||
|             chk_Marc(); | ||||
|         } | ||||
| @@ -1144,22 +1145,23 @@ namespace ExcelTest | ||||
|                                    List_Book.Rows[row_idx].Cells["book_name"].Value.ToString(), | ||||
|                                    List_Book.Rows[row_idx].Cells["author"].Value.ToString(), | ||||
|                                    List_Book.Rows[row_idx].Cells["book_comp"].Value.ToString(), | ||||
|                                    List_Book.Rows[row_idx].Cells["pay"].Value.ToString() }; | ||||
|                                    List_Book.Rows[row_idx].Cells["pay"].Value.ToString(), | ||||
|                                    List_Book.Rows[row_idx].Cells["url"].Value.ToString() }; | ||||
|             if (List_Book.Rows[row_idx].Cells["db_marc"].Value.ToString() != "") | ||||
|             { | ||||
|                 string[] Edit_tbl = { "`marc`", "`비고1`", "`비고2`"}; | ||||
|                 string[] Edit_col = { made_Ori_marc(), etc1.Text, etc2.Text }; | ||||
|                 string[] Sear_tbl = { "`ISBN`", "`서명`", "`저자`", "`출판사`", "`가격`" }; | ||||
|                 string[] Sear_col = { grid_data[0], grid_data[1], grid_data[2], grid_data[3], grid_data[4] }; | ||||
|                 string[] Edit_tbl = { "`marc`", "`비고1`", "`비고2`", "`url`" }; | ||||
|                 string[] Edit_col = { made_Ori_marc(), etc1.Text, etc2.Text, grid_data[5] }; | ||||
|                 string[] Sear_tbl = { "`idx`" }; | ||||
|                 string[] Sear_col = { List_Book.Rows[row_idx].Cells["list_idx"].Value.ToString() }; | ||||
|  | ||||
|                 db.More_Update(table_name, Edit_tbl, Edit_col, Sear_tbl, Sear_col); | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 string[] Insert_tbl = { "`ISBN`", "`서명`", "`저자`", "`출판사`", "`가격`",  | ||||
|                                         "`marc`", "`비고1`", "`비고2`" }; | ||||
|                                         "`marc`", "`비고1`", "`비고2`", "`url`" }; | ||||
|                 string[] Insert_col = { grid_data[0], grid_data[1], grid_data[2], grid_data[3], grid_data[4],  | ||||
|                                         made_Ori_marc(), etc1.Text, etc2.Text }; | ||||
|                                         made_Ori_marc(), etc1.Text, etc2.Text, grid_data[5] }; | ||||
|  | ||||
|                 db.DB_INSERT(table_name, Insert_col, Insert_tbl); | ||||
|             } | ||||
| @@ -1170,10 +1172,15 @@ namespace ExcelTest | ||||
|             int row_idx = e.RowIndex; | ||||
|             richTextBox1.Text = ""; | ||||
|             if (!click_Marc(row_idx)) { richTextBox1.Text = Make_Empty(); } | ||||
|             input_picture(row_idx); | ||||
|             Create_008(); | ||||
|             Color_change("▼"); | ||||
|             Color_change("▲"); | ||||
|         } | ||||
|         void input_picture(int row) | ||||
|         { | ||||
|             pictureBox1.ImageLocation = List_Book.Rows[row].Cells["url"].Value.ToString(); | ||||
|         } | ||||
|         private string Make_Empty() | ||||
|         { | ||||
|             // 입력일자 (00-05) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 SeungHo Yang
					SeungHo Yang