개정판 6f6e7dbf
service 중복 convert 방지
mvvmtoolkit 수정
Change-Id: I860d70f64586b2893d4f98a6ea890f2a5512410e
ConvertService/ServiceBase/Markus.Service.DataBase/ConvertDatabase.cs | ||
---|---|---|
239 | 239 |
var convertWaitingItems = entities.CONVERTER_DOC.OrderBy(x => x.CREATE_DATETIME).Where( |
240 | 240 |
x => |
241 | 241 |
projectList.Contains(x.PROJECT_NO) && |
242 |
(x.STATUS == (int)StatusCodeType.None || |
|
243 |
x.STATUS == (int)StatusCodeType.Error && x.RECONVERTER < 2)).Take(TakeCount); |
|
242 |
(x.STATUS == (int)StatusCodeType.None || x.STATUS > (int)StatusCodeType.Completed && x.RECONVERTER < 2)) |
|
243 |
.GroupBy(x=>x.DOCUMENT_ID).Select(x => x.FirstOrDefault()) |
|
244 |
.Take(TakeCount); |
|
244 | 245 |
|
245 | 246 |
return convertWaitingItems.ToList(); |
246 | 247 |
} |
내보내기 Unified diff