개정판 3dc74093
issue #1182: wcf 수정
Change-Id: Ie2e2733f711d477339daef3c33c66abb10d62bec
ConvertService/ServiceBase/ConvertionWebService/Conversion.asmx.cs | ||
---|---|---|
509 | 509 |
|
510 | 510 |
if (doc != null) |
511 | 511 |
{ |
512 |
deepViewEntity.DeleteObject(doc); |
|
512 |
doc.DOCUMENT_NO = "VOID_" + doc.DOCUMENT_NO; |
|
513 |
doc.GROUP_NO = "VOID_" + doc.GROUP_NO; |
|
514 |
//deepViewEntity.DeleteObject(doc); |
|
513 | 515 |
deepViewEntity.SaveChanges(); |
514 | 516 |
_result = true.ToString(); |
515 | 517 |
} |
... | ... | |
524 | 526 |
} |
525 | 527 |
return _result; |
526 | 528 |
} |
527 |
|
|
529 |
[WebMethod] |
|
530 |
public string getDocumentID(string id) |
|
531 |
{ |
|
532 |
string _doc_id = ((UInt32)id.GetHashCode()).ToString(); |
|
533 |
return _doc_id; |
|
534 |
} |
|
528 | 535 |
[WebMethod] |
529 | 536 |
public string CoverConvert(string prj_No, string _id) |
530 | 537 |
{ |
... | ... | |
588 | 595 |
var doc = _entity.DOCUMENT_ITEM.Where(d => d.ID == document_Id).FirstOrDefault(); |
589 | 596 |
if(doc != null) |
590 | 597 |
{ |
598 |
doc.DOCUMENT_ID = _doc_id; |
|
591 | 599 |
doc.REVISION = rev_No; |
592 | 600 |
doc.GROUP_NO = group_No; |
593 | 601 |
doc.DOCUMENT_NO = document_No; |
내보내기 Unified diff