detail.setFinishTime( Calendar.getInstance() );
}else{
newStatus = result.isException()
?PlanDetail.Status.EXCEPTION:PlanDetail.Status.FAILURE;
detail.setErrMsg( TextFormater.format(result.getMessage(),497,true) );
detail.incFailureCount( );
}
//detail.setStatus(newStatus);
//planDetailDao.update(detail);