프로젝트

일반

사용자정보

개정판 073f6118

ID073f6118c995d8573c2b1f43afab765369293d65
상위 129ca191
하위 098e88b8, 70edf1f9

김동진이(가) 5년 이상 전에 추가함

issue #000: tempfile path combine 수정, Save 시 User List Rebind 추가, 초기 User List Update time 수정. Stamp 메뉴 Visible false 조건문 삭제.

Change-Id: I6831eb2435e3a376e83caf50f5dd97f0c1b07ce8

차이점 보기:

KCOM/Common/TempFile.cs
45 45
        {
46 46
            get
47 47
            {
48
                return Path.Combine(Path.GetTempPath(), "MARKUS\\" + App.ViewInfo.DocumentItemID + ".tmp");
48
                return Path.Combine(Path.GetTempPath(), "MARKUS",App.ViewInfo.DocumentItemID + ".tmp");
49 49
            }
50 50
        }
51 51

  
KCOM/Events/SaveCommand.cs
84 84
                                        value.MarkupInfoID, value.ID);
85 85
                        markupdata.Add((control as CommentUserInfo).GetMarkupData(App.ViewInfo.UserID, value.PageNumber, UserState.MarkupVersionID));
86 86
                    });
87

  
88
                    Logger.sendResLog("GetMarkupDataListperPage", Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.SaveMarkupData(UserState, Project_No, document_id, user_id, markupdata).ToString(), 1);
87
                    Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.SaveMarkupData(UserState, Project_No, document_id, user_id, markupdata);                    
89 88
                }
89
                //User Information List Rebind
90
                Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.gridViewMarkup.Rebind();
90 91
                TempFile.Remove(); //임시파일삭제
91 92
            }
92 93
            catch (Exception)
KCOM/Services/BaseServices.cs
333 333
                    PreviewUserMarkupInfoItem = new MarkupInfoItem
334 334
                    {
335 335
                        CreateTime = DateTime.Now,
336
                        UpdateTime = DateTime.Now,
336 337
                        Depatment = userData.DEPARTMENT,
337 338
                        DisplayColor = "#FFFF0000",
338 339
                        UserID = userData.ID,
......
377 378
                Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.pageNavigator.GotoPage(1);
378 379
                var SelectedItem = ViewerDataModel.Instance._markupInfoList.Where(info => info.UserID == App.ViewInfo.UserID).OrderByDescending(order => order.UpdateTime).FirstOrDefault();
379 380
                this.gridViewMarkup.SelectedItem = (PreviewUserMarkupInfoItem != null) ? PreviewUserMarkupInfoItem : SelectedItem;
380

  
381
                
381 382
                /// create a group descriptor
382 383
                gridViewMarkup.GroupDescriptors.Clear();
383 384
                GroupDescriptor descriptor = new GroupDescriptor();
......
665 666
            {
666 667
                this._ViewInfo.DocumentItemID = docid;
667 668
            }
668
            
669
            if (!(App.ViewInfo.ProjectNO == "000000" || App.ViewInfo.ProjectNO == "000001"))
670
            {
671
                ViewerDataModel.Instance.SystemMain.dzTopMenu.btnTopStamp.Visibility = Visibility.Collapsed;
672
            }
673
            Logger.sendReqLog("GetSystemDataAsync", "", 1);
669
           Logger.sendReqLog("GetSystemDataAsync", "", 1);
674 670
            BaseClient.GetSystemDataAsync();
675 671
        }
676 672

  

내보내기 Unified diff

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