Merge branch 'develop' of http://10.0.6.99/gwall/gwall.git into develop
Conflicts: src/main/resources/messages/message_en.properties src/main/resources/messages/message_ru.properties src/main/resources/messages/message_zh_CN.properties request 和配置状态统计增加编译id xml增加compileId去重 首页增加统计时间展示
This commit is contained in:
@@ -14,6 +14,8 @@ import com.nis.web.dao.MyBatisDao;
|
||||
|
||||
@MyBatisDao
|
||||
public interface ConfigureStatisticsDao {
|
||||
public List<Object[]> getConfigStateStatistics( ) ;
|
||||
public List<Object[]> getConfigStateStatistics( );
|
||||
public List<Object[]> getConfigStatisticTime();
|
||||
public List<Object[]> getRequestStatisticTime();
|
||||
public List<Object[]> getRequestStateStatistics(@Param("requestList")List<RequestInfo> requestList,@Param("serviceList")List<FunctionServiceDict> serviceList) ;
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
sum(case when c.cfg_state =3 then 1 else 0 end) as cancle_approved,
|
||||
sum(case when c.cfg_state =0 then 1 else 0 end) as created,
|
||||
sum(case when c.cfg_state =-1 then 1 else 0 end) as deleted
|
||||
from cfg_num_statistics c
|
||||
from (select distinct cfg_state,service_id,compile_id from cfg_num_statistics) c
|
||||
group by service_id;
|
||||
</select>
|
||||
|
||||
@@ -18,13 +18,23 @@
|
||||
<foreach item="serivice" collection="serviceList" separator=",">
|
||||
sum(case when c.service_id =${serivice.serviceId} then 1 else 0 end) as ${serivice.serviceName}
|
||||
</foreach>
|
||||
from request_num_statistics c
|
||||
from (select distinct service_id,request_id,compile_id from request_num_statistics) c
|
||||
where request_id in
|
||||
<foreach item="requestInfo" collection="requestList" separator="," open="(" close=")">
|
||||
${requestInfo.id}
|
||||
</foreach>
|
||||
group by request_id
|
||||
</select>
|
||||
<select id="getConfigStatisticTime" resultType="java.util.LinkedHashMap">
|
||||
select statistic_time
|
||||
from cfg_num_statistics c
|
||||
order by statistic_time asc
|
||||
</select>
|
||||
<select id="getRequestStatisticTime" resultType="java.util.LinkedHashMap">
|
||||
select statistic_time
|
||||
from request_num_statistics c
|
||||
order by statistic_time asc
|
||||
</select>
|
||||
<!-- <select id="getRequestStateCount" resultType="long">
|
||||
select count(request_id) count
|
||||
from
|
||||
|
||||
Reference in New Issue
Block a user