개정판 75357059
issue #0000
capture image 삭제
- 이미지 삭제 시 아이콘 반영되도록 수정
Change-Id: I019295104cbbda4e21045462724bd9d88d7108f9
ID2.Manager/ID2.Manager.Dapper/Repository/DocumentRepository.cs | ||
---|---|---|
260 | 260 |
case "frreview": |
261 | 261 |
doc.FrCapture++; |
262 | 262 |
break; |
263 |
//case "prodvalidation": |
|
264 |
// doc.ProdCapture++; |
|
265 |
// break; |
|
266 |
//case "clientvalidation": |
|
267 |
// doc.ClientCapture++; |
|
268 |
// break; |
|
269 | 263 |
case "id2work": |
270 | 264 |
doc.ID2Capture++; |
271 | 265 |
break; |
ID2.Manager/ID2.Manager/Main.cs | ||
---|---|---|
235 | 235 |
case "frreview": |
236 | 236 |
doc.FrCapture -= reslut; |
237 | 237 |
break; |
238 |
case "id2work": |
|
239 |
doc.ID2Capture -= reslut; |
|
240 |
break; |
|
241 | 238 |
} |
242 | 239 |
} |
243 | 240 |
else |
... | ... | |
265 | 262 |
|
266 | 263 |
if (reslut > 0) |
267 | 264 |
{ |
268 |
|
|
265 |
switch (e.Category) |
|
266 |
{ |
|
267 |
case "id2work": |
|
268 |
doc.ID2Capture -= reslut; |
|
269 |
break; |
|
270 |
} |
|
269 | 271 |
} |
270 | 272 |
else |
271 | 273 |
{ |
... | ... | |
542 | 544 |
briefAndImagesReview.SetFrImages(images.ToList()); |
543 | 545 |
} |
544 | 546 |
|
545 |
//if (doc.AttFiles.Any(x => x.Category == "prodvalidation")) |
|
546 |
//{ |
|
547 |
// var images = doc.AttFiles.Where(x => x.Category == "prodvalidation").Select(x => new AttImageInfo { ID = x.FileID, Category = x.Category, Data = x.FileData }); |
|
548 |
// briefAndImagesValidation.SetToImages(images.ToList()); |
|
549 |
//} |
|
550 |
|
|
551 |
//if (doc.AttFiles.Any(x => x.Category == "clientvalidation")) |
|
552 |
//{ |
|
553 |
// var images = doc.AttFiles.Where(x => x.Category == "clientvalidation").Select(x => new AttImageInfo { ID = x.FileID, Category = x.Category, Data = x.FileData }); |
|
554 |
// briefAndImagesValidation.SetFrImages(images.ToList()); |
|
555 |
//} |
|
556 |
|
|
557 |
//수정필요 |
|
558 | 547 |
if (doc.AttFiles.Any(x => x.Category == "id2work")) |
559 | 548 |
{ |
560 | 549 |
var images = doc.AttFiles.Where(x => x.Category == "id2work").Select(x => new AttImageInfo { ID = x.FileID, Category = x.Category, Data = x.FileData }); |
내보내기 Unified diff