Commit a925afa7 by guojuxing

实付配置调整

parent fd79378c
...@@ -129,7 +129,7 @@ public class DataConfigApiServiceImpl implements DataConfigApiService { ...@@ -129,7 +129,7 @@ public class DataConfigApiServiceImpl implements DataConfigApiService {
@Override @Override
public ServiceResponse<DataActuallyPaidConfig> getDataActuallyPaidConfig(Integer enterpriseId) { public ServiceResponse<DataActuallyPaidConfig> getDataActuallyPaidConfig(Integer enterpriseId) {
List<TabDataActuallyPaidConfig> list = dataActuallyPaidConfigService.listByEnterpriseId(enterpriseId); List<TabDataActuallyPaidConfig> list = dataActuallyPaidConfigService.listByEnterpriseId(enterpriseId);
if (CollectionUtils.isEmpty(list)) { if (CollectionUtils.isNotEmpty(list)) {
Map<String, Integer> map = list.stream().collect(Collectors.toMap(e -> e.getClassify().toString(), e -> e.getConfigStatus())); Map<String, Integer> map = list.stream().collect(Collectors.toMap(e -> e.getClassify().toString(), e -> e.getConfigStatus()));
//如果没有配置,默认数据 //如果没有配置,默认数据
Integer memberBusiness = map.get("1"); Integer memberBusiness = map.get("1");
......
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