1 activiti 查询多字段排序
每个字段都要有 sortBy -> desc/asc [sortBy -> desc/asc] [sortBy -> desc/asc]
2 使用原生sql 进行查询
List<Task> result = taskService.createNativeTaskQuery() .sql("SELECT * FROM act_id_group a WHERE a.name_=#{name}") .parameter("name", "allen").list();
3