Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fgqyxxlr
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yaru
fgqyxxlr
Commits
600ed57f
Commit
600ed57f
authored
Sep 10, 2020
by
zhangyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改统计sql
parent
23d27110
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
18 deletions
+15
-18
ruoyi-system/src/main/resources/mapper/system/OrhonFgqyMapper.xml
+15
-18
No files found.
ruoyi-system/src/main/resources/mapper/system/OrhonFgqyMapper.xml
View file @
600ed57f
...
@@ -419,7 +419,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -419,7 +419,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
d.dict_sort
d.dict_sort
</select>
</select>
<!-- 市直、各旗区
社会组织
分布折线统计-->
<!-- 市直、各旗区
非公企业和社会组织已建立党组织数量
分布折线统计-->
<select
id=
"selectCurveChart"
parameterType=
"java.util.List"
resultType=
"java.util.Map"
>
<select
id=
"selectCurveChart"
parameterType=
"java.util.List"
resultType=
"java.util.Map"
>
SELECT
SELECT
d.dict_label name,
d.dict_label name,
...
@@ -439,35 +439,32 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -439,35 +439,32 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<!-- 全市非公企业与社会组织党委、党总支、党支部、联合党支部数量分布统计-->
<!-- 全市非公企业与社会组织党委、党总支、党支部、联合党支部数量分布统计-->
<select
id=
"selectPieChart"
parameterType=
"java.util.List"
resultType=
"java.util.Map"
>
<select
id=
"selectPieChart"
parameterType=
"java.util.List"
resultType=
"java.util.Map"
>
SELECT
SELECT
d
.dict_label name
,
d
ict_label NAME
,
(
select count(0) from orhon_shzz where dept_id = d.dict_value) shzzValue,
(
SELECT count( 0 ) FROM `orhon_fgqy` WHERE dzzlx = dd.dict_value GROUP BY dzzlx )
(select count(0) from orhon_fgqy where dept_id = d.dict_value) fgqyValue
VALUE
FROM
FROM
sys_dict_data d
sys_dict_data d
d
WHERE
WHERE
d.dict_type = 'orhon_qyfl'
dict_type = 'orhon_dzzlx'
AND d.STATUS = '0'
GROUP BY
d.dict_code
ORDER BY
ORDER BY
d
.d
ict_sort
dict_sort
</select>
</select>
<!-- 市直、各旗区非公企业与社会组织统计-->
<!-- 市直、各旗区非公企业与社会组织
党员人员分布
统计-->
<select
id=
"selectRadarChart"
parameterType=
"java.util.List"
resultType=
"java.util.Map"
>
<select
id=
"selectRadarChart"
parameterType=
"java.util.List"
resultType=
"java.util.Map"
>
SELECT
SELECT
d.dict_label name,
d.dict_label name,
(select
count(0) from orhon_shzz where dept_id = d.dict_value) shzz
Value,
(select
IFNULL(sum(IFNULL(dys,0)),0) from orhon_shzz where dept_id = d.dict_value) shzzDys
Value,
(select
count(0) from orhon_fgqy where dept_id = d.dict_value) fgqy
Value
(select
IFNULL(sum(IFNULL(dys,0)),0) from orhon_fgqy where dept_id = d.dict_value) fgqyDys
Value
FROM
FROM
sys_dict_data d
sys_dict_data d
WHERE
WHERE
d.dict_type = 'orhon_qyfl'
d.dict_type = 'orhon_qyfl'
AND d.STATUS = '0'
AND d.STATUS = '0'
GROUP BY
GROUP BY
d.dict_code
d.dict_code
ORDER BY
ORDER BY
d.dict_sort
d.dict_sort
</select>
</select>
</mapper>
</mapper>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment