Browse Source

fix: 维权大屏优化(打击处理人数、发案环节)

master
pengwei 6 months ago
parent
commit
7794a0e683
  1. 4
      src/main/java/com/biutag/supervision/controller/datav/DataVRightsComfortController.java
  2. 2
      src/main/java/com/biutag/supervision/mapper/RpcApplyMapper.java

4
src/main/java/com/biutag/supervision/controller/datav/DataVRightsComfortController.java

@ -88,7 +88,7 @@ public class DataVRightsComfortController {
if(tortNames.stream().noneMatch(s -> s.contains(","))){
result.setHitPersonNumber(initialListSize );
}else{
result.setHitPersonNumber(initialListSize - nums + hitPersonNumber);
result.setHitPersonNumber(initialListSize - hitPersonNumber +nums);
}
Map<String, List<RpcApply>> collect = list.stream()
@ -211,7 +211,7 @@ public class DataVRightsComfortController {
if(tortNames.stream().noneMatch(s -> s.contains(","))){
re.setHitPersonNumber(initialListSize );
}else{
re.setHitPersonNumber(initialListSize - nums + hitPersonNumber);
re.setHitPersonNumber(initialListSize + nums - hitPersonNumber);
}
//抚慰金额
CompletableFutureUtil.runSyncObject(() -> {

2
src/main/java/com/biutag/supervision/mapper/RpcApplyMapper.java

@ -66,7 +66,7 @@ public interface RpcApplyMapper extends BaseMapper<RpcApply> {
"Incident_link_name AS `name`, " +
"count(*) AS `value` " +
"FROM rpc_apply ra " +
"WHERE ra.crt_time BETWEEN #{beginTime} AND #{endTime} " +
"WHERE ra.crt_time BETWEEN #{beginTime} AND #{endTime} and ra.type = 1 " +
"GROUP BY Incident_link_name ")
List<EchartsVo> getIncidentLink(Date beginTime, Date endTime);

Loading…
Cancel
Save