개정판 5a223b60
Fix: Approval로 등록된 심볼을 배치하지 못하는 오류 수정
- 심볼 배치 후 작업 영역을 클릭하면 MARKUS가 종료되는 오류 수정
Change-Id: I4e5be7f497aae8ba3f385c8efad688a7f82ae492
KCOM_API_AutoStamping/AutoStamping.svc.cs | ||
---|---|---|
171 | 171 |
|
172 | 172 |
mARKUPINFO = new MARKUP_INFO() |
173 | 173 |
{ |
174 |
ID = shortGuid(),
|
|
174 |
ID = ShortGuid(),
|
|
175 | 175 |
DOCINFO_ID = dOCINFO.ID, |
176 | 176 |
USER_ID = user_id, |
177 | 177 |
CREATE_TIME = DateTime.Now, |
... | ... | |
186 | 186 |
|
187 | 187 |
MARKUP_INFO_VERSION mARKUPINFOVERSION = new MARKUP_INFO_VERSION() |
188 | 188 |
{ |
189 |
ID = shortGuid(),
|
|
189 |
ID = ShortGuid(),
|
|
190 | 190 |
MARKUPINFO_ID = mARKUPINFO.ID, |
191 | 191 |
CREATE_DATE = DateTime.Now |
192 | 192 |
}; |
... | ... | |
342 | 342 |
|
343 | 343 |
mARKUPINFO = new MARKUP_INFO() |
344 | 344 |
{ |
345 |
ID = shortGuid(),
|
|
345 |
ID = ShortGuid(),
|
|
346 | 346 |
DOCINFO_ID = dOCINFO.ID, |
347 | 347 |
USER_ID = user_id, |
348 | 348 |
CREATE_TIME = DateTime.Now, |
... | ... | |
357 | 357 |
|
358 | 358 |
MARKUP_INFO_VERSION mARKUPINFOVERSION = new MARKUP_INFO_VERSION() |
359 | 359 |
{ |
360 |
ID = shortGuid(),
|
|
360 |
ID = ShortGuid(),
|
|
361 | 361 |
MARKUPINFO_ID = mARKUPINFO.ID, |
362 | 362 |
CREATE_DATE = DateTime.Now |
363 | 363 |
}; |
... | ... | |
407 | 407 |
} |
408 | 408 |
} |
409 | 409 |
|
410 |
private static string shortGuid()
|
|
410 |
private static string ShortGuid()
|
|
411 | 411 |
{ |
412 | 412 |
byte[] bytes = new byte[16]; |
413 | 413 |
using (var provider = System.Security.Cryptography.RandomNumberGenerator.Create()) |
... | ... | |
439 | 439 |
|
440 | 440 |
result = new SymControlN |
441 | 441 |
{ |
442 |
CommentID = shortGuid(),
|
|
442 |
CommentID = ShortGuid(),
|
|
443 | 443 |
MarkupInfoID = markupInfoId, |
444 | 444 |
UserID = userId, |
445 | 445 |
PointSet = new List<Point> { startPoint, leftBottomPoint, endPoint, topRightPoint }, |
... | ... | |
479 | 479 |
|
480 | 480 |
result = new RectangleControl |
481 | 481 |
{ |
482 |
CommentID = shortGuid(),
|
|
482 |
CommentID = ShortGuid(),
|
|
483 | 483 |
MarkupInfoID = markupInfoId, |
484 | 484 |
LineSize = 5, |
485 | 485 |
Paint = MarkupToPDF.Controls.Common.PaintSet.None, |
... | ... | |
550 | 550 |
|
551 | 551 |
result = new TextControl |
552 | 552 |
{ |
553 |
CommentID = shortGuid(),
|
|
553 |
CommentID = ShortGuid(),
|
|
554 | 554 |
MarkupInfoID = markupInfoId, |
555 | 555 |
Text = Text, |
556 | 556 |
StartPoint = startPoint, |
... | ... | |
613 | 613 |
RemFinalPDFObject remObj = null; |
614 | 614 |
try |
615 | 615 |
{ |
616 |
string _finalID = shortGuid();
|
|
616 |
string _finalID = ShortGuid();
|
|
617 | 617 |
int _DocTotalPages = -1; |
618 | 618 |
string docItemId; |
619 | 619 |
|
내보내기 Unified diff