hotfix - 处理 MQ message body size 的问题
This commit is contained in:
parent
5e8981623f
commit
7b76634542
@ -182,7 +182,9 @@ public class RocketMqBpmActivityEvent_100_Listener extends AbstractBpmnEventList
|
||||
.includeProcessVariables().singleResult());
|
||||
SimpleFormModel formModel = getContext().getFormModel(() -> {
|
||||
try {
|
||||
if (!Objects.equals("gongrendanganqianshu", processInstance.getProcessDefinitionKey())) {
|
||||
if (!Objects.equals("gongrendanganqianshu", processInstance.getProcessDefinitionKey()) &&
|
||||
!Objects.equals("jinengpeixun", processInstance.getProcessDefinitionKey()) &&
|
||||
!Objects.equals("anquanjiaoyu", processInstance.getProcessDefinitionKey())) {
|
||||
return new SimpleFormModel();
|
||||
}
|
||||
FormInfo formInfo = formRepositoryService.getFormModelByKey(processInstance.getProcessDefinitionKey(), processInstance.getTenantId(), true);
|
||||
|
||||
@ -428,7 +428,9 @@ public class RocketMqMessagePushEventListener extends AbstractBpmnEventListener<
|
||||
}
|
||||
SimpleFormModel formModel = getContext().getFormModel(() -> {
|
||||
try {
|
||||
if (!Objects.equals("gongrendanganqianshu", processInstance.getProcessDefinitionKey())) {
|
||||
if (!Objects.equals("gongrendanganqianshu", processInstance.getProcessDefinitionKey()) &&
|
||||
!Objects.equals("jinengpeixun", processInstance.getProcessDefinitionKey()) &&
|
||||
!Objects.equals("anquanjiaoyu", processInstance.getProcessDefinitionKey())) {
|
||||
return new SimpleFormModel();
|
||||
}
|
||||
FormInfo formInfo = formRepositoryService.getFormModelByKey(processInstance.getProcessDefinitionKey(), processInstance.getTenantId(), true);
|
||||
|
||||
@ -80,7 +80,9 @@ public class RocketMqBpmnProcessEventListener extends AbstractBpmnEventListener<
|
||||
SimpleFormModel formModel = getContext().getFormModel(() -> {
|
||||
try {
|
||||
String processDefinitionKey = ((ExecutionEntityImpl) event.getEntity()).getProcessDefinitionKey();
|
||||
if (!Objects.equals("gongrendanganqianshu", processDefinitionKey)) {
|
||||
if (!Objects.equals("gongrendanganqianshu", processDefinitionKey) &&
|
||||
!Objects.equals("jinengpeixun", processDefinitionKey) &&
|
||||
!Objects.equals("anquanjiaoyu", processDefinitionKey)) {
|
||||
return new SimpleFormModel();
|
||||
}
|
||||
FormInfo formInfo = formRepositoryService.getFormModelByKey(processDefinitionKey,
|
||||
@ -134,7 +136,9 @@ public class RocketMqBpmnProcessEventListener extends AbstractBpmnEventListener<
|
||||
SimpleFormModel formModel = getContext().getFormModel(() -> {
|
||||
try {
|
||||
String processDefinitionKey = ((ExecutionEntityImpl) event.getEntity()).getProcessDefinitionKey();
|
||||
if (!Objects.equals("gongrendanganqianshu", processDefinitionKey)) {
|
||||
if (!Objects.equals("gongrendanganqianshu", processDefinitionKey) &&
|
||||
!Objects.equals("jinengpeixun", processDefinitionKey) &&
|
||||
!Objects.equals("anquanjiaoyu", processDefinitionKey)) {
|
||||
return new SimpleFormModel();
|
||||
}
|
||||
FormInfo formInfo = formRepositoryService.getFormModelByKey(processDefinitionKey,
|
||||
@ -183,7 +187,9 @@ public class RocketMqBpmnProcessEventListener extends AbstractBpmnEventListener<
|
||||
SimpleFormModel formModel = getContext().getFormModel(() -> {
|
||||
try {
|
||||
String processDefinitionKey = ((ExecutionEntityImpl) ((FlowableProcessCancelledEventImpl) event).getExecution()).getProcessDefinitionKey();
|
||||
if (!Objects.equals("gongrendanganqianshu", processDefinitionKey)) {
|
||||
if (!Objects.equals("gongrendanganqianshu", processDefinitionKey) &&
|
||||
!Objects.equals("jinengpeixun", processDefinitionKey) &&
|
||||
!Objects.equals("anquanjiaoyu", processDefinitionKey)) {
|
||||
return new SimpleFormModel();
|
||||
}
|
||||
FormInfo formInfo = formRepositoryService.getFormModelByKey(processDefinitionKey,
|
||||
@ -243,7 +249,9 @@ public class RocketMqBpmnProcessEventListener extends AbstractBpmnEventListener<
|
||||
SimpleFormModel formModel = getContext().getFormModel(() -> {
|
||||
try {
|
||||
String processDefinitionKey = ((ExecutionEntityImpl) ((FlowableProcessCancelledEventImpl) event).getExecution()).getProcessDefinitionKey();
|
||||
if (!Objects.equals("gongrendanganqianshu", processDefinitionKey)) {
|
||||
if (!Objects.equals("gongrendanganqianshu", processDefinitionKey) &&
|
||||
!Objects.equals("jinengpeixun", processDefinitionKey) &&
|
||||
!Objects.equals("anquanjiaoyu", processDefinitionKey)) {
|
||||
return new SimpleFormModel();
|
||||
}
|
||||
FormInfo formInfo = formRepositoryService.getFormModelByKey(processDefinitionKey,
|
||||
@ -297,7 +305,9 @@ public class RocketMqBpmnProcessEventListener extends AbstractBpmnEventListener<
|
||||
SimpleFormModel formModel = getContext().getFormModel(() -> {
|
||||
try {
|
||||
String processDefinitionKey = ((ExecutionEntityImpl) ((FlowableProcessCancelledEventImpl) event).getExecution()).getProcessDefinitionKey();
|
||||
if (!Objects.equals("gongrendanganqianshu", processDefinitionKey)) {
|
||||
if (!Objects.equals("gongrendanganqianshu", processDefinitionKey) &&
|
||||
!Objects.equals("jinengpeixun", processDefinitionKey) &&
|
||||
!Objects.equals("anquanjiaoyu", processDefinitionKey)) {
|
||||
return new SimpleFormModel();
|
||||
}
|
||||
FormInfo formInfo = formRepositoryService.getFormModelByKey(processDefinitionKey,
|
||||
@ -351,7 +361,9 @@ public class RocketMqBpmnProcessEventListener extends AbstractBpmnEventListener<
|
||||
SimpleFormModel formModel = getContext().getFormModel(() -> {
|
||||
try {
|
||||
String processDefinitionKey = ((ExecutionEntityImpl) event.getEntity()).getProcessDefinitionKey();
|
||||
if (!Objects.equals("gongrendanganqianshu", processDefinitionKey)) {
|
||||
if (!Objects.equals("gongrendanganqianshu", processDefinitionKey) &&
|
||||
!Objects.equals("jinengpeixun", processDefinitionKey) &&
|
||||
!Objects.equals("anquanjiaoyu", processDefinitionKey)) {
|
||||
return new SimpleFormModel();
|
||||
}
|
||||
FormInfo formInfo = formRepositoryService.getFormModelByKey(processDefinitionKey,
|
||||
|
||||
@ -150,7 +150,9 @@ public class RocketMqBpmnTaskEvent_102_Listener extends AbstractBpmnEventListene
|
||||
|
||||
SimpleFormModel formModel = getContext().getFormModel(() -> {
|
||||
try {
|
||||
if (!Objects.equals("gongrendanganqianshu", processInstance.getProcessDefinitionKey())) {
|
||||
if (!Objects.equals("gongrendanganqianshu", processInstance.getProcessDefinitionKey()) &&
|
||||
!Objects.equals("jinengpeixun", processInstance.getProcessDefinitionKey()) &&
|
||||
!Objects.equals("anquanjiaoyu", processInstance.getProcessDefinitionKey())) {
|
||||
return new SimpleFormModel();
|
||||
}
|
||||
FormInfo formInfo = formRepositoryService.getFormModelByKey(processInstance.getProcessDefinitionKey(), processInstance.getTenantId(), true);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user