springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComEventServiceImpl.java
@@ -1124,13 +1124,13 @@ Integer centerCount=comEventMapper.expertSolveCountCenter(); for (EventRateVO eventRateVO : eventRateVOS) { if (nonNull(eventRateVO)){ eventRateVO.setName(typeToName(eventRateVO.getCurrentProcessType())); if (eventRateVO.getCurrentProcessType().equals(2)){ eventRateVO.setCount(eventRateVO.getCount()+expertCount); } if (eventRateVO.getCurrentProcessType().equals(1)){ eventRateVO.setCount(eventRateVO.getCount()+centerCount); } eventRateVO.setName(typeToName(eventRateVO.getType())); // if (eventRateVO.getCurrentProcessType().equals(2)){ // eventRateVO.setCount(eventRateVO.getCount()+expertCount); // } // if (eventRateVO.getCurrentProcessType().equals(1)){ // eventRateVO.setCount(eventRateVO.getCount()+centerCount); // } if (nonNull(eventCount) && !eventCount.equals(0)){ //计算占比 eventRateVO.setRate(NumberUtil.div(eventRateVO.getCount(),eventCount,2)); springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComEventMapper.xml
@@ -557,11 +557,11 @@ </if> </select> <select id="eventRate" resultType="com.panzhihua.common.model.vos.sanshuo.EventRateVO"> select count(id) as count,current_process_type from com_sanshuo_event_info select count(id) as count,type from com_sanshuo_event_info where event_process_status not in(7,8,9) AND app_id='wx0cef797390444b75' group by current_process_type having current_process_type not in (5) group by type having type not in (5) </select> <select id="expertRate" resultType="com.panzhihua.common.model.vos.sanshuo.EventRateVO"> select count(id) as count,level as type from com_sanshuo_expert where app_id='wx0cef797390444b75'