개정판 5c64268e
issue #00000 finalservice - polyline 닫히는 현상 수정
Change-Id: I497a5007442e0ea82e3e8f4f27736a9e84eb4427
KCOM_API/ServiceDeepView.svc.cs | ||
---|---|---|
29 | 29 |
{ |
30 | 30 |
public ServiceDeepView() |
31 | 31 |
{ |
32 |
//System.Diagnostics.Debug.WriteLine(OperationContext.Current.RequestContext.RequestMessage.Headers.Action.ToString());
|
|
32 |
//System.Diagnostics.Trace.WriteLine(OperationContext.Current.RequestContext.RequestMessage.Headers.Action.ToString());
|
|
33 | 33 |
} |
34 | 34 |
|
35 | 35 |
/// <summary> |
... | ... | |
74 | 74 |
} |
75 | 75 |
catch (Exception ex) |
76 | 76 |
{ |
77 |
System.Diagnostics.Debug.WriteLine("KCOM_API - GetVersionData : " + ex.ToString());
|
|
77 |
System.Diagnostics.Trace.WriteLine("KCOM_API - GetVersionData : " + ex.ToString());
|
|
78 | 78 |
|
79 | 79 |
url = null; |
80 | 80 |
} |
... | ... | |
125 | 125 |
} |
126 | 126 |
catch (Exception ex) |
127 | 127 |
{ |
128 |
System.Diagnostics.Debug.WriteLine("KCOM_API - GetSystemData : " + ex.ToString());
|
|
128 |
System.Diagnostics.Trace.WriteLine("KCOM_API - GetSystemData : " + ex.ToString());
|
|
129 | 129 |
|
130 | 130 |
} |
131 | 131 |
return null; |
... | ... | |
202 | 202 |
} |
203 | 203 |
catch (Exception ex) |
204 | 204 |
{ |
205 |
System.Diagnostics.Debug.WriteLine("KCOM_API - EditFavoriteVP : " + ex.ToString());
|
|
205 |
System.Diagnostics.Trace.WriteLine("KCOM_API - EditFavoriteVP : " + ex.ToString());
|
|
206 | 206 |
|
207 | 207 |
return false; |
208 | 208 |
} |
... | ... | |
234 | 234 |
} |
235 | 235 |
catch (Exception ex) |
236 | 236 |
{ |
237 |
System.Diagnostics.Debug.WriteLine("KCOM_API - DelFavoriteVP : " + ex.ToString());
|
|
237 |
System.Diagnostics.Trace.WriteLine("KCOM_API - DelFavoriteVP : " + ex.ToString());
|
|
238 | 238 |
|
239 | 239 |
return false; |
240 | 240 |
} |
... | ... | |
282 | 282 |
} |
283 | 283 |
catch (Exception ex) |
284 | 284 |
{ |
285 |
System.Diagnostics.Debug.WriteLine("KCOM_API - GetCompareRect : " + ex.ToString());
|
|
285 |
System.Diagnostics.Trace.WriteLine("KCOM_API - GetCompareRect : " + ex.ToString());
|
|
286 | 286 |
//throw new FaultException(ex.ToString() + " Inner Exception : " + ex.InnerException?.ToString()); |
287 | 287 |
} |
288 | 288 |
|
... | ... | |
332 | 332 |
} |
333 | 333 |
catch (Exception ex) |
334 | 334 |
{ |
335 |
System.Diagnostics.Debug.WriteLine("KCOM_API - GetCompareRect : " + ex.ToString());
|
|
335 |
System.Diagnostics.Trace.WriteLine("KCOM_API - GetCompareRect : " + ex.ToString());
|
|
336 | 336 |
//throw new FaultException(ex.ToString() + " Inner Exception : " + ex.InnerException?.ToString()); |
337 | 337 |
} |
338 | 338 |
|
... | ... | |
370 | 370 |
// string outPutFile = compareLib.ImageCompare_File(resultOrigin, resultTarget); |
371 | 371 |
// var result = compareLib.GetBoundBoxInImage(outPutFile); |
372 | 372 |
|
373 |
// System.Diagnostics.Debug.WriteLine(new TimeSpan(stopwatch.ElapsedTicks));
|
|
373 |
// System.Diagnostics.Trace.WriteLine(new TimeSpan(stopwatch.ElapsedTicks));
|
|
374 | 374 |
|
375 | 375 |
// return result; |
376 | 376 |
//} |
... | ... | |
483 | 483 |
} |
484 | 484 |
catch (Exception ex) |
485 | 485 |
{ |
486 |
System.Diagnostics.Debug.WriteLine("KCOM_API - SetFinalPDF : " + ex.ToString());
|
|
486 |
System.Diagnostics.Trace.WriteLine("KCOM_API - SetFinalPDF : " + ex.ToString());
|
|
487 | 487 |
|
488 | 488 |
_result.Status = FinalStatus.Error; |
489 | 489 |
|
... | ... | |
579 | 579 |
} |
580 | 580 |
catch (Exception ex) |
581 | 581 |
{ |
582 |
System.Diagnostics.Debug.WriteLine("KCOM_API - GetVPRevisionHistory : " + ex.ToString());
|
|
582 |
System.Diagnostics.Trace.WriteLine("KCOM_API - GetVPRevisionHistory : " + ex.ToString());
|
|
583 | 583 |
} |
584 | 584 |
finally |
585 | 585 |
{ |
... | ... | |
613 | 613 |
} |
614 | 614 |
catch (Exception ex) |
615 | 615 |
{ |
616 |
System.Diagnostics.Debug.WriteLine("KCOM_API - GetVPRevisionFirstOrDefault : " + ex.ToString());
|
|
616 |
System.Diagnostics.Trace.WriteLine("KCOM_API - GetVPRevisionFirstOrDefault : " + ex.ToString());
|
|
617 | 617 |
} |
618 | 618 |
finally |
619 | 619 |
{ |
... | ... | |
645 | 645 |
} |
646 | 646 |
catch (Exception ex) |
647 | 647 |
{ |
648 |
System.Diagnostics.Debug.WriteLine("KCOM_API - GetDocInfo : " + ex.ToString());
|
|
648 |
System.Diagnostics.Trace.WriteLine("KCOM_API - GetDocInfo : " + ex.ToString());
|
|
649 | 649 |
} |
650 | 650 |
finally |
651 | 651 |
{ |
... | ... | |
699 | 699 |
} |
700 | 700 |
catch (Exception ex) |
701 | 701 |
{ |
702 |
System.Diagnostics.Debug.WriteLine("KCOM_API - GetDocumentItemInfo : " + ex.ToString());
|
|
702 |
System.Diagnostics.Trace.WriteLine("KCOM_API - GetDocumentItemInfo : " + ex.ToString());
|
|
703 | 703 |
|
704 | 704 |
new FaultException("GetDocumentItemInfo Error - " + ex.ToString()); |
705 | 705 |
//throw new FaultException(ex.ToString()); |
... | ... | |
732 | 732 |
} |
733 | 733 |
catch (Exception ex) |
734 | 734 |
{ |
735 |
System.Diagnostics.Debug.WriteLine("KCOM_API - GetDocItemID : " + ex.ToString());
|
|
735 |
System.Diagnostics.Trace.WriteLine("KCOM_API - GetDocItemID : " + ex.ToString());
|
|
736 | 736 |
//System.Diagnostics.Trace.WriteLine("GetVendorItemInfo Error : " + ex); |
737 | 737 |
//Common.Helper.SystemErrorNotify(SERVICE_NAME.API, LEVEL.MEDIUM, ERROR_TYPE.CONVERT, "GetDocumentItemInfo / " + ex.Message, param.documentID, param.projectNo); |
738 | 738 |
} |
... | ... | |
864 | 864 |
} |
865 | 865 |
catch (Exception ex) |
866 | 866 |
{ |
867 |
System.Diagnostics.Debug.WriteLine("KCOM_API - GetMarkupInfoItems : " + ex.ToString());
|
|
867 |
System.Diagnostics.Trace.WriteLine("KCOM_API - GetMarkupInfoItems : " + ex.ToString());
|
|
868 | 868 |
|
869 | 869 |
return _result; |
870 | 870 |
} |
... | ... | |
980 | 980 |
} |
981 | 981 |
catch (Exception ex) |
982 | 982 |
{ |
983 |
System.Diagnostics.Debug.WriteLine("KCOM_API - GetSyncMarkupInfoItems : " + ex.ToString());
|
|
983 |
System.Diagnostics.Trace.WriteLine("KCOM_API - GetSyncMarkupInfoItems : " + ex.ToString());
|
|
984 | 984 |
return _result; |
985 | 985 |
} |
986 | 986 |
finally |
... | ... | |
1053 | 1053 |
} |
1054 | 1054 |
catch (Exception ex) |
1055 | 1055 |
{ |
1056 |
System.Diagnostics.Debug.WriteLine("KCOM_API - GetDeptData : " + ex.ToString());
|
|
1056 |
System.Diagnostics.Trace.WriteLine("KCOM_API - GetDeptData : " + ex.ToString());
|
|
1057 | 1057 |
} |
1058 | 1058 |
finally |
1059 | 1059 |
{ |
... | ... | |
1098 | 1098 |
} |
1099 | 1099 |
catch (Exception ex) |
1100 | 1100 |
{ |
1101 |
System.Diagnostics.Debug.WriteLine("KCOM_API - DeleteMarkup : " + ex.ToString());
|
|
1101 |
System.Diagnostics.Trace.WriteLine("KCOM_API - DeleteMarkup : " + ex.ToString());
|
|
1102 | 1102 |
} |
1103 | 1103 |
finally |
1104 | 1104 |
{ |
... | ... | |
1134 | 1134 |
} |
1135 | 1135 |
catch (Exception ex) |
1136 | 1136 |
{ |
1137 |
System.Diagnostics.Debug.WriteLine("KCOM_API - SetFavoriteVP : " + ex.ToString());
|
|
1137 |
System.Diagnostics.Trace.WriteLine("KCOM_API - SetFavoriteVP : " + ex.ToString());
|
|
1138 | 1138 |
return false; |
1139 | 1139 |
} |
1140 | 1140 |
|
... | ... | |
1185 | 1185 |
// return false; |
1186 | 1186 |
// } |
1187 | 1187 |
// } |
1188 |
// catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
1188 |
// catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
1189 | 1189 |
// { |
1190 | 1190 |
// return false; |
1191 | 1191 |
// } |
... | ... | |
1215 | 1215 |
// return false; |
1216 | 1216 |
// } |
1217 | 1217 |
// } |
1218 |
// catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
1218 |
// catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
1219 | 1219 |
// { |
1220 | 1220 |
// return false; |
1221 | 1221 |
// } |
... | ... | |
1250 | 1250 |
} |
1251 | 1251 |
catch (Exception ex) |
1252 | 1252 |
{ |
1253 |
System.Diagnostics.Debug.WriteLine("KCOM_API - SaveMarkupData Get markup_info: " + ex.ToString());
|
|
1253 |
System.Diagnostics.Trace.WriteLine("KCOM_API - SaveMarkupData Get markup_info: " + ex.ToString());
|
|
1254 | 1254 |
markup_info = null; |
1255 | 1255 |
} |
1256 | 1256 |
|
... | ... | |
1292 | 1292 |
} |
1293 | 1293 |
catch (Exception ex) |
1294 | 1294 |
{ |
1295 |
System.Diagnostics.Debug.WriteLine("KCOM_API - SaveMarkupData Get markup_info_version : " + ex.ToString());
|
|
1295 |
System.Diagnostics.Trace.WriteLine("KCOM_API - SaveMarkupData Get markup_info_version : " + ex.ToString());
|
|
1296 | 1296 |
markup_info_version = null; |
1297 | 1297 |
} |
1298 | 1298 |
|
... | ... | |
1353 | 1353 |
} |
1354 | 1354 |
catch (Exception ex) |
1355 | 1355 |
{ |
1356 |
System.Diagnostics.Debug.WriteLine("KCOM_API - SaveMarkupData set mlmarkup_data : " + ex.ToString());
|
|
1356 |
System.Diagnostics.Trace.WriteLine("KCOM_API - SaveMarkupData set mlmarkup_data : " + ex.ToString());
|
|
1357 | 1357 |
return false; |
1358 | 1358 |
} |
1359 | 1359 |
} |
... | ... | |
1387 | 1387 |
} |
1388 | 1388 |
catch (Exception ex) |
1389 | 1389 |
{ |
1390 |
System.Diagnostics.Debug.WriteLine("KCOM_API - SavePageMarkupData : " + ex.ToString());
|
|
1390 |
System.Diagnostics.Trace.WriteLine("KCOM_API - SavePageMarkupData : " + ex.ToString());
|
|
1391 | 1391 |
|
1392 | 1392 |
markup_info = null; |
1393 | 1393 |
} |
... | ... | |
1430 | 1430 |
} |
1431 | 1431 |
catch (Exception ex) |
1432 | 1432 |
{ |
1433 |
System.Diagnostics.Debug.WriteLine("KCOM_API - SavePageMarkupData get markup_info_version : " + ex.ToString());
|
|
1433 |
System.Diagnostics.Trace.WriteLine("KCOM_API - SavePageMarkupData get markup_info_version : " + ex.ToString());
|
|
1434 | 1434 |
markup_info_version = null; |
1435 | 1435 |
} |
1436 | 1436 |
|
... | ... | |
1475 | 1475 |
} |
1476 | 1476 |
catch (Exception ex) |
1477 | 1477 |
{ |
1478 |
System.Diagnostics.Debug.WriteLine("KCOM_API - SavePageMarkupData set mlmarkup_data : " + ex.ToString());
|
|
1478 |
System.Diagnostics.Trace.WriteLine("KCOM_API - SavePageMarkupData set mlmarkup_data : " + ex.ToString());
|
|
1479 | 1479 |
return false; |
1480 | 1480 |
} |
1481 | 1481 |
} |
... | ... | |
1496 | 1496 |
// return Entity.MARKUP_DATA_GROUP.ToList().LastOrDefault().ID; |
1497 | 1497 |
// } |
1498 | 1498 |
// } |
1499 |
// catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
1499 |
// catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
1500 | 1500 |
// { |
1501 | 1501 |
// return 0; |
1502 | 1502 |
// } |
... | ... | |
1513 | 1513 |
// Entity.SaveChanges(); |
1514 | 1514 |
// } |
1515 | 1515 |
// } |
1516 |
// catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
1516 |
// catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
1517 | 1517 |
// { |
1518 | 1518 |
// return false; |
1519 | 1519 |
// } |
... | ... | |
1534 | 1534 |
} |
1535 | 1535 |
catch (Exception ex) |
1536 | 1536 |
{ |
1537 |
System.Diagnostics.Debug.WriteLine("KCOM_API - UpdateMarkupData: " + ex.ToString());
|
|
1537 |
System.Diagnostics.Trace.WriteLine("KCOM_API - UpdateMarkupData: " + ex.ToString());
|
|
1538 | 1538 |
return false; |
1539 | 1539 |
} |
1540 | 1540 |
return true; |
... | ... | |
1554 | 1554 |
} |
1555 | 1555 |
catch (Exception ex) |
1556 | 1556 |
{ |
1557 |
System.Diagnostics.Debug.WriteLine("KCOM_API - SaveSymbol: " + ex.ToString());
|
|
1557 |
System.Diagnostics.Trace.WriteLine("KCOM_API - SaveSymbol: " + ex.ToString());
|
|
1558 | 1558 |
return false; |
1559 | 1559 |
} |
1560 | 1560 |
return true; |
... | ... | |
1573 | 1573 |
} |
1574 | 1574 |
catch (Exception ex) |
1575 | 1575 |
{ |
1576 |
System.Diagnostics.Debug.WriteLine("KCOM_API - AddPublicSymbol: " + ex.ToString());
|
|
1576 |
System.Diagnostics.Trace.WriteLine("KCOM_API - AddPublicSymbol: " + ex.ToString());
|
|
1577 | 1577 |
return false; |
1578 | 1578 |
} |
1579 | 1579 |
return true; |
... | ... | |
1604 | 1604 |
} |
1605 | 1605 |
catch (Exception ex) |
1606 | 1606 |
{ |
1607 |
System.Diagnostics.Debug.WriteLine("KCOM_API - DeleteSymbol : " + ex.ToString());
|
|
1607 |
System.Diagnostics.Trace.WriteLine("KCOM_API - DeleteSymbol : " + ex.ToString());
|
|
1608 | 1608 |
|
1609 | 1609 |
return false; |
1610 | 1610 |
} |
... | ... | |
1635 | 1635 |
} |
1636 | 1636 |
catch (Exception ex) |
1637 | 1637 |
{ |
1638 |
System.Diagnostics.Debug.WriteLine("KCOM_API - RenameSymbol: " + ex.ToString());
|
|
1638 |
System.Diagnostics.Trace.WriteLine("KCOM_API - RenameSymbol: " + ex.ToString());
|
|
1639 | 1639 |
return false; |
1640 | 1640 |
} |
1641 | 1641 |
return true; |
... | ... | |
1655 | 1655 |
} |
1656 | 1656 |
catch (Exception ex) |
1657 | 1657 |
{ |
1658 |
System.Diagnostics.Debug.WriteLine("KCOM_API - AddCheckListHistory: " + ex.ToString());
|
|
1658 |
System.Diagnostics.Trace.WriteLine("KCOM_API - AddCheckListHistory: " + ex.ToString());
|
|
1659 | 1659 |
return false; |
1660 | 1660 |
} |
1661 | 1661 |
return true; |
... | ... | |
1675 | 1675 |
} |
1676 | 1676 |
catch (Exception ex) |
1677 | 1677 |
{ |
1678 |
System.Diagnostics.Debug.WriteLine("KCOM_API - SaveCheckListHistory: " + ex.ToString());
|
|
1678 |
System.Diagnostics.Trace.WriteLine("KCOM_API - SaveCheckListHistory: " + ex.ToString());
|
|
1679 | 1679 |
return false; |
1680 | 1680 |
} |
1681 | 1681 |
return true; |
... | ... | |
1708 | 1708 |
Entity.SaveChanges(); |
1709 | 1709 |
} |
1710 | 1710 |
} |
1711 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
1711 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
1712 | 1712 |
return false; |
1713 | 1713 |
} |
1714 | 1714 |
return true; |
... | ... | |
1726 | 1726 |
Entity.SaveChanges(); |
1727 | 1727 |
} |
1728 | 1728 |
} |
1729 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
1729 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
1730 | 1730 |
return false; |
1731 | 1731 |
} |
1732 | 1732 |
return true; |
... | ... | |
1744 | 1744 |
Check_value = Entity.CHECK_LIST.Where(info => info.ID == _id).FirstOrDefault(); |
1745 | 1745 |
} |
1746 | 1746 |
} |
1747 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
1747 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
1748 | 1748 |
return null; |
1749 | 1749 |
} |
1750 | 1750 |
return Check_value; |
... | ... | |
1761 | 1761 |
list = Entity.CHECK_LIST.Where(i => i.PROJECT_NO == project_no && i.DOCUMENT_NO == doc_no && i.USER_ID == user_id).OrderBy(p => p.CREATE_TIME).ToList(); |
1762 | 1762 |
} |
1763 | 1763 |
} |
1764 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
1764 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
1765 | 1765 |
return null; |
1766 | 1766 |
} |
1767 | 1767 |
return list; |
... | ... | |
1778 | 1778 |
history = Entity.CHECK_LIST_HISTORY.Where(data => data.CHECKLIST_ID == _id).ToList(); |
1779 | 1779 |
} |
1780 | 1780 |
} |
1781 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
1781 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
1782 | 1782 |
return null; |
1783 | 1783 |
} |
1784 | 1784 |
return history; |
... | ... | |
1795 | 1795 |
Check_Item = Entity.CHECK_LIST_HISTORY.Where(info => info.CHECKLIST_ID == checklist_id && info.REVISION == rev).FirstOrDefault(); |
1796 | 1796 |
} |
1797 | 1797 |
} |
1798 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
1798 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
1799 | 1799 |
return null; |
1800 | 1800 |
} |
1801 | 1801 |
return Check_Item; |
... | ... | |
1824 | 1824 |
Entity.SaveChanges(); |
1825 | 1825 |
} |
1826 | 1826 |
} |
1827 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
1827 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
1828 | 1828 |
return false; |
1829 | 1829 |
} |
1830 | 1830 |
return true; |
... | ... | |
1843 | 1843 |
markupInfo = Entity.MARKUP_INFO.Where(entity => entity.DOCINFO_ID == _id).OrderByDescending(i => i.CONSOLIDATE).OrderByDescending(j => j.CREATE_TIME).FirstOrDefault(); |
1844 | 1844 |
} |
1845 | 1845 |
} |
1846 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
1846 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
1847 | 1847 |
return null; |
1848 | 1848 |
} |
1849 | 1849 |
return markupInfo; |
... | ... | |
1868 | 1868 |
select data.DATA).ToList(); |
1869 | 1869 |
} |
1870 | 1870 |
} |
1871 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
1871 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
1872 | 1872 |
return null; |
1873 | 1873 |
} |
1874 | 1874 |
return markupdata; |
... | ... | |
1886 | 1886 |
Entity.SaveChanges(); |
1887 | 1887 |
} |
1888 | 1888 |
} |
1889 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
1889 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
1890 | 1890 |
return false; |
1891 | 1891 |
} |
1892 | 1892 |
return true; |
... | ... | |
1904 | 1904 |
Entity.SaveChanges(); |
1905 | 1905 |
} |
1906 | 1906 |
} |
1907 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
1907 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
1908 | 1908 |
return false; |
1909 | 1909 |
} |
1910 | 1910 |
return true; |
... | ... | |
1922 | 1922 |
Entity.SaveChanges(); |
1923 | 1923 |
} |
1924 | 1924 |
} |
1925 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
1925 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
1926 | 1926 |
return false; |
1927 | 1927 |
} |
1928 | 1928 |
return true; |
... | ... | |
1941 | 1941 |
Entity.SaveChanges(); |
1942 | 1942 |
} |
1943 | 1943 |
} |
1944 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex); |
|
1944 |
catch (Exception ex) { |
|
1945 |
System.Diagnostics.Trace.WriteLine(ex); |
|
1945 | 1946 |
return false; |
1946 | 1947 |
} |
1947 | 1948 |
return true; |
... | ... | |
1960 | 1961 |
Entity.SaveChanges(); |
1961 | 1962 |
} |
1962 | 1963 |
} |
1963 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
1964 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
1964 | 1965 |
return false; |
1965 | 1966 |
} |
1966 | 1967 |
return true; |
... | ... | |
1978 | 1979 |
mlresult = Entity.MARKUP_DATA.Where(data => data.MARKUPINFO_VERSION_ID == _versionid).ToList(); |
1979 | 1980 |
} |
1980 | 1981 |
} |
1981 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
1982 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
1982 | 1983 |
return null; |
1983 | 1984 |
} |
1984 | 1985 |
return mlresult; |
... | ... | |
2043 | 2044 |
Entity.SaveChanges(); |
2044 | 2045 |
} |
2045 | 2046 |
} |
2046 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex); |
|
2047 |
catch (Exception ex) { |
|
2048 |
System.Diagnostics.Trace.WriteLine(ex); |
|
2047 | 2049 |
return false; |
2048 | 2050 |
} |
2049 | 2051 |
return true; |
... | ... | |
2116 | 2118 |
} |
2117 | 2119 |
catch (Exception ex) |
2118 | 2120 |
{ |
2119 |
System.Diagnostics.Debug.WriteLine(ex);
|
|
2121 |
System.Diagnostics.Trace.WriteLine(ex);
|
|
2120 | 2122 |
consolidate = false; |
2121 | 2123 |
} |
2122 | 2124 |
|
... | ... | |
2308 | 2310 |
|
2309 | 2311 |
} |
2310 | 2312 |
} |
2311 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
2313 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
2312 | 2314 |
return false; |
2313 | 2315 |
} |
2314 | 2316 |
return true; |
... | ... | |
2409 | 2411 |
Custom_List = Entity.SYMBOL_PUBLIC.Select(data => data.DEPARTMENT).Distinct().ToList(); |
2410 | 2412 |
} |
2411 | 2413 |
} |
2412 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
2414 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
2413 | 2415 |
return null; |
2414 | 2416 |
} |
2415 | 2417 |
return Custom_List; |
... | ... | |
2434 | 2436 |
|
2435 | 2437 |
} |
2436 | 2438 |
} |
2437 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
2439 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
2438 | 2440 |
return null; |
2439 | 2441 |
} |
2440 | 2442 |
return Custom_List; |
... | ... | |
2465 | 2467 |
} |
2466 | 2468 |
} |
2467 | 2469 |
} |
2468 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
2470 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
2469 | 2471 |
return null; |
2470 | 2472 |
} |
2471 | 2473 |
return result; |
... | ... | |
2489 | 2491 |
} |
2490 | 2492 |
} |
2491 | 2493 |
} |
2492 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
2494 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
2493 | 2495 |
return null; |
2494 | 2496 |
} |
2495 | 2497 |
return result; |
... | ... | |
2528 | 2530 |
} |
2529 | 2531 |
|
2530 | 2532 |
} |
2531 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
2533 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
2532 | 2534 |
return null; |
2533 | 2535 |
} |
2534 | 2536 |
return result; |
... | ... | |
2569 | 2571 |
} |
2570 | 2572 |
catch (Exception ex) |
2571 | 2573 |
{ |
2572 |
System.Diagnostics.Debug.WriteLine(ex);
|
|
2574 |
System.Diagnostics.Trace.WriteLine(ex);
|
|
2573 | 2575 |
return null; |
2574 | 2576 |
} |
2575 | 2577 |
return result; |
... | ... | |
2611 | 2613 |
} |
2612 | 2614 |
catch (Exception ex) |
2613 | 2615 |
{ |
2614 |
System.Diagnostics.Debug.WriteLine(ex);
|
|
2616 |
System.Diagnostics.Trace.WriteLine(ex);
|
|
2615 | 2617 |
} |
2616 | 2618 |
return result; |
2617 | 2619 |
} |
... | ... | |
2651 | 2653 |
} |
2652 | 2654 |
catch (Exception ex) |
2653 | 2655 |
{ |
2654 |
System.Diagnostics.Debug.WriteLine(ex);
|
|
2656 |
System.Diagnostics.Trace.WriteLine(ex);
|
|
2655 | 2657 |
} |
2656 | 2658 |
return result; |
2657 | 2659 |
} |
... | ... | |
2693 | 2695 |
result = Entity.RUN_PROJECTS.Where(i => i.PROJECT_NO == project_no).FirstOrDefault().PROJECT_NAME.ToString(); |
2694 | 2696 |
} |
2695 | 2697 |
} |
2696 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
2698 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
2697 | 2699 |
return null; |
2698 | 2700 |
} |
2699 | 2701 |
return result; |
... | ... | |
2714 | 2716 |
&& i.REVISION != current_rev).OrderByDescending(i => i.GROUP_NO).ToList(); |
2715 | 2717 |
} |
2716 | 2718 |
} |
2717 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
2719 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
2718 | 2720 |
return null; |
2719 | 2721 |
} |
2720 | 2722 |
return result; |
... | ... | |
2736 | 2738 |
select info).First(); |
2737 | 2739 |
} |
2738 | 2740 |
} |
2739 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
2741 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
2740 | 2742 |
return null; |
2741 | 2743 |
} |
2742 | 2744 |
return docinfo; |
... | ... | |
2776 | 2778 |
} |
2777 | 2779 |
catch (Exception ex) |
2778 | 2780 |
{ |
2779 |
System.Diagnostics.Debug.WriteLine("KCOM_API - GetPrintDocItemList displaycolor : " + ex.ToString());
|
|
2781 |
System.Diagnostics.Trace.WriteLine("KCOM_API - GetPrintDocItemList displaycolor : " + ex.ToString());
|
|
2780 | 2782 |
|
2781 | 2783 |
displaycolor = "#FFFFFF"; |
2782 | 2784 |
} |
... | ... | |
2830 | 2832 |
entity.SaveChanges(); |
2831 | 2833 |
} |
2832 | 2834 |
} |
2833 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
2835 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
2834 | 2836 |
return false; |
2835 | 2837 |
} |
2836 | 2838 |
return true; |
... | ... | |
2941 | 2943 |
} |
2942 | 2944 |
} |
2943 | 2945 |
} |
2944 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
2946 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
2945 | 2947 |
throw; |
2946 | 2948 |
} |
2947 | 2949 |
return docinfo; |
... | ... | |
2978 | 2980 |
|
2979 | 2981 |
} |
2980 | 2982 |
} |
2981 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
2983 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
2982 | 2984 |
throw; |
2983 | 2985 |
} |
2984 | 2986 |
return item; |
... | ... | |
3015 | 3017 |
} |
3016 | 3018 |
} |
3017 | 3019 |
} |
3018 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
3020 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
3019 | 3021 |
throw; |
3020 | 3022 |
} |
3021 | 3023 |
return results; |
... | ... | |
3043 | 3045 |
} |
3044 | 3046 |
} |
3045 | 3047 |
} |
3046 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
3048 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
3047 | 3049 |
throw; |
3048 | 3050 |
} |
3049 | 3051 |
return markupInfo; |
... | ... | |
3082 | 3084 |
} |
3083 | 3085 |
} |
3084 | 3086 |
} |
3085 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
3087 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
3086 | 3088 |
throw; |
3087 | 3089 |
} |
3088 | 3090 |
return results; |
... | ... | |
3113 | 3115 |
} |
3114 | 3116 |
} |
3115 | 3117 |
} |
3116 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
3118 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
3117 | 3119 |
throw; |
3118 | 3120 |
} |
3119 | 3121 |
return results; |
... | ... | |
3147 | 3149 |
} |
3148 | 3150 |
} |
3149 | 3151 |
} |
3150 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
3152 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
3151 | 3153 |
throw; |
3152 | 3154 |
} |
3153 | 3155 |
return result; |
... | ... | |
3182 | 3184 |
result = true; |
3183 | 3185 |
} |
3184 | 3186 |
} |
3185 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
3187 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
3186 | 3188 |
throw; |
3187 | 3189 |
} |
3188 | 3190 |
return result; |
... | ... | |
3207 | 3209 |
} |
3208 | 3210 |
} |
3209 | 3211 |
} |
3210 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
3212 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
3211 | 3213 |
throw; |
3212 | 3214 |
} |
3213 | 3215 |
return result; |
... | ... | |
3232 | 3234 |
} |
3233 | 3235 |
} |
3234 | 3236 |
} |
3235 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
3237 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
3236 | 3238 |
throw; |
3237 | 3239 |
} |
3238 | 3240 |
return result; |
... | ... | |
3257 | 3259 |
} |
3258 | 3260 |
} |
3259 | 3261 |
} |
3260 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
3262 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
3261 | 3263 |
throw; |
3262 | 3264 |
} |
3263 | 3265 |
return result; |
... | ... | |
3316 | 3318 |
} |
3317 | 3319 |
} |
3318 | 3320 |
} |
3319 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
3321 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
3320 | 3322 |
throw; |
3321 | 3323 |
} |
3322 | 3324 |
|
... | ... | |
3348 | 3350 |
} |
3349 | 3351 |
|
3350 | 3352 |
} |
3351 |
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
|
|
3353 |
catch (Exception ex) { System.Diagnostics.Trace.WriteLine(ex);
|
|
3352 | 3354 |
throw; |
3353 | 3355 |
} |
3354 | 3356 |
return results; |
내보내기 Unified diff