添加缓存
This commit is contained in:
parent
1ce135f78e
commit
1c84a5b1eb
@ -54,8 +54,10 @@ public class StartUp implements ApplicationRunner {
|
|||||||
processService.deployProcess("check-self", "网格员检查上报流程");
|
processService.deployProcess("check-self", "网格员检查上报流程");
|
||||||
|
|
||||||
// 初始化统计,防止第一次打开慢
|
// 初始化统计,防止第一次打开慢
|
||||||
Map<String, Object> params = new HashMap<>();
|
new Thread(() -> {
|
||||||
enterpriseService.countEnterpriseByNature(params);
|
Map<String, Object> params = new HashMap<>();
|
||||||
|
enterpriseService.countEnterpriseByNature(params);
|
||||||
|
}).start();
|
||||||
for (int year = currentYear; year >= startYear; year--) {
|
for (int year = currentYear; year >= startYear; year--) {
|
||||||
final String yearStr = String.valueOf(year);
|
final String yearStr = String.valueOf(year);
|
||||||
new Thread(() -> {
|
new Thread(() -> {
|
||||||
|
Loading…
Reference in New Issue
Block a user