| | |
| | | import org.springframework.core.io.Resource; |
| | | import org.springframework.core.io.support.PathMatchingResourcePatternResolver; |
| | | import org.springframework.transaction.PlatformTransactionManager; |
| | | |
| | | import org.activiti.spring.boot.ProcessEngineConfigurationConfigurer; |
| | | import javax.sql.DataSource; |
| | | import java.io.IOException; |
| | | |
| | |
| | | * add by wuxw 2019/10/22 |
| | | **/ |
| | | @Configuration |
| | | public class ActivitiConfig { |
| | | public class ActivitiConfig implements ProcessEngineConfigurationConfigurer { |
| | | |
| | | |
| | | @Autowired |
| | |
| | | return processEngine().getObject().getHistoryService(); |
| | | } |
| | | |
| | | @Override |
| | | public void configure(SpringProcessEngineConfiguration springProcessEngineConfiguration) { |
| | | springProcessEngineConfiguration.setActivityFontName("宋体"); |
| | | springProcessEngineConfiguration.setAnnotationFontName("宋体"); |
| | | springProcessEngineConfiguration.setLabelFontName("宋体"); |
| | | } |
| | | } |