=====* unimarc [0.0104] 버전관리 시작 *=====
1. 인쇄 오류 수정 2. DLS복본조사 추가
This commit is contained in:
		| @@ -154,13 +154,27 @@ namespace UniMarc.마크 | ||||
|                 insert_marc_data[19] = marc.List_Book.Rows[row[a]].Cells["marc_idx"].Value.ToString(); | ||||
|  | ||||
|                 string[] Marc = st.Take_Tag(insert_marc_data[14], Search); | ||||
|                 string[] Author = { Marc[4], Marc[1] }; | ||||
|                 string[] Author = { "", Marc[1] };       // 저자, 도서명 | ||||
|  | ||||
|                 // 100, 110, 111태그중 한개라도 있으면 저자로 인식. | ||||
|                 string[] Author_Search = { "100a", "110a", "111a" }; | ||||
|                 string[] Author_res = st.Take_Tag(insert_marc_data[14], Author_Search); | ||||
|  | ||||
|                 if (Author_res[0].Length > 1) Author[0] = Author_res[0]; | ||||
|                 if (Author_res[1].Length > 1) Author[0] = Author_res[1]; | ||||
|                 if (Author_res[2].Length > 1) Author[0] = Author_res[2]; | ||||
|  | ||||
|  | ||||
|                 for (int b = 0; b < Marc.Length; b++) | ||||
|                 { | ||||
|                     insert_marc_data[b + 3] = Marc[b]; | ||||
|                 } | ||||
|  | ||||
|                 if (Author[0].Length < 1) { | ||||
|                     MessageBox.Show(row[a] + "번째의 저자를 확인해주세요. \n (100a, 110a, 111a 중 1개 필수)"); | ||||
|                     return; | ||||
|                 } | ||||
|  | ||||
|                 Author[0] = Regex.Replace(Author[0], @"[^a-zA-Z0-9가-힣_]", "", RegexOptions.Singleline); | ||||
|                 Author[1] = Regex.Replace(Author[1], @"[^a-zA-Z0-9가-힣_]", "", RegexOptions.Singleline); | ||||
|                 Author[1] = st.RemoveWordInBracket(Author[1]); | ||||
| @@ -169,48 +183,6 @@ namespace UniMarc.마크 | ||||
|                 string authorType = cb_authorType.SelectedItem.ToString(); | ||||
|                 string res_Author = sb.SymbolAuthor(Author[0], Author[1], authorType, isType); | ||||
|  | ||||
|                 /* | ||||
|                 char aut; | ||||
|                 if (Author[0].Length <= 1) | ||||
|                     aut = Author[0][0]; | ||||
|                 else | ||||
|                     aut = Author[0][1]; | ||||
|  | ||||
|                 string res_Author = sb.Author_Fillter(Author[0][0], isAuthor); | ||||
|  | ||||
|                 #region 콤보박스 선택 | ||||
|                 if (cb_authorType.SelectedIndex == 0)         // 이재철 1표 | ||||
|                     Author[0] = sb.Symbol_1(aut); | ||||
|                 if (cb_authorType.SelectedIndex == 1)         // 이재철 2표 | ||||
|                     Author[0] = sb.Symbol_2(aut); | ||||
|                 if (cb_authorType.SelectedIndex == 2)         // 이재철 3표 | ||||
|                     Author[0] = sb.Symbol_3(aut); | ||||
|                 if (cb_authorType.SelectedIndex == 3)         // 이재철 4표 | ||||
|                     Author[0] = sb.Symbol_4(aut); | ||||
|                 if (cb_authorType.SelectedIndex == 4)         // 이재철 5표 | ||||
|                     Author[0] = sb.Symbol_5(aut); | ||||
|                 if (cb_authorType.SelectedIndex == 5)         // 이재철 6표 | ||||
|                     Author[0] = sb.Symbol_6(aut); | ||||
|                 if (cb_authorType.SelectedIndex == 6)         // 이재철 7표 | ||||
|                     Author[0] = sb.Symbol_7(aut); | ||||
|                 if (cb_authorType.SelectedIndex == 7)         // 이재철 7표 (동양서저자기호표) | ||||
|                     Author[0] = sb.Symbol_7_동서(aut); | ||||
|                 if (cb_authorType.SelectedIndex == 8)         // 이재철 8표 | ||||
|                     Author[0] = sb.Symbol_8(aut); | ||||
|                 if (cb_authorType.SelectedIndex == 9)         // 이재철 8표 (동양서저자기호표) | ||||
|                     Author[0] = sb.Symbol_8_동서(aut); | ||||
|                 if (cb_authorType.SelectedIndex == 10)        // 장일세 | ||||
|                     Author[0] = sb.Symbol_Jang(Marc[0]); | ||||
|                 if (cb_authorType.SelectedIndex == 11)        // 커터샌본 | ||||
|                     Author[0] = sb.Cutter(Author[0]); | ||||
|                 if (cb_authorType.SelectedIndex == 12)        // 엘러드 | ||||
|                     Author[0] = sb.Elord(Author[0]); | ||||
|                 if (cb_authorType.SelectedIndex == 13)        // 동서양 저자기호표(국중) | ||||
|                     Author[0] = sb.NLK(Author[0]); | ||||
|                 #endregion | ||||
|                 Author[0] = Author[0].Replace("|", ""); | ||||
|                 res_Author += Author[0] + sb.Book_Fillter(Author[1], isBook); | ||||
|                 */ | ||||
|                 insert_marc_data[13] = res_Author; | ||||
|                 if (a == row.Length - 1) | ||||
|                     cmdByMarc += db.DB_INSERT_SUB("value", insert_marc_data) + ";"; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 SeungHo Yang
					SeungHo Yang