mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-12-27 02:25:59 +08:00
update 优化构建流程参数
This commit is contained in:
@@ -92,4 +92,20 @@ public interface FlowConstant {
|
|||||||
* 业务编码
|
* 业务编码
|
||||||
*/
|
*/
|
||||||
String BUSINESS_CODE = "businessCode";
|
String BUSINESS_CODE = "businessCode";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 忽略-办理权限校验(true:忽略,false:不忽略)
|
||||||
|
*/
|
||||||
|
String VAR_IGNORE = "ignore";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 忽略-委派处理(true:忽略,false:不忽略)
|
||||||
|
*/
|
||||||
|
String VAR_IGNORE_DEPUTE = "ignoreDepute";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 忽略-会签票签处理(true:忽略,false:不忽略)
|
||||||
|
*/
|
||||||
|
String VAR_IGNORE_COOPERATE = "ignoreCooperate";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -232,6 +232,9 @@ public class FlwTaskServiceImpl implements IFlwTaskService {
|
|||||||
FlowParams flowParams = FlowParams.build()
|
FlowParams flowParams = FlowParams.build()
|
||||||
.handler(completeTaskBo.getHandler())
|
.handler(completeTaskBo.getHandler())
|
||||||
.variable(variables)
|
.variable(variables)
|
||||||
|
.ignore(Convert.toBool(variables.getOrDefault(VAR_IGNORE, false)))
|
||||||
|
.ignoreDepute(Convert.toBool(variables.getOrDefault(VAR_IGNORE_DEPUTE, false)))
|
||||||
|
.ignoreCooperate(Convert.toBool(variables.getOrDefault(VAR_IGNORE_COOPERATE, false)))
|
||||||
.skipType(SkipType.PASS.getKey())
|
.skipType(SkipType.PASS.getKey())
|
||||||
.message(completeTaskBo.getMessage())
|
.message(completeTaskBo.getMessage())
|
||||||
.flowStatus(BusinessStatusEnum.WAITING.getStatus())
|
.flowStatus(BusinessStatusEnum.WAITING.getStatus())
|
||||||
|
|||||||
Reference in New Issue
Block a user