프로젝트

일반

사용자정보

개정판 7066b8a9

ID7066b8a9848b962cf44d50c0c3eafadbe94c09f0
상위 d30305e5
하위 7db33dd9

유성호이(가) 일년 이상 전에 추가함

issue #0000
document 조회 시 Total dwg 갯수 조회(output)

Change-Id: I839ee65e9ced3f97a67cb7e91aa15ddb199fccc3

차이점 보기:

ID2.Manager/ID2.Manager.Controller/Controllers/DocumentController.cs
16 16

  
17 17
        public DocumentController(ID2ProjectInfo id2Info) : base(id2Info) { }
18 18

  
19
        public IEnumerable<Documents> GetAllDocuments(string projectCode, string personIncharge, string jobLevel, string documentNo, string isToIsDiscussion, string isFrReviewStatus, string isID2Work, string id2Status, string avevaStatus, string prodIsResult, string clientIsResult)
19
        public (IEnumerable<Documents> dwgs, int totalCnt) GetDocuments(string projectCode, string personIncharge, string jobLevel, string documentNo, string isToIsDiscussion, string isFrReviewStatus, string isID2Work, string id2Status, string avevaStatus, string prodIsResult, string clientIsResult)
20 20
        {
21 21
            using (DocumentRepository rep = new DocumentRepository(this._MSSQLCONNSTR))
22 22
            {
23
                return rep.GetAllDocuments(projectCode, personIncharge, jobLevel, documentNo, isToIsDiscussion, isFrReviewStatus, isID2Work, id2Status, avevaStatus, prodIsResult, clientIsResult);
23
                return rep.GetDocuments(projectCode, personIncharge, jobLevel, documentNo, isToIsDiscussion, isFrReviewStatus, isID2Work, id2Status, avevaStatus, prodIsResult, clientIsResult);
24 24
            }
25 25
        }
26 26

  
27
        public IEnumerable<Documents> GetAllDocuments(List<ID2ProjectInfo> id2Infos, string projectCode, string personIncharge, string jobLevel, string documentNo, string isToIsDiscussion, string isFrReviewStatus, string isID2Work, string id2Status, string avevaStatus, string prodIsResult, string clientIsResult)
27
        public (IEnumerable<Documents> dwgs, int totalCnt) GetDocuments(List<ID2ProjectInfo> id2Infos, string projectCode, string personIncharge, string jobLevel, string documentNo, string isToIsDiscussion, string isFrReviewStatus, string isID2Work, string id2Status, string avevaStatus, string prodIsResult, string clientIsResult)
28 28
        {
29
            IEnumerable<Documents> docs = this.GetAllDocuments(projectCode, personIncharge, jobLevel, documentNo, isToIsDiscussion, isFrReviewStatus, isID2Work, id2Status, avevaStatus, prodIsResult, clientIsResult);
29
            IEnumerable<Documents> docs = this.GetDocuments(projectCode, personIncharge, jobLevel, documentNo, isToIsDiscussion, isFrReviewStatus, isID2Work, id2Status, avevaStatus, prodIsResult, clientIsResult).dwgs;
30 30
            List<ID2Drawings> id2docs = null;
31 31

  
32 32
            if (id2Infos.Any())
......
101 101
                                 MarkupText = doc.MarkupText
102 102
                             };
103 103

  
104
                return result;
104
                return (result, 0);
105 105

  
106 106
            }
107
            return docs;
107
            return (docs, 0);
108 108
        }
109 109

  
110 110
        public bool SetDocumentData(List<Documents> docList, List<Documents> delDocList)

내보내기 Unified diff

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