|
|
@ -1,7 +1,9 @@ |
|
|
|
package org.dromara.business.service.impl; |
|
|
|
|
|
|
|
import cn.hutool.core.bean.BeanUtil; |
|
|
|
import cn.hutool.core.collection.ListUtil; |
|
|
|
import cn.hutool.core.util.ObjectUtil; |
|
|
|
import cn.hutool.core.util.StrUtil; |
|
|
|
import lombok.RequiredArgsConstructor; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.apache.dubbo.config.annotation.DubboReference; |
|
|
@ -416,6 +418,7 @@ public class BusinessAlertStatisticsServiceImpl implements IBusinessAlertStatist |
|
|
|
|
|
|
|
//查询所有的职能岗位
|
|
|
|
List<RemotePostVo> postVoList = remotePostService.listPost(); |
|
|
|
postVoList = postVoList.stream().filter(item -> StrUtil.equals("0",item.getStatus())).toList();//剔除禁用规则
|
|
|
|
|
|
|
|
if (ObjectUtil.isEmpty(postVoList)) { |
|
|
|
return ListUtil.empty(); |
|
|
@ -444,6 +447,7 @@ public class BusinessAlertStatisticsServiceImpl implements IBusinessAlertStatist |
|
|
|
|
|
|
|
//查询所有的职能岗位
|
|
|
|
List<RemotePostVo> postVoList = remotePostService.listPost(); |
|
|
|
postVoList = postVoList.stream().filter(item -> StrUtil.equals("0",item.getStatus())).toList();//剔除禁用规则
|
|
|
|
|
|
|
|
List<StatObj> result = new ArrayList<>(); |
|
|
|
|
|
|
@ -498,6 +502,7 @@ public class BusinessAlertStatisticsServiceImpl implements IBusinessAlertStatist |
|
|
|
|
|
|
|
//查询所有的职能岗位
|
|
|
|
List<RemotePostVo> postVoList = remotePostService.listPost(); |
|
|
|
postVoList = postVoList.stream().filter(item -> StrUtil.equals("0",item.getStatus())).toList();//剔除禁用规则
|
|
|
|
|
|
|
|
List<String> monthList = getLastSixMonths(); |
|
|
|
|
|
|
|