Commit 5ae1d0ab3ed92c1949ad40113b60ad7c5f84d5ad
1 parent
9819e05d
fix: 修复3处问题
1. AreaConvert缺少两个方法导致编译报缺少转换函数 2. 修复SocialUserBindReqVO.java在因为lombok和mapstruct的问题,导致报未知属性的问题 3. 修复Bpm报缺少AsyncTaskExecutor的问题
Showing
3 changed files
with
13 additions
and
2 deletions
yudao-framework/yudao-spring-boot-starter-flowable/src/main/java/cn/iocoder/yudao/framework/flowable/config/YudaoFlowableConfiguration.java
| @@ -17,8 +17,8 @@ public class YudaoFlowableConfiguration { | @@ -17,8 +17,8 @@ public class YudaoFlowableConfiguration { | ||
| 17 | * | 17 | * |
| 18 | * 如果不创建,会导致项目启动时,Flowable 报错的问题 | 18 | * 如果不创建,会导致项目启动时,Flowable 报错的问题 |
| 19 | */ | 19 | */ |
| 20 | - @Bean | ||
| 21 | - @ConditionalOnMissingBean | 20 | + @Bean(name = "applicationTaskExecutor") |
| 21 | + @ConditionalOnMissingBean(name = "applicationTaskExecutor") | ||
| 22 | public AsyncListenableTaskExecutor taskExecutor() { | 22 | public AsyncListenableTaskExecutor taskExecutor() { |
| 23 | ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor(); | 23 | ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor(); |
| 24 | executor.setCorePoolSize(8); | 24 | executor.setCorePoolSize(8); |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/socail/vo/user/SocialUserBindReqVO.java
| @@ -31,4 +31,7 @@ public class SocialUserBindReqVO { | @@ -31,4 +31,7 @@ public class SocialUserBindReqVO { | ||
| 31 | @NotEmpty(message = "state 不能为空") | 31 | @NotEmpty(message = "state 不能为空") |
| 32 | private String state; | 32 | private String state; |
| 33 | 33 | ||
| 34 | + public Integer getType() { | ||
| 35 | + return type; | ||
| 36 | + } | ||
| 34 | } | 37 | } |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/convert/ip/AreaConvert.java
| @@ -17,4 +17,12 @@ public interface AreaConvert { | @@ -17,4 +17,12 @@ public interface AreaConvert { | ||
| 17 | 17 | ||
| 18 | List<AppAreaNodeRespVO> convertList3(List<Area> list); | 18 | List<AppAreaNodeRespVO> convertList3(List<Area> list); |
| 19 | 19 | ||
| 20 | + /** | ||
| 21 | + * 缺少单个转换 | ||
| 22 | + * @param value | ||
| 23 | + * @return | ||
| 24 | + */ | ||
| 25 | + AreaNodeRespVO map(Area value); | ||
| 26 | + | ||
| 27 | + AppAreaNodeRespVO map3(Area value); | ||
| 20 | } | 28 | } |