public void queryByCondition(Map request, Map session) {
try {
String userId = FormParameterUtil.getString("userId", request);
List<Task> tasks = OperatFactory.getServiceObject(BussinessRelationServeice.class).getTasksByUserId(userId);
TaskIPKFormBean content = new TaskIPKFormBean();
content.setTasks(tasks);
AnnotationParser parser = new AnnotationParser(content, "ajax");
parser.setCurrentComponents("table");
ContentTemplate contentTemplate = (ContentTemplate) ApplicationStyle.getCurrentStyle().getTemplate(ContentTemplate.class);
contentTemplate.setParser(parser);
contentTemplate.setPermission(null);