* unimarc

a. 팩스전송 완료.
 b. 마크목록 폼 작성중
  1. 엑셀반출 기능 추가중 사용 작업중
  2. 마크편집 폼 수정 중 (마크 반출 test프로젝트 진행완료, 본 프로젝트에 적용중. / 저장기능활성화 작업완료)
   2-1. 기존의 칸채우기에서 예상되지 못한 버그가 발생하여 칸채우기 숨김.
   2-2. 008태크 재배치 => TextBox에 적용완료. 변경사항 메모장으로 넘기는 작업 완료.
   2-3. 저장기능 완료. (04.14 체크해볼것)

* ISBN 체크 프로그램 - ★작업완료★
 a. 현재 마크팀 배포완료. - 추후 수정사항발생시 수정할 것.

-- 완료 --
1. 주문관리 팩스연동 완료
2. 전송된 팩스 확인 작업개시, 이메일 전송모듈 수정완료.
3. 주문관리에서 주문처와 목록 검색하는 폼 검색 모듈도 재수정 완료함.
This commit is contained in:
SeungHo Yang
2021-04-13 18:40:21 +09:00
parent ad0c06ac05
commit 2fe9185eaa
25 changed files with 151 additions and 137 deletions

View File

@@ -116,6 +116,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)
@@ -123,7 +124,6 @@ namespace ISBN_Check_test
query = Set_query(type, a);
insert_By_Aladin(api.Aladin(query, type, param), a);
process_Sub();
}
}
private void Naver_API(DataGridView gridview, int start, int end)
@@ -272,17 +272,12 @@ namespace ISBN_Check_test
}
bool[] chk = { false, false, false }; // 도서명 저자 출판사 체크.
string book_name = dataGridView1.Rows[row].Cells["book_name"].Value.ToString();
string author = dataGridView1.Rows[row].Cells["author"].Value.ToString();
string book_comp = dataGridView1.Rows[row].Cells["book_comp"].Value.ToString();
string[] insert = data.Split('|');
string newstring = string.Empty;
if (data == "") { return; }
// pubDate형 보기편하게 DateTime형으로 재정리
newstring = String.Format("{0:yyyy/MM/dd}",
string newstring = String.Format("{0:yyyy/MM/dd}",
DateTime.Parse(insert[5].Remove(insert[5].IndexOf(" G"))));
// 도서 분류 필요한 데이터로 재정리
@@ -295,19 +290,7 @@ namespace ISBN_Check_test
if (insert.Length > 10)
return;
if (insert[0] == book_name) { chk[0] = true; }
if (insert[1].Contains(author) == true) { chk[1] = true; }
if (insert[2] == book_comp) { chk[2] = true; }
if (chk[0] == true && chk[1] == true && chk[2] == true)
{
dataGridView1.Rows[row].Cells["isbn"].Value = insert[3];
dataGridView1.Rows[row].Cells["price2"].Value = insert[4];
dataGridView1.Rows[row].Cells["pubDate"].Value = newstring;
dataGridView1.Rows[row].Cells["category"].Value = insert[6];
dataGridView1.Rows[row].Cells["sold_out"].Value = insert[7];
dataGridView1.Rows[row].DefaultCellStyle.BackColor = Color.Yellow;
}
input_marc(insert, row, newstring);
}
void insert_By_Naver(string value, int row)
{
@@ -368,25 +351,9 @@ namespace ISBN_Check_test
if (row > 0) { dataGridView1.Rows[row - 1].Selected = false; }
dataGridView1.Rows[row].Selected = true;
bool[] chk = { false, false, false };
string book_name = dataGridView1.Rows[row].Cells["book_name"].Value.ToString();
string author = dataGridView1.Rows[row].Cells["author"].Value.ToString();
string book_comp = dataGridView1.Rows[row].Cells["book_comp"].Value.ToString();
string newstring = DateTime.ParseExact(grid[5], "yyyyMMdd", null).ToString("yyyy-MM-dd");
if (grid[0] == book_name) chk[0] = true;
if (grid[1].Contains(author) == true) chk[1] = true;
if (grid[2] == book_comp) chk[2] = true;
if (chk[0] == true && chk[1] == true && chk[2] == true)
{
dataGridView1.Rows[row].Cells["isbn"].Value = grid[3];
dataGridView1.Rows[row].Cells["price2"].Value = grid[4];
dataGridView1.Rows[row].Cells["pubDate"].Value = newstring;
dataGridView1.Rows[row].Cells["category"].Value = grid[6];
dataGridView1.Rows[row].Cells["sold_out"].Value = grid[7];
dataGridView1.Rows[row].DefaultCellStyle.BackColor = Color.Yellow;
}
input_marc(grid, row, newstring);
}
void insert_By_Daum(string value, int row)
{
@@ -425,23 +392,42 @@ namespace ISBN_Check_test
dataGridView1.Rows[row].Selected = true;
bool[] chk = { false, false, false };
string book_name = dataGridView1.Rows[row].Cells["book_name"].Value.ToString();
string author = dataGridView1.Rows[row].Cells["author"].Value.ToString();
string book_comp = dataGridView1.Rows[row].Cells["book_comp"].Value.ToString();
string newstring = DateTime.ParseExact(grid[5], "yyyyMMdd", null).ToString("yyyy-MM-dd");
if (grid[0] == book_name) chk[0] = true;
if (grid[1] == author) chk[1] = true;
if (grid[2] == book_comp) chk[2] = true;
input_marc(grid, row, newstring);
}
/// <summary>
/// API에서 가져온 데이터가 요구한 데이터와 일치하는지 알아보는 함수
/// </summary>
/// <param name="value">데이터</param>
/// <param name="idx">Grid의 row인덱스번호</param>
/// <param name="date">날짜</param>
void input_marc(string[] value, int idx, string date)
{
bool[] chk = { false, false, false };
string book_name = dataGridView1.Rows[idx].Cells["book_name"].Value.ToString();
string author = dataGridView1.Rows[idx].Cells["author"].Value.ToString();
string book_comp = dataGridView1.Rows[idx].Cells["book_comp"].Value.ToString();
if (value[0] == book_name) chk[0] = true;
if (value[1].Contains(author)==true) chk[1] = true;
else if (author.Contains(value[1])==true) chk[1] = true;
else if (value[1] == author) chk[1] = true;
if (value[2].Contains(book_comp) == true) chk[2] = true;
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)
{
dataGridView1.Rows[row].Cells["isbn"].Value = grid[3];
dataGridView1.Rows[row].Cells["price2"].Value = grid[4];
dataGridView1.Rows[row].Cells["pubDate"].Value = newstring;
dataGridView1.Rows[row].Cells["category"].Value = grid[6];
dataGridView1.Rows[row].Cells["sold_out"].Value = grid[7];
dataGridView1.Rows[row].DefaultCellStyle.BackColor = Color.Yellow;
dataGridView1.Rows[idx].Cells["isbn"].Value = value[3];
dataGridView1.Rows[idx].Cells["price2"].Value = value[4];
dataGridView1.Rows[idx].Cells["pubDate"].Value = date;
dataGridView1.Rows[idx].Cells["category"].Value = value[6];
dataGridView1.Rows[idx].Cells["sold_out"].Value = value[7];
dataGridView1.Rows[idx].DefaultCellStyle.BackColor = Color.Yellow;
}
}
private void dataGridView1_KeyDown(object sender, KeyEventArgs e)

View File

@@ -310,7 +310,6 @@ namespace ISBN_Check_test
}
}
}
((DataGridView)sender).Rows.Add();
}
}
}

View File

@@ -16,7 +16,7 @@ namespace ISBN_Check_test
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form3());
Application.Run(new Form1());
}
}
}

View File

@@ -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>a4jOxsmi+bTIiwhb3SPbmb6L1xcjoBg1z9x1JZ6GTKQ=</dsig:DigestValue>
<dsig:DigestValue>BprzJ5PCVu5aSrCy6lyc8o2A1tjLSfXOtP1/TI95rHM=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>

View File

@@ -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.7769.19175" language="neutral" processorArchitecture="msil" />
<assemblyIdentity name="ISBN_Check_test" version="1.0.7773.31453" language="neutral" processorArchitecture="msil" />
<commandLine file="ISBN_Check_test.exe" parameters="" />
</entryPoint>
<trustInfo>
@@ -42,14 +42,14 @@
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ISBN_Check_test.exe" size="43008">
<assemblyIdentity name="ISBN_Check_test" version="1.0.7769.19175" language="neutral" processorArchitecture="msil" />
<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" />
<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>sJtRJUuCXQIaz6twsCpewElVltlc6NpvIbx0LSSzeLg=</dsig:DigestValue>
<dsig:DigestValue>stzHcifpPhqkwUOTrlsIYPoH0AQvHydDZp7ZZczJhpk=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
@@ -74,13 +74,13 @@
<dsig:DigestValue>R+Wg8QGvQVHX8T0ta/qbhH1bXkqY0fRnS3wBV3J0bN8=</dsig:DigestValue>
</hash>
</file>
<file name="ISBN_Check_test.pdb" size="69120">
<file name="ISBN_Check_test.pdb" size="67072">
<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>VMPQHKSieXevI1Q5Ythv36A/XEljFScABlMsffq4u4Y=</dsig:DigestValue>
<dsig:DigestValue>xynw3Nbvs3kZvoiRFHpODME9jYRpL6OxWToRCRPmUZg=</dsig:DigestValue>
</hash>
</file>
</asmv1:assembly>

View File

@@ -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>a4jOxsmi+bTIiwhb3SPbmb6L1xcjoBg1z9x1JZ6GTKQ=</dsig:DigestValue>
<dsig:DigestValue>BprzJ5PCVu5aSrCy6lyc8o2A1tjLSfXOtP1/TI95rHM=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>

View File

@@ -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.7769.19175" language="neutral" processorArchitecture="msil" />
<assemblyIdentity name="ISBN_Check_test" version="1.0.7773.31453" language="neutral" processorArchitecture="msil" />
<commandLine file="ISBN_Check_test.exe" parameters="" />
</entryPoint>
<trustInfo>
@@ -42,14 +42,14 @@
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ISBN_Check_test.exe" size="43008">
<assemblyIdentity name="ISBN_Check_test" version="1.0.7769.19175" language="neutral" processorArchitecture="msil" />
<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" />
<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>sJtRJUuCXQIaz6twsCpewElVltlc6NpvIbx0LSSzeLg=</dsig:DigestValue>
<dsig:DigestValue>stzHcifpPhqkwUOTrlsIYPoH0AQvHydDZp7ZZczJhpk=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
@@ -74,13 +74,13 @@
<dsig:DigestValue>R+Wg8QGvQVHX8T0ta/qbhH1bXkqY0fRnS3wBV3J0bN8=</dsig:DigestValue>
</hash>
</file>
<file name="ISBN_Check_test.pdb" size="69120">
<file name="ISBN_Check_test.pdb" size="67072">
<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>VMPQHKSieXevI1Q5Ythv36A/XEljFScABlMsffq4u4Y=</dsig:DigestValue>
<dsig:DigestValue>xynw3Nbvs3kZvoiRFHpODME9jYRpL6OxWToRCRPmUZg=</dsig:DigestValue>
</hash>
</file>
</asmv1:assembly>