개정판 c740ccc7
JobScheduler 추가
Change-Id: I3a8d3ebf7694eb163b25bd1326abfcaa3814c9e3
ConvertService/ServiceBase/DocItemCheck/DocumentItemCheck.cs | ||
---|---|---|
1 |
using Markus.Service.Convert.Plugin; |
|
1 |
using log4net; |
|
2 |
using Markus.Service.Convert.Plugin; |
|
2 | 3 |
using Markus.Service.Extensions; |
3 | 4 |
using System; |
4 | 5 |
using System.Collections.Generic; |
... | ... | |
23 | 24 |
{ |
24 | 25 |
bool result = true; |
25 | 26 |
|
26 |
gConvertID = ConvertID; |
|
27 |
log4net.Config.BasicConfigurator.Configure(); |
|
28 |
log4net.ILog log = log4net.LogManager.GetLogger(typeof(DocumentItemCheck)); |
|
27 | 29 |
|
28 | 30 |
try |
29 | 31 |
{ |
... | ... | |
64 | 66 |
}; |
65 | 67 |
|
66 | 68 |
(entities as IObjectContextAdapter).ObjectContext.ExecuteStoreQuery<object>("SELECT_CONVERT_INSERT @ID, @PROJECT_NO, @DOCUMENT_URL , @DOCUMENT_ID", param); |
69 |
|
|
70 |
log.Warn($"[Insert Convert_Doc] ID : {convertId} / PROJECT_NO : {projctNo} / DOCUMENT_URL : {originalUrl} / DOCUMENT_ID : {documentId} "); |
|
67 | 71 |
} |
68 | 72 |
} |
69 | 73 |
} |
74 |
else |
|
75 |
{ |
|
76 |
log.Info($"Document Item Check - Null"); |
|
77 |
} |
|
78 |
|
|
70 | 79 |
} |
71 | 80 |
} |
72 | 81 |
else |
... | ... | |
77 | 86 |
|
78 | 87 |
catch (Exception ex) |
79 | 88 |
{ |
89 |
log.Error(ex); |
|
80 | 90 |
this.Exception = ex.ToString(); |
81 | 91 |
result = false; |
82 | 92 |
} |
내보내기 Unified diff