Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
jyzb_platformV2
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
赵剑炜
jyzb_platformV2
Commits
dd0a3e4d
Commit
dd0a3e4d
authored
Dec 15, 2023
by
赵剑炜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
屏蔽了盘点业务
parent
237fed53
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
5 行增加
和
0 行删除
+5
-0
FlowTaskServiceImpl.java
jyzb-process/src/main/java/com/junmp/junmpProcess/service/impl/FlowTaskServiceImpl.java
+5
-0
没有找到文件。
jyzb-process/src/main/java/com/junmp/junmpProcess/service/impl/FlowTaskServiceImpl.java
View file @
dd0a3e4d
...
@@ -355,6 +355,8 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
...
@@ -355,6 +355,8 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
.
includeProcessVariables
().
taskCreatedAfter
(
taskDTO
.
getStartTime
()).
taskCreatedBefore
(
taskDTO
.
getEndTime
())
.
includeProcessVariables
().
taskCreatedAfter
(
taskDTO
.
getStartTime
()).
taskCreatedBefore
(
taskDTO
.
getEndTime
())
.
orderByTaskCreateTime
().
desc
();
.
orderByTaskCreateTime
().
desc
();
//条件查询(流程名称,开始时间,结束时间,发物单位,装备名称)
//条件查询(流程名称,开始时间,结束时间,发物单位,装备名称)
if
(
ObjectUtil
.
isNotNull
(
taskDTO
.
getProcessDefinitionName
())
&&
!
taskDTO
.
getProcessDefinitionName
().
trim
().
isEmpty
()){
if
(
ObjectUtil
.
isNotNull
(
taskDTO
.
getProcessDefinitionName
())
&&
!
taskDTO
.
getProcessDefinitionName
().
trim
().
isEmpty
()){
taskQuery
=
taskQuery
.
processDefinitionNameLike
(
"%"
+
taskDTO
.
getProcessDefinitionName
()+
"%"
);
taskQuery
=
taskQuery
.
processDefinitionNameLike
(
"%"
+
taskDTO
.
getProcessDefinitionName
()+
"%"
);
...
@@ -474,6 +476,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
...
@@ -474,6 +476,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
.
includeCaseVariables
().
includeProcessVariables
().
includeTaskLocalVariables
().
includeIdentityLinks
()
.
includeCaseVariables
().
includeProcessVariables
().
includeTaskLocalVariables
().
includeIdentityLinks
()
.
orderByTaskCreateTime
().
desc
();
.
orderByTaskCreateTime
().
desc
();
historicTaskQuery
=
historicTaskQuery
.
processVariableValueNotEquals
(
ORDER_TYPE
,
"stocktakeOrder"
);
//根据条件查询(流程名称,开始时间,结束时间)
//根据条件查询(流程名称,开始时间,结束时间)
if
(
ObjectUtil
.
isNotNull
(
taskDTO
.
getProcessDefinitionName
())
&&
!
taskDTO
.
getProcessDefinitionName
().
trim
().
isEmpty
()){
if
(
ObjectUtil
.
isNotNull
(
taskDTO
.
getProcessDefinitionName
())
&&
!
taskDTO
.
getProcessDefinitionName
().
trim
().
isEmpty
()){
historicTaskQuery
=
historicTaskQuery
.
processDefinitionNameLike
(
"%"
+
taskDTO
.
getProcessDefinitionName
()+
"%"
);
historicTaskQuery
=
historicTaskQuery
.
processDefinitionNameLike
(
"%"
+
taskDTO
.
getProcessDefinitionName
()+
"%"
);
...
@@ -609,6 +612,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
...
@@ -609,6 +612,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
.
includeProcessVariables
()
.
includeProcessVariables
()
.
startedBy
(
StartUser
.
getUserId
().
toString
())
.
startedBy
(
StartUser
.
getUserId
().
toString
())
.
orderByProcessInstanceStartTime
().
desc
();
.
orderByProcessInstanceStartTime
().
desc
();
//根据条件查询(流程名称,开始时间,结束时间)
//根据条件查询(流程名称,开始时间,结束时间)
if
(
ObjectUtil
.
isNotNull
(
applyDTO
.
getProcessDefinitionName
())
&&
!
applyDTO
.
getProcessDefinitionName
().
trim
().
isEmpty
()){
if
(
ObjectUtil
.
isNotNull
(
applyDTO
.
getProcessDefinitionName
())
&&
!
applyDTO
.
getProcessDefinitionName
().
trim
().
isEmpty
()){
List
<
ProcessDefinition
>
processDefinitions
=
repositoryService
.
createProcessDefinitionQuery
()
List
<
ProcessDefinition
>
processDefinitions
=
repositoryService
.
createProcessDefinitionQuery
()
...
@@ -627,6 +631,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
...
@@ -627,6 +631,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
if
(
ObjectUtil
.
isNotNull
(
applyDTO
.
getEndTime
()))
{
if
(
ObjectUtil
.
isNotNull
(
applyDTO
.
getEndTime
()))
{
desc
=
desc
.
startedBefore
(
applyDTO
.
getEndTime
());
desc
=
desc
.
startedBefore
(
applyDTO
.
getEndTime
());
}
}
desc
=
desc
.
variableValueNotEquals
(
ORDER_TYPE
,
"stocktakeOrder"
);
//装备名称
//装备名称
if
(
ObjectUtil
.
isNotNull
(
applyDTO
.
getTypeName
())
&&
!
applyDTO
.
getTypeName
().
trim
().
isEmpty
()){
if
(
ObjectUtil
.
isNotNull
(
applyDTO
.
getTypeName
())
&&
!
applyDTO
.
getTypeName
().
trim
().
isEmpty
()){
desc
=
desc
.
variableValueLike
(
INVLIST
,
"%"
+
applyDTO
.
getTypeName
()+
"%"
);
desc
=
desc
.
variableValueLike
(
INVLIST
,
"%"
+
applyDTO
.
getTypeName
()+
"%"
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论