개정판 0a89a17f
다운로드 파일명 수정
Change-Id: Ic6671952e536d9cffed7c136838174c03f6c6bb0
ConvertService/ServiceBase/Markus.Service.Station/StationService/ServiceStationTask.cs | ||
---|---|---|
138 | 138 |
database.SetCleanUpItem(convert.ID); |
139 | 139 |
} |
140 | 140 |
|
141 |
PassConvertItem(convert.PROJECT_NO, convert.ID); |
|
141 |
PassConvertItem(convert.PROJECT_NO, convert.ID,convert.DOCUMENT_ID);
|
|
142 | 142 |
} |
143 | 143 |
} |
144 | 144 |
} |
... | ... | |
173 | 173 |
} |
174 | 174 |
|
175 | 175 |
|
176 |
private void PassConvertItem(string ProjectNo,string ConvertID) |
|
176 |
/// <summary> |
|
177 |
/// |
|
178 |
/// </summary> |
|
179 |
/// <param name="ProjectNo"></param> |
|
180 |
/// <param name="ConvertID"></param> |
|
181 |
/// <param name="UniqueKey">Document ID(문서의 유일키)</param> |
|
182 |
private void PassConvertItem(string ProjectNo,string ConvertID,string UniqueKey) |
|
177 | 183 |
{ |
178 | 184 |
|
179 | 185 |
try |
... | ... | |
181 | 187 |
|
182 | 188 |
var stationList = StationServiceList.Where(x => x.IsOnline); |
183 | 189 |
|
184 |
if (stationList.SelectMany(x => x.ConvertItems).Count(c => c.ProjectNumber == ProjectNo && c.ConvertID == ConvertID) == 0)
|
|
190 |
if (stationList.SelectMany(x => x.ConvertItems).Count(c => c.ProjectNumber == ProjectNo && c.UniqueKey == UniqueKey) == 0)
|
|
185 | 191 |
{ |
186 | 192 |
var station = stationList.OrderByDescending(x => x.Properties.PROCESS_COUNT - x.AliveCount).FirstOrDefault(); |
187 | 193 |
|
내보내기 Unified diff