개정판 d0385e5c
issue #004: 설치 Test 용
Change-Id: Ia68c59ce4c8e53d1ef0995650eb3d35d99a5c1ad
FinalService/KCOM_FinalService_DL/KCOM_FinalService/FinalService.cs | ||
---|---|---|
50 | 50 |
} |
51 | 51 |
|
52 | 52 |
#region 서비스를 구동할 때 요청한 FinalPDF 목록을 가져온다. |
53 |
using (KCOMDataModel.DataModel.KCOMEntities _entity = new KCOMDataModel.DataModel.KCOMEntities(KCOMDataModel.Common.ConnectStringBuilder.KCOMConnectionString().ToString())) |
|
54 |
{ |
|
55 |
var items = _entity.FINAL_PDF.Where(x => x.STATUS < 4).ToList(); |
|
56 |
foreach(var item in items)
|
|
57 |
{ |
|
58 |
FinalPDFAgentMap.Add(item.ID, new DocumentProcess($"{item.PROJECT_NO}-{item.ID}", -1)); |
|
59 |
} |
|
60 |
} |
|
53 |
//using (KCOMDataModel.DataModel.KCOMEntities _entity = new KCOMDataModel.DataModel.KCOMEntities(KCOMDataModel.Common.ConnectStringBuilder.KCOMConnectionString().ToString()))
|
|
54 |
//{
|
|
55 |
// var items = _entity.FINAL_PDF.Where(x => x.STATUS < 4).ToList();
|
|
56 |
// foreach (var item in items)
|
|
57 |
// {
|
|
58 |
// FinalPDFAgentMap.Add(item.ID, new DocumentProcess($"{item.PROJECT_NO}-{item.ID}", -1));
|
|
59 |
// }
|
|
60 |
//}
|
|
61 | 61 |
#endregion |
62 | 62 |
|
63 | 63 |
/// 타이머가 없는 경우 서비스가 로직 완료 후 종료됨 |
내보내기 Unified diff