개정판 35afe17c
issue #000: daelim source merged(interface id select)
Change-Id: I5ed76834d4bd6ffc81b53aca13b6573e616ca961
KCOM_API/ServiceDeepView.svc.cs | ||
---|---|---|
509 | 509 |
|
510 | 510 |
return _result; |
511 | 511 |
} |
512 |
/// <summary> |
|
513 |
/// DOCUMENT_ITEM Table 의 ID 로 Item 을 Select |
|
514 |
/// </summary> |
|
515 |
/// <param name="ensemble_id"></param> |
|
516 |
/// <returns></returns> |
|
512 | 517 |
[OperationContract] |
513 | 518 |
public string GetDocItemID(string ensemble_id) |
514 | 519 |
{ |
... | ... | |
520 | 525 |
CIEntities entity = new CIEntities(ConnectStringBuilder.ProjectCIConnectString("markus").ToString()); |
521 | 526 |
|
522 | 527 |
var _items = entity.DOCUMENT_ITEM.Where(data => data.ID == ensemble_id).FirstOrDefault(); |
523 |
|
|
524 |
_result = _items.DOCUMENT_ID; |
|
528 |
if(_items != null) |
|
529 |
_result = _items.DOCUMENT_ID;
|
|
525 | 530 |
} |
526 | 531 |
catch (Exception ex) |
527 | 532 |
{ |
내보내기 Unified diff