Commit 361f0044 by guojuxing

观云台字典初始化

parent d996d09d
......@@ -206,6 +206,11 @@
<artifactId>widget-screening-api</artifactId>
<version>${widget-screening-api}</version>
</dependency>
<dependency>
<groupId>com.gic</groupId>
<artifactId>gic-data-cloud-api</artifactId>
<version>${gic-data-cloud-api}</version>
</dependency>
</dependencies>
<build>
......
......@@ -4,6 +4,7 @@ import java.text.SimpleDateFormat;
import java.util.*;
import java.util.stream.Collectors;
import com.gic.cloud.service.IndexDescApiService;
import com.gic.commons.util.CollectionUtil;
import com.gic.enterprise.constant.BillingAuditStatusEnum;
import com.gic.enterprise.dto.market.ServeLicenseDTO;
......@@ -96,6 +97,8 @@ public class EnterpriseApiServiceImpl implements EnterpriseApiService {
private SmsSendApiService smsSendApiService;
@Autowired
private EnterpriseLicenseApiService enterpriseLicenseApiService;
@Autowired
private IndexDescApiService indexDescApiService;
@Override
@Transactional(rollbackFor = Exception.class)
......@@ -166,6 +169,9 @@ public class EnterpriseApiServiceImpl implements EnterpriseApiService {
//年龄段配置
dataConfigApiService.initGenerationConfig(enterpriseId);
//观云台字典初始化
indexDescApiService.init(enterpriseId);
UserDTO userDTO = EntityUtil.changeEntityNew(UserDTO.class, enterpriseDTO);
//新增超级管理员
userDTO.setEnterpriseId(enterpriseId);
......
......@@ -146,4 +146,5 @@
<dubbo:reference interface="com.gic.open.api.service.EnterpriseLicenseApiService" id="enterpriseLicenseApiService" timeout="6000" />
<dubbo:reference interface="com.gic.widget.screening.api.service.EsScreeningEnterpriseInitService" id="esScreeningEnterpriseInitService" timeout="6000" />
<dubbo:reference interface="com.gic.cloud.service.IndexDescApiService" id="indexDescApiService" timeout="6000" />
</beans>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment