Browse Source

添加日志

master
dimengzhe 2 months ago
parent
commit
f8b1b10c27
  1. 1
      anrui-flowable/anrui-flowable-biz/src/main/java/com/yxt/anrui/flowable/biz/flowtask/FlowTaskService.java
  2. 8
      anrui-flowable/anrui-flowable-biz/src/main/java/com/yxt/anrui/flowable/config/FlowableUuidConfig.java

1
anrui-flowable/anrui-flowable-biz/src/main/java/com/yxt/anrui/flowable/biz/flowtask/FlowTaskService.java

@ -1713,6 +1713,7 @@ public class FlowTaskService extends MybatisBaseService<FlowTaskMapper, FlowTask
} else { } else {
taskService.setAssignee(id_, assignee_); taskService.setAssignee(id_, assignee_);
log.info("设置任务[{}]的assignee为[{}]", id_, assignee_);
taskService.setVariablesLocal(id_, flowTaskVo.getValues()); taskService.setVariablesLocal(id_, flowTaskVo.getValues());
} }

8
anrui-flowable/anrui-flowable-biz/src/main/java/com/yxt/anrui/flowable/config/FlowableUuidConfig.java

@ -1,3 +1,4 @@
/*
package com.yxt.anrui.flowable.config; package com.yxt.anrui.flowable.config;
import org.flowable.common.engine.impl.persistence.StrongUuidGenerator; import org.flowable.common.engine.impl.persistence.StrongUuidGenerator;
@ -6,13 +7,17 @@ import org.flowable.spring.boot.EngineConfigurationConfigurer;
import org.flowable.spring.boot.ProcessEngineConfigurationConfigurer; import org.flowable.spring.boot.ProcessEngineConfigurationConfigurer;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
*/
/** /**
* @description: * @description:
* @author: dimengzhe * @author: dimengzhe
* @date: 2025/4/21 * @date: 2025/4/21
**/ **//*
@Configuration @Configuration
@Profile("test")
public class FlowableUuidConfig { public class FlowableUuidConfig {
@Bean @Bean
@ -20,3 +25,4 @@ public class FlowableUuidConfig {
return configuration -> configuration.setIdGenerator(new StrongUuidGenerator()); return configuration -> configuration.setIdGenerator(new StrongUuidGenerator());
} }
} }
*/

Loading…
Cancel
Save