개정판 b2d0f316
Feature: 선택한 객체를 앞으로(+)/뒤로(-) 보내기 기능 추가
Change-Id: I9130a93cfdb2d079f28258f3d669a6f532695f89
KCOM/Common/DataSaveTask.cs | ||
---|---|---|
148 | 148 |
bool IsSuccess = false; |
149 | 149 |
List <MARKUP_DATA> markupdata = new List<MARKUP_DATA>(); |
150 | 150 |
|
151 |
//markupdata = UserState.MarkupList.Select(x=> |
|
152 |
// new MARKUP_DATA() |
|
153 |
// { |
|
154 |
// ID = x.ID, |
|
155 |
// PAGENUMBER = x.PageNumber, |
|
156 |
// DATA = x.Data, |
|
157 |
// MARKUPINFO_VERSION_ID = UserState.MarkupVersionID, |
|
158 |
// DATA_TYPE = x.Data_Type |
|
159 |
// } |
|
160 |
//).ToList(); |
|
161 |
|
|
162 | 151 |
var updateItems = ViewerDataModel.Instance.MyMarkupList |
163 | 152 |
.Where(d => d.MarkupInfoID == UserState.MarkupInfoID && d.PageNumber == currentPageNo) |
164 |
.GroupBy(p => p.ID).Select(g => g.First()).ToList();
|
|
165 |
|
|
166 |
if (updateItems.Count() > 0)
|
|
153 |
.GroupBy(p => p.ID).Select(g => g.First()) |
|
154 |
.OrderBy(x => x.ZIndex).ToList(); |
|
155 |
if (updateItems.Any())
|
|
167 | 156 |
{ |
168 | 157 |
updateItems.ForEach(value => |
169 | 158 |
{ |
내보내기 Unified diff