개정판 3b62305d
issue #923: Merged PDF 버튼을 클릭했을때 해당 문서의 Merged PDF 서비스가 수행중이면 "Merged PDF가 수행중입니다" 메세지를 띄운다
Change-Id: If0dd0c53302e90fb68b67181b8f9e433e1d92c81
KCOM_API/ServiceDeepView.svc.cs | ||
---|---|---|
2802 | 2802 |
} |
2803 | 2803 |
|
2804 | 2804 |
[OperationContract] |
2805 |
public bool FinalPDF_GetFinalPDFStatus(string DocInfoID, string MarkupInfoID, string CreateUserID) |
|
2806 |
{ |
|
2807 |
bool result = false; |
|
2808 |
|
|
2809 |
try |
|
2810 |
{ |
|
2811 |
using (KCOMEntities _entity = new KCOMEntities(ConnectStringBuilder.KCOMConnectionString().ToString())) |
|
2812 |
{ |
|
2813 |
var finalpdf = _entity.FINAL_PDF.Where(x => x.DOCINFO_ID == DocInfoID && x.MARKUPINFO_ID == MarkupInfoID && x.CREATE_USER_ID == CreateUserID).FirstOrDefault(); |
|
2814 |
if (finalpdf != null) |
|
2815 |
{ |
|
2816 |
if(finalpdf.STATUS == (int)FinalStatus.Success) |
|
2817 |
{ |
|
2818 |
result = true; |
|
2819 |
} |
|
2820 |
} |
|
2821 |
} |
|
2822 |
} |
|
2823 |
catch (Exception) |
|
2824 |
{ |
|
2825 |
throw; |
|
2826 |
} |
|
2827 |
return result; |
|
2828 |
} |
|
2829 |
|
|
2830 |
[OperationContract] |
|
2805 | 2831 |
public bool FinalPDF_SetCurrentPage(string final_id, int currentpage) |
2806 | 2832 |
{ |
2807 | 2833 |
bool result = false; |
내보내기 Unified diff