You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<!DOCTYPE mapper
|
|
|
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
<mapper namespace="com.ruoyi.screen.mapper.ZongzhiScreenManageMapper">
|
|
|
|
|
|
|
|
|
|
|
|
<select id="getWorkDynamics" resultType="com.ruoyi.screen.domain.response.ZongzhiWorkDynamicsResponse">
|
|
|
|
SELECT type, name
|
|
|
|
FROM `tc_work_dongtai`
|
|
|
|
GROUP BY type, name
|
|
|
|
</select>
|
|
|
|
<select id="getNetworkReport" resultType="com.ruoyi.screen.domain.response.ZongzhiNetworkReportResponse">
|
|
|
|
select count(*) as count, ROUND(count(case when state=2 THEN 1 ELSE NULL END ) * 100.0/ sum(count(*)) OVER (), 1 )as handle
|
|
|
|
FROM tc_network_report
|
|
|
|
|
|
|
|
</select>
|
|
|
|
<select id="getaction" resultType="com.ruoyi.screen.domain.response.ZongzhiActionResponse">
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
</mapper>
|