프로젝트

일반

사용자정보

개정판 cbea3c14

IDcbea3c1436b5348647caddaaa25843e26741904a
상위 71f5a3be
하위 cf068016, f7530a9e

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

issue #937: add FinalService_Config module and modified that manage working queue

Change-Id: Ifd23b414a78d9120c6329e513c262eb39f70f2d8

차이점 보기:

FinalService/KCOM_FinalService/MarkupToPDF/MarkupToPDF.cs
260 260
                        }
261 261
                        else
262 262
                        {
263
                            throw new Exception("PDF를 찾지 못하였습니다");
263
                            throw new FileNotFoundException("PDF를 찾지 못하였습니다");
264 264
                        }
265 265
                        #endregion
266 266

  
......
309 309
                    if (finalList.Count() > 0)
310 310
                    {
311 311
                        TestFile = SetFlattingPDF(TestFile);
312
                        //finalList.FirstOrDefault().STATUS = (int)FinalStatus.Insert;
313
                        //_entity.SaveChanges();
314

  
315 312
                        SetStampInPDF(FinalItem, TestFile, MarkupInfoItem);
316
                        //finalList.FirstOrDefault().STATUS = (int)FinalStatus.PdfStamp;
317
                        //_entity.SaveChanges();
318 313
                    }
319 314
                }
320 315
                if (EndFinal != null)
......
331 326
            }
332 327
            catch (Exception ex)
333 328
            {
334

  
335
                throw;
329
                throw ex;
336 330
            }
337 331
        }
338 332
        #endregion
......
416 410
        {
417 411
            try
418 412
            {
419
                string pdfFilePath = null;
420 413
                List<MEMBER> memberlist = null;
421 414
                FileInfo tempFileInfo = new FileInfo(testFile);
422 415

  
......
424 417
                {
425 418
                    Directory.CreateDirectory(_FinalPDFStorgeLocal);
426 419
                }
427
                pdfFilePath = _FinalPDFStorgeLocal + @"\" + tempFileInfo.Name;
420
                string pdfFilePath = Path.Combine(_FinalPDFStorgeLocal, tempFileInfo.Name);
428 421
                using (CIEntities cIEntities = new CIEntities(KCOMDataModel.Common.ConnectStringBuilder.ProjectCIConnectString(finaldata.PROJECT_NO).ToString()))
429 422
                {
430 423
                    memberlist = cIEntities.MEMBER.ToList();
......
1101 1094
                    {
1102 1095
                        SetNotice(finaldata.ID, "File move error: " + ex.ToString());
1103 1096
                    }
1104
                    //
1105 1097

  
1106 1098
                    return true;
1107 1099
                }

내보내기 Unified diff

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