프로젝트

일반

사용자정보

개정판 cb33ad14

IDcb33ad14aeee5444d38fb4aea8a25258e712733f
상위 5529d2a2
하위 101da246

백흠경이(가) 5년 이상 전에 추가함

issue #999: add GetMarkupData() to CommentUserInfo class

Change-Id: I03b06eb325c7cd19a08d3d9cab66dd2328b2a374

차이점 보기:

KCOM/Events/Save.cs
89 89

  
90 90
        }
91 91

  
92

  
93 92
        //마크업 저장하기
94
        public void MarkupSave(MarkupInfoItem UserState)
93
        public void MarkupSave(MarkupInfoItem UserState, int iPageNo)
95 94
        {
96 95
            try
97 96
            {
98 97
                List<MARKUP_DATA> ml_markupdata = new List<MARKUP_DATA>();
99 98

  
100
                ViewerDataModel.Instance.MarkupList_USER.Where(d => d.MarkupInfoID == UserState.MarkupInfoID).ToList().GroupBy(p => p.ID).Select(g => g.First()).ToList().ForEach(value =>
99
                ///ViewerDataModel.Instance.MarkupList_USER.Where(d => d.MarkupInfoID == UserState.MarkupInfoID).ToList().GroupBy(p => p.ID).Select(g => g.First()).ToList().ForEach(value =>
100
                ViewerDataModel.Instance.MarkupControls_USER.Where(d => d.MarkupInfoID == UserState.MarkupInfoID).ToList().GroupBy(p => p.CommentID).Select(g => g.First()).ToList().ForEach(value =>
101 101
                {
102
                    ml_markupdata.Add(new MARKUP_DATA
103
                    {
104
                        ID = value.ID,
105
                        DATA = value.Data, 
106
                        DATA_TYPE = value.Data_Type,
107
                        PAGENUMBER = value.PageNumber,
108
                        MARKUPINFO_VERSION_ID = UserState.MarkupVersionID,
109
                        SYMBOL_ID = value.Symbol_ID,
110
                        GROUP_ID = value.Group_ID,
111
                    });
112

  
102
                    ml_markupdata.Add(value.GetMarkupData(App.ViewInfo.UserID, iPageNo, UserState.MarkupVersionID));
113 103
                });
114 104

  
115 105
                Logger.sendReqLog("GetMarkupDataListperPage: ", UserState + "," + Project_No + "," + document_id + "," + user_id  + "," + ml_markupdata, 1);
116 106
                Logger.sendResLog("GetMarkupDataListperPage", Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.SaveMarkupData(UserState, Project_No, document_id, user_id, ml_markupdata).ToString(), 1);
117
                //Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.SaveMarkupData(UserState, Project_No, document_id, user_id, ml_markupdata);
118 107
                TempFile.Remove(); //임시파일삭제
119 108
            }
120 109
            catch (Exception)
121 110
            {
122 111
                throw;
123 112
            }
124
            
125 113
        }
126 114

  
127
        
128

  
129 115
        public void SymbolSave(string Name, string Url, string Data)
130 116
        {
131 117
            try

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)