개정판 056e4dfd
issue #1151: 조건문 수정.
Change-Id: I5dfa5ca5d44adf737d91a335a5d531617dce61ee
KCOM/Views/MainMenu.xaml.cs | ||
---|---|---|
3999 | 3999 |
private void FinalPDFEvent(object sender, RoutedEventArgs e) |
4000 | 4000 |
{ |
4001 | 4001 |
var item = gridViewMarkup.Items.Cast<MarkupInfoItem>().Where(d => d.Consolidate == 1 && d.AvoidConsolidate == 0).FirstOrDefault(); |
4002 |
if (BaseClient.FinalPDF_GetFinalPDFStatus(_DocInfo.ID, item.MarkupInfoID, _ViewInfo.UserID))
|
|
4002 |
if(item != null)
|
|
4003 | 4003 |
{ |
4004 |
if (item != null)
|
|
4004 |
if (BaseClient.FinalPDF_GetFinalPDFStatus(_DocInfo.ID, item.MarkupInfoID, _ViewInfo.UserID))
|
|
4005 | 4005 |
{ |
4006 | 4006 |
Logger.sendReqLog("SetFinalPDFAsync", _ViewInfo.ProjectNO + "," + _DocInfo.ID + "," + item.MarkupInfoID + "," + _ViewInfo.UserID, 1); |
4007 | 4007 |
BaseClient.SetFinalPDFAsync(_ViewInfo.ProjectNO, _DocInfo.ID, item.MarkupInfoID, _ViewInfo.UserID); |
4008 | 4008 |
} |
4009 | 4009 |
else |
4010 | 4010 |
{ |
4011 |
DialogMessage_Alert("Consolidation 된 코멘트가 존재하지 않습니다", "안내");
|
|
4011 |
DialogMessage_Alert("Merged PDF가 수행중입니다", "안내");
|
|
4012 | 4012 |
} |
4013 |
}else{ |
|
4014 |
//Consolidate 가 없는 경우 |
|
4015 |
DialogMessage_Alert("Consolidation 된 코멘트가 존재하지 않습니다", "안내"); |
|
4013 | 4016 |
} |
4014 |
else |
|
4015 |
{ |
|
4016 |
DialogMessage_Alert("Merged PDF가 수행중입니다", "안내"); |
|
4017 |
} |
|
4017 |
|
|
4018 | 4018 |
} |
4019 | 4019 |
|
4020 | 4020 |
private void btnFinalPDF_Loaded(object sender, RoutedEventArgs e) |
내보내기 Unified diff