dtp-引入dtp代替hippop4j
This commit is contained in:
@@ -96,7 +96,7 @@ public class MyApiService {
|
||||
private RoomReciveRankingService roomReciveRankingService;
|
||||
@Autowired
|
||||
private RoomSendRankingService roomSendRankingService;
|
||||
@Resource(name = "bizExecutor")
|
||||
@Resource(name = "biz-executor")
|
||||
private ThreadPoolExecutor bizExecutor;
|
||||
@Autowired
|
||||
private UsersService usersService;
|
||||
|
@@ -68,7 +68,7 @@ public class BravoPoolAdminService {
|
||||
@Autowired
|
||||
private BravoUserMetaService userMetaService;
|
||||
|
||||
@Resource(name = "bizExecutor")
|
||||
@Resource(name = "biz-executor")
|
||||
private ThreadPoolExecutor bizExecutor;
|
||||
|
||||
private String minStartDate = "2025-03-20";
|
||||
|
@@ -62,7 +62,7 @@ public class Lucky24RecordAdminService {
|
||||
@Autowired
|
||||
private Lucky24RecordMapper recordMapper;
|
||||
|
||||
@Resource(name = "bizExecutor")
|
||||
@Resource(name = "biz-executor")
|
||||
private ThreadPoolExecutor bizExecutor;
|
||||
|
||||
private String minStartDate = "2024-09-20";
|
||||
|
@@ -53,7 +53,7 @@ public class Lucky25RecordAdminService {
|
||||
@Autowired
|
||||
private Lucky25RecordMapper recordMapper;
|
||||
|
||||
@Resource(name = "bizExecutor")
|
||||
@Resource(name = "biz-executor")
|
||||
private ThreadPoolExecutor bizExecutor;
|
||||
|
||||
private String minStartDate = "2025-05-04";
|
||||
|
@@ -42,7 +42,7 @@ public class RechargeRiskUserAdminService {
|
||||
private AccountBlockService accountBlockService;
|
||||
@Autowired
|
||||
private RechargeRiskUserAdminMapper rechargeRiskUserAdminMapper;
|
||||
@Resource(name = "bizExecutor")
|
||||
@Resource(name = "biz-executor")
|
||||
private ThreadPoolExecutor bizExecutor;
|
||||
|
||||
public Page<RechargeRiskUserAdminVo> page(Long erbanNo, PageReq req) {
|
||||
|
@@ -77,7 +77,7 @@ public class DynamicDataAdminService extends BaseService {
|
||||
@Autowired
|
||||
private IWorldService iWorldService;
|
||||
|
||||
@Resource(name = "bizExecutor")
|
||||
@Resource(name = "biz-executor")
|
||||
private ThreadPoolExecutor bizExecutor;
|
||||
|
||||
public HSSFWorkbook buildPushRecordExcel(List<Dynamic> dynamics) {
|
||||
|
@@ -1,6 +1,7 @@
|
||||
package com.accompany.admin;
|
||||
|
||||
import io.micrometer.core.instrument.MeterRegistry;
|
||||
import org.dromara.dynamictp.spring.annotation.EnableDynamicTp;
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.SpringBootConfiguration;
|
||||
@@ -16,6 +17,7 @@ import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
* admin
|
||||
*
|
||||
*/
|
||||
@EnableDynamicTp
|
||||
@SpringBootApplication
|
||||
@ComponentScan({"com.accompany","com.xuanyin"})
|
||||
@EnableScheduling
|
||||
|
@@ -49,7 +49,7 @@ public class AppVersionAdminController extends BaseController {
|
||||
private AppVersionAdminService appVersionAdminService;
|
||||
@Autowired
|
||||
private TencentCosUploadService uploadService;
|
||||
@Resource(name = "bizExecutor")
|
||||
@Resource(name = "biz-executor")
|
||||
private ThreadPoolExecutor bizExecutor;
|
||||
@Autowired
|
||||
private AdminUserService adminUserService;
|
||||
|
@@ -30,7 +30,7 @@ spring:
|
||||
refresh: true
|
||||
- data-id: sysconf.yml
|
||||
refresh: true
|
||||
- data-id: threadpool.yml
|
||||
- data-id: dtp.yml
|
||||
refresh: true
|
||||
|
||||
---
|
||||
@@ -53,7 +53,7 @@ spring:
|
||||
refresh: true
|
||||
- data-id: sysconf.yml
|
||||
refresh: true
|
||||
- data-id: threadpool.yml
|
||||
- data-id: dtp.yml
|
||||
refresh: true
|
||||
- data-id: database.yml
|
||||
refresh: true
|
||||
|
@@ -1,5 +1,6 @@
|
||||
package com.accompany.flowteam.admin;
|
||||
|
||||
import org.dromara.dynamictp.spring.annotation.EnableDynamicTp;
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.SpringBootConfiguration;
|
||||
@@ -13,6 +14,7 @@ import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
* admin
|
||||
*
|
||||
*/
|
||||
@EnableDynamicTp
|
||||
@SpringBootApplication
|
||||
@ComponentScan({"com.accompany","com.xuanyin"})
|
||||
@EnableScheduling
|
||||
|
@@ -30,7 +30,7 @@ spring:
|
||||
refresh: true
|
||||
- data-id: sysconf.yml
|
||||
refresh: true
|
||||
- data-id: threadpool.yml
|
||||
- data-id: dtp.yml
|
||||
refresh: true
|
||||
|
||||
---
|
||||
@@ -53,7 +53,7 @@ spring:
|
||||
refresh: true
|
||||
- data-id: sysconf.yml
|
||||
refresh: true
|
||||
- data-id: threadpool.yml
|
||||
- data-id: dtp.yml
|
||||
refresh: true
|
||||
- data-id: database.yml
|
||||
refresh: true
|
||||
|
Reference in New Issue
Block a user