|
|
|
@ -12,6 +12,8 @@ import com.biutag.lan.domain.MailFlow; |
|
|
|
import com.biutag.lan.domain.vo.MailDetail; |
|
|
|
import com.biutag.lan.domain.vo.MailDetail; |
|
|
|
import com.biutag.lan.flow.FlowNodeEnum; |
|
|
|
import com.biutag.lan.flow.FlowNodeEnum; |
|
|
|
import com.biutag.lan.mapper.DataScreenMapper; |
|
|
|
import com.biutag.lan.mapper.DataScreenMapper; |
|
|
|
|
|
|
|
import com.biutag.lan.mapper.MailMapper; |
|
|
|
|
|
|
|
import com.biutag.lan.mapper.MailSourceMapper; |
|
|
|
import com.biutag.util.DateUtils; |
|
|
|
import com.biutag.util.DateUtils; |
|
|
|
import com.biutag.util.StringUtils; |
|
|
|
import com.biutag.util.StringUtils; |
|
|
|
import com.biutag.util.TimeUtils; |
|
|
|
import com.biutag.util.TimeUtils; |
|
|
|
@ -30,7 +32,7 @@ import java.util.concurrent.atomic.AtomicReference; |
|
|
|
@Service |
|
|
|
@Service |
|
|
|
public class DataScreenService extends ServiceImpl<DataScreenMapper, Mail> { |
|
|
|
public class DataScreenService extends ServiceImpl<DataScreenMapper, Mail> { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private final MailMapper mailMapper; |
|
|
|
|
|
|
|
|
|
|
|
private final MailFlowService mailFlowService; |
|
|
|
private final MailFlowService mailFlowService; |
|
|
|
public List<Map<String,Object>> mapData(String deptId){ |
|
|
|
public List<Map<String,Object>> mapData(String deptId){ |
|
|
|
@ -113,7 +115,9 @@ public class DataScreenService extends ServiceImpl<DataScreenMapper, Mail> { |
|
|
|
Map<String, Object> mapCompleted = baseMapper.getAllCompletedRate(null);//获取长沙市局 办结率
|
|
|
|
Map<String, Object> mapCompleted = baseMapper.getAllCompletedRate(null);//获取长沙市局 办结率
|
|
|
|
Map<String, Object> mapResolved = baseMapper.getAllResolvedRate(null);//获取长沙市局 解决率
|
|
|
|
Map<String, Object> mapResolved = baseMapper.getAllResolvedRate(null);//获取长沙市局 解决率
|
|
|
|
Map<String, Object> mapSatisfied = baseMapper.getAllSatisfiedRate(null);//获取长沙市局 满意率
|
|
|
|
Map<String, Object> mapSatisfied = baseMapper.getAllSatisfiedRate(null);//获取长沙市局 满意率
|
|
|
|
Integer allSum = baseMapper.getAllMailCount(null); |
|
|
|
// Integer allSum = baseMapper.getAllMailCount(null);
|
|
|
|
|
|
|
|
Long allSum = mailMapper.selectCount(null); |
|
|
|
|
|
|
|
|
|
|
|
Integer toDayCount = baseMapper.getTodayMailCount(null); |
|
|
|
Integer toDayCount = baseMapper.getTodayMailCount(null); |
|
|
|
mapCompleted.putAll(mapResolved); |
|
|
|
mapCompleted.putAll(mapResolved); |
|
|
|
mapCompleted.putAll(mapSatisfied); |
|
|
|
mapCompleted.putAll(mapSatisfied); |
|
|
|
@ -125,7 +129,8 @@ public class DataScreenService extends ServiceImpl<DataScreenMapper, Mail> { |
|
|
|
Map<String, Object> mapCompleted = baseMapper.getAllCompletedRate(deptId);//获取长沙市局 办结率
|
|
|
|
Map<String, Object> mapCompleted = baseMapper.getAllCompletedRate(deptId);//获取长沙市局 办结率
|
|
|
|
Map<String, Object> mapResolved = baseMapper.getAllResolvedRate(deptId);//获取长沙市局 解决率
|
|
|
|
Map<String, Object> mapResolved = baseMapper.getAllResolvedRate(deptId);//获取长沙市局 解决率
|
|
|
|
Map<String, Object> mapSatisfied = baseMapper.getAllSatisfiedRate(deptId);//获取长沙市局 满意率
|
|
|
|
Map<String, Object> mapSatisfied = baseMapper.getAllSatisfiedRate(deptId);//获取长沙市局 满意率
|
|
|
|
Integer allSum = baseMapper.getAllMailCount(deptId); |
|
|
|
// Integer allSum = baseMapper.getAllMailCount(deptId);
|
|
|
|
|
|
|
|
Long allSum = mailMapper.selectCount(new LambdaQueryWrapper<Mail>().eq(Mail::getSecondDeptId,deptId)); |
|
|
|
Integer toDayCount = baseMapper.getTodayMailCount(deptId); |
|
|
|
Integer toDayCount = baseMapper.getTodayMailCount(deptId); |
|
|
|
mapCompleted.putAll(mapResolved); |
|
|
|
mapCompleted.putAll(mapResolved); |
|
|
|
mapCompleted.putAll(mapSatisfied); |
|
|
|
mapCompleted.putAll(mapSatisfied); |
|
|
|
|