This commit is contained in:
parent
1af5c7d779
commit
a7f100ddfd
|
@ -151,6 +151,10 @@ public class FlowController extends BaseController {
|
|||
return prefix +"/myStartProcessDetail";
|
||||
}
|
||||
|
||||
/**
|
||||
* 我参与的任务
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("flow:process:getMyTakePartInProcess")
|
||||
@GetMapping("/toMyTakePartInProcess")
|
||||
public String getMyTakePartInProcess()
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<div class="row">
|
||||
<ul>
|
||||
<li>
|
||||
<label> 流程名称:</label>
|
||||
<label>流程名称:</label>
|
||||
<input type="text" name="processDefinitionName"/>
|
||||
</li>
|
||||
<li>
|
||||
|
@ -40,7 +40,6 @@
|
|||
<th:block th:include="include :: select2-js" />
|
||||
<script th:inline="javascript">
|
||||
var detailFlag = [[${@permission.hasPermi('system:flow:myStartProcessDetail')}]];
|
||||
|
||||
var processInstanceStatusDatas = [[${@dict.getType('process_instance_status')}]];
|
||||
var prefixFlow = ctx + "flow";
|
||||
$(function() {
|
||||
|
|
|
@ -620,6 +620,9 @@ public class FlowableServiceImpl implements FlowableService {
|
|||
if(!StringUtils.isEmpty(processInstanceDTO.getStartedUserId())){
|
||||
historicProcessInstanceQuery.startedBy(processInstanceDTO.getStartedUserId());
|
||||
}
|
||||
if(!StringUtils.isEmpty(processInstanceDTO.getProcessDefinitionName())){
|
||||
historicProcessInstanceQuery.processDefinitionName(processInstanceDTO.getProcessDefinitionName());
|
||||
}
|
||||
historicProcessInstanceQuery.includeProcessVariables();
|
||||
long count = historicProcessInstanceQuery.
|
||||
orderByProcessInstanceStartTime().
|
||||
|
@ -683,7 +686,7 @@ public class FlowableServiceImpl implements FlowableService {
|
|||
}
|
||||
);
|
||||
if(!StringUtils.isEmpty(historicTaskInstanceDTO.getBusinessKeyLike())){
|
||||
historicTaskInstanceQuery.processInstanceBusinessKeyLike(historicTaskInstanceDTO.getBusinessKeyLike());
|
||||
historicTaskInstanceQuery.processInstanceBusinessKeyLike("%"+historicTaskInstanceDTO.getBusinessKeyLike()+"%");
|
||||
}
|
||||
if(!StringUtils.isEmpty(historicTaskInstanceDTO.getBusinessKey())){
|
||||
historicTaskInstanceQuery.processInstanceBusinessKey(historicTaskInstanceDTO.getBusinessKey());
|
||||
|
|
Loading…
Reference in New Issue