dtp-移除hippop4j依赖
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package com.accompany.admin.service.lucky;
|
||||
|
||||
import cn.hippo4j.common.toolkit.CollectionUtil;
|
||||
import com.accompany.admin.service.system.SysConfAdminService;
|
||||
import com.accompany.admin.vo.BravoConfigAdminVo;
|
||||
import com.accompany.admin.vo.luckybag.BravoPersonalStatVo;
|
||||
@@ -83,7 +82,7 @@ public class BravoPoolAdminService {
|
||||
|
||||
Date now = new Date();
|
||||
List<BravoPool> poList = listPoolByType(type);
|
||||
Map<Integer, BravoPool> poMap = !CollectionUtil.isEmpty(poList)?
|
||||
Map<Integer, BravoPool> poMap = !CollectionUtils.isEmpty(poList)?
|
||||
poList.stream().collect(Collectors.toMap(BravoPool::getId, po->po)):
|
||||
new HashMap<>();
|
||||
|
||||
|
@@ -1,6 +1,5 @@
|
||||
package com.accompany.admin.service.lucky;
|
||||
|
||||
import cn.hippo4j.common.toolkit.CollectionUtil;
|
||||
import com.accompany.admin.service.system.SysConfAdminService;
|
||||
import com.accompany.admin.vo.Lucky24ConfigAdminVo;
|
||||
import com.accompany.business.dto.lucky.Lucky24GiftConfig;
|
||||
@@ -57,7 +56,7 @@ public class Lucky24PoolAdminService {
|
||||
|
||||
Date now = new Date();
|
||||
List<Lucky24Pool> poList = listPoolByType(type);
|
||||
Map<Integer, Lucky24Pool> poMap = !CollectionUtil.isEmpty(poList)?
|
||||
Map<Integer, Lucky24Pool> poMap = !CollectionUtils.isEmpty(poList)?
|
||||
poList.stream().collect(Collectors.toMap(Lucky24Pool::getId, po->po)):
|
||||
new HashMap<>();
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package com.accompany.admin.service.lucky;
|
||||
|
||||
import cn.hippo4j.common.toolkit.CollectionUtil;
|
||||
import org.springframework.util.CollectionUtils;
|
||||
import com.accompany.admin.service.system.SysConfAdminService;
|
||||
import com.accompany.admin.vo.Lucky25ConfigAdminVo;
|
||||
import com.accompany.business.dto.lucky.Lucky25GiftConfig;
|
||||
@@ -58,7 +58,7 @@ public class Lucky25PoolAdminService {
|
||||
|
||||
Date now = new Date();
|
||||
List<Lucky25Pool> poList = listPoolByType(type);
|
||||
Map<Integer, Lucky25Pool> poMap = !CollectionUtil.isEmpty(poList)?
|
||||
Map<Integer, Lucky25Pool> poMap = !CollectionUtils.isEmpty(poList)?
|
||||
poList.stream().collect(Collectors.toMap(Lucky25Pool::getId, po->po)):
|
||||
new HashMap<>();
|
||||
|
||||
|
@@ -1,6 +1,5 @@
|
||||
package com.accompany.admin;
|
||||
|
||||
import cn.hippo4j.core.enable.EnableDynamicThreadPool;
|
||||
import io.micrometer.core.instrument.MeterRegistry;
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
@@ -17,7 +16,6 @@ import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
* admin
|
||||
*
|
||||
*/
|
||||
@EnableDynamicThreadPool
|
||||
@SpringBootApplication
|
||||
@ComponentScan({"com.accompany","com.xuanyin"})
|
||||
@EnableScheduling
|
||||
|
@@ -1,6 +1,5 @@
|
||||
package com.accompany.flowteam.admin;
|
||||
|
||||
import cn.hippo4j.core.enable.EnableDynamicThreadPool;
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.SpringBootConfiguration;
|
||||
@@ -14,7 +13,6 @@ import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
* admin
|
||||
*
|
||||
*/
|
||||
@EnableDynamicThreadPool
|
||||
@SpringBootApplication
|
||||
@ComponentScan({"com.accompany","com.xuanyin"})
|
||||
@EnableScheduling
|
||||
|
Reference in New Issue
Block a user