throw new ApplicationException("流程操作类型不能为空!");
if( StringUtils.isEmpty(operator) )
throw new ApplicationException("操作员不能为空!");
TaskLog log = new TaskLog();
log.setActProcInstId(procInstId);
log.setActTaskInstId(taskInstId);
log.setType(type);
log.setOperator(operator);
log.setDescription(message);
if( time == null )
time = Calendar.getInstance();
log.setCreatedTime(time);
this.dao.create(log);
}