=====* UniMarc [0.0115] 버전관리 시작 *=====
1. 소장자료검색에서 더블클릭시 마크편집폼으로 전환 2. 마크편집에서 [저장시각, 작성자, 비고, 등급] 추가로 표시 3. 복본조사 - 특수문자, 괄호안의 문자 제거기능 추가 4. 저자기호 일괄전환 추가 5. 마크목록생성 - 수량분리기능 추가. 6. 마크편집폼에 비고란 추가.
This commit is contained in:
@@ -72,28 +72,38 @@ namespace UniMarc.마크
|
||||
|
||||
input_picture(Marc[4]);
|
||||
|
||||
SetEditData();
|
||||
SetHistory();
|
||||
}
|
||||
|
||||
public void SetEditData()
|
||||
/// <summary>
|
||||
/// 작성자, 작성시각 표출해주는 함수.
|
||||
/// (22.02.07 추가) 비고1, 비고2 추가로 표출
|
||||
/// </summary>
|
||||
public void SetHistory()
|
||||
{
|
||||
if (mp != null)
|
||||
{
|
||||
string cmd = string.Format("SELECT `user`, `editDate` FROM `Specs_Marc` WHERE `idx` = \"{0}\"", idx);
|
||||
string cmd = string.Format("SELECT `user`, `editDate`, `etc1`, `etc2` FROM `Specs_Marc` WHERE `idx` = \"{0}\"", idx);
|
||||
string res = db.DB_Send_CMD_Search(cmd);
|
||||
string[] aryResultData = res.Split('|');
|
||||
|
||||
if (aryResultData.Length > 1)
|
||||
if (aryResultData.Length > 1) {
|
||||
lbl_SaveData.Text = string.Format("[{0}] [{1}]", aryResultData[0], aryResultData[1]);
|
||||
etcBox1.Text = aryResultData[2];
|
||||
etcBox2.Text = aryResultData[3];
|
||||
}
|
||||
}
|
||||
else if (si != null)
|
||||
{
|
||||
string cmd = string.Format("SELECT `user`, `date` FROM `Marc` WHERE `idx` = \"{0}\"", tb_Mcode.Text);
|
||||
string cmd = string.Format("SELECT `user`, `date`, `비고1`, `비고2` FROM `Marc` WHERE `idx` = \"{0}\"", tb_Mcode.Text);
|
||||
string res = db.DB_Send_CMD_Search(cmd);
|
||||
string[] aryResultData = res.Split('|');
|
||||
|
||||
if (aryResultData.Length > 1)
|
||||
if (aryResultData.Length > 1) {
|
||||
lbl_SaveData.Text = string.Format("[{0}] [{1}]", aryResultData[0], aryResultData[1]);
|
||||
etcBox1.Text = aryResultData[2];
|
||||
etcBox2.Text = aryResultData[3];
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user