개정판 0b75c341
PEMSS의 정합성 코멘트는 제외하고 Export 되도록 수정
Change-Id: I289cc872cf12b9d43fb415d0381271acca61f00a
KCOM_API/ServiceDeepView.svc.cs | ||
---|---|---|
1760 | 1760 |
} |
1761 | 1761 |
|
1762 | 1762 |
[OperationContract] |
1763 |
public List<MarkupKeyValue> GetMarkupDataForPage(string project_no, string _markupinfoid, int _pageNo) |
|
1764 |
{ |
|
1765 |
List<MarkupKeyValue> markupdata = new List<MarkupKeyValue>(); |
|
1766 |
|
|
1767 |
MARKUP_INFO_VERSION markup_info_version = new MARKUP_INFO_VERSION(); |
|
1768 |
try |
|
1769 |
{ |
|
1770 |
using (CIEntities Entity = new CIEntities(ConnectStringBuilder.ProjectCIConnectString(project_no).ToString())) |
|
1771 |
{ |
|
1772 |
markup_info_version = (from version in Entity.MARKUP_INFO_VERSION |
|
1773 |
where version.MARKUPINFO_ID == _markupinfoid |
|
1774 |
orderby version.CREATE_DATE descending |
|
1775 |
select version).First(); |
|
1776 |
|
|
1777 |
markupdata = (from data in Entity.MARKUP_DATA |
|
1778 |
where data.MARKUPINFO_VERSION_ID == markup_info_version.ID && data.PAGENUMBER == _pageNo |
|
1779 |
select new MarkupKeyValue { ID = data.ID, Data = data.DATA }).ToList(); |
|
1780 |
} |
|
1781 |
} |
|
1782 |
catch (Exception) |
|
1783 |
{ |
|
1784 |
return null; |
|
1785 |
} |
|
1786 |
return markupdata; |
|
1787 |
} |
|
1788 |
|
|
1789 |
[OperationContract] |
|
1763 | 1790 |
public bool AddMarkupInfo(string project_no, MARKUP_INFO value) |
1764 | 1791 |
{ |
1765 | 1792 |
try |
내보내기 Unified diff