试一试
This commit is contained in:
parent
c49d8ed1ba
commit
68ea4d03a0
|
@ -210,6 +210,9 @@ public class ActHistoryService {
|
||||||
query.startedBy((String) params.get("startBy"));
|
query.startedBy((String) params.get("startBy"));
|
||||||
}
|
}
|
||||||
query.orderByProcessInstanceStartTime().desc();
|
query.orderByProcessInstanceStartTime().desc();
|
||||||
|
if (params.containsKey("name")) {
|
||||||
|
query = query.variableValueLike("name", params.get("name").toString());
|
||||||
|
}
|
||||||
List<HistoricProcessInstance> list = query.listPage((curPage - 1) * limit, limit);
|
List<HistoricProcessInstance> list = query.listPage((curPage - 1) * limit, limit);
|
||||||
List<ProcessInstanceDTO> listInstance = new ArrayList<>();
|
List<ProcessInstanceDTO> listInstance = new ArrayList<>();
|
||||||
if (!list.isEmpty()) {
|
if (!list.isEmpty()) {
|
||||||
|
|
Loading…
Reference in New Issue