프로젝트

일반

사용자정보

개정판 ffa5dbc7

IDffa5dbc7bd7cf43382f92fca201825774e8b0923
상위 9f56088c
하위 c8dd192f

김태성이(가) 약 4년 전에 추가함

uniform size 버튼 수정

Change-Id: I3aaaaa42e5ed1bf36edef97ad08c556a44eb836d

차이점 보기:

ConvertService/ServiceBase/ConvertionWebService/Conversion.asmx.cs
591 591
                    }
592 592
                    document_Name = Base64DecodeFromStr(document_Name);
593 593

  
594
                    var doc = _entity.DOCUMENT_ITEM.Where(d => d.ID == document_Id).FirstOrDefault();
594
                    var doc = _entity.DOCUMENT_ITEM.Where(d => d.PROJECT_NO == prj_No && d.ID == document_Id).FirstOrDefault();
595 595
                    if(doc != null)
596 596
                    {
597 597
                        doc.DOCUMENT_ID = _doc_id;
......
675 675
                string _doc_id = ((UInt32)document_Id.GetHashCode()).ToString();
676 676
                using (DeepView_Entity _entity = new DeepView_Entity(ConnectStringBuilder.DeepViewConnectionString().ToString()))
677 677
                {
678
                    var doc = _entity.DOCUMENT_ITEM.Where(d => d.ID == document_Id).FirstOrDefault();
678
                    var doc = _entity.DOCUMENT_ITEM.Where(d =>d.PROJECT_NO ==  prj_No && d.ID == document_Id).FirstOrDefault();
679

  
679 680
                    if (doc != null)
680 681
                    {
681
                        var converterdoc = _entity.CONVERTER_DOC.Where(c => c.DOCUMENT_ID == doc.DOCUMENT_ID).FirstOrDefault();
682
                        var converterdoc = _entity.CONVERTER_DOC.Where(c =>c.PROJECT_NO == doc.PROJECT_NO && c.DOCUMENT_ID == doc.DOCUMENT_ID).FirstOrDefault();
682 683
                        _entity.DeleteObject(converterdoc);
683 684
                        _entity.DeleteObject(doc);
684 685
                        _entity.SaveChanges();
686

  
685 687
                        document_Url = HttpUtility.UrlDecode(document_Url);
686 688
                    }
689

  
687 690
                    int cnt = _entity.DOCUMENT_ITEM.ToList().Count;
688 691
                    if (string.IsNullOrEmpty(group_No))
689 692
                    {

내보내기 Unified diff

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