개정판 4ef8a462
issue #1126: merged pdf가 요청된 건이 없어도 true 를 return 하도록 조건문 추가.
Change-Id: I13f025e27c2ffff9b60033344104354fa29fc415
KCOM_API/ServiceDeepView.svc.cs | ||
---|---|---|
2801 | 2801 |
return result; |
2802 | 2802 |
} |
2803 | 2803 |
|
2804 |
/// <summary> |
|
2805 |
/// 현재 진행중인 Final PDF 가 없거나 Success 일 경우에만 true return |
|
2806 |
/// </summary> |
|
2807 |
/// <param name="DocInfoID"></param> |
|
2808 |
/// <param name="MarkupInfoID"></param> |
|
2809 |
/// <param name="CreateUserID"></param> |
|
2810 |
/// <returns></returns> |
|
2804 | 2811 |
[OperationContract] |
2805 | 2812 |
public bool FinalPDF_GetFinalPDFStatus(string DocInfoID, string MarkupInfoID, string CreateUserID) |
2806 | 2813 |
{ |
... | ... | |
2813 | 2820 |
var finalpdf = _entity.FINAL_PDF.Where(x => x.DOCINFO_ID == DocInfoID && x.MARKUPINFO_ID == MarkupInfoID && x.CREATE_USER_ID == CreateUserID).FirstOrDefault(); |
2814 | 2821 |
if (finalpdf != null) |
2815 | 2822 |
{ |
2816 |
if(finalpdf.STATUS == (int)FinalStatus.Success) |
|
2823 |
if (finalpdf.STATUS == (int)FinalStatus.Success)
|
|
2817 | 2824 |
{ |
2818 | 2825 |
result = true; |
2819 | 2826 |
} |
2820 | 2827 |
} |
2828 |
else |
|
2829 |
result = true; |
|
2821 | 2830 |
} |
2822 | 2831 |
} |
2823 | 2832 |
catch (Exception) |
내보내기 Unified diff