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
a6931b63
Commit
a6931b63
authored
Sep 14, 2020
by
zhangyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a844b8a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
ruoyi-system/src/main/resources/mapper/system/OrhonFgqyMapper.xml
+5
-5
No files found.
ruoyi-system/src/main/resources/mapper/system/OrhonFgqyMapper.xml
View file @
a6931b63
...
@@ -389,7 +389,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -389,7 +389,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select
id=
"selectLineChart"
parameterType=
"java.util.List"
resultType=
"java.util.Map"
>
<select
id=
"selectLineChart"
parameterType=
"java.util.List"
resultType=
"java.util.Map"
>
SELECT
SELECT
d.dict_label name,
d.dict_label name,
count( off.id
) value
IFNULL(count( off.id ),0
) value
FROM
FROM
sys_dict_data d
sys_dict_data d
LEFT JOIN orhon_fgqy off ON off.dept_id = d.dict_value
LEFT JOIN orhon_fgqy off ON off.dept_id = d.dict_value
...
@@ -406,7 +406,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -406,7 +406,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select
id=
"selectBarChart"
parameterType=
"java.util.List"
resultType=
"java.util.Map"
>
<select
id=
"selectBarChart"
parameterType=
"java.util.List"
resultType=
"java.util.Map"
>
SELECT
SELECT
d.dict_label name,
d.dict_label name,
count( oz.id
) value
IFNULL(count( oz.id ),0
) value
FROM
FROM
sys_dict_data d
sys_dict_data d
LEFT JOIN orhon_shzz oz ON oz.dept_id = d.dict_value
LEFT JOIN orhon_shzz oz ON oz.dept_id = d.dict_value
...
@@ -423,8 +423,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -423,8 +423,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<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,
(select count(0) from orhon_shzz where dept_id = d.dict_value
) shzzValue,
IFNULL((select count(0) from orhon_shzz where dept_id = d.dict_value),0
) shzzValue,
(select count(0) from orhon_fgqy where dept_id = d.dict_value
) fgqyValue
IFNULL((select count(0) from orhon_fgqy where dept_id = d.dict_value),0
) fgqyValue
FROM
FROM
sys_dict_data d
sys_dict_data d
WHERE
WHERE
...
@@ -440,7 +440,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -440,7 +440,7 @@ 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
dict_label NAME,
dict_label NAME,
( SELECT count( 0 ) FROM `orhon_fgqy` WHERE dzzlx = dd.dict_value GROUP BY dzzlx
)
IFNULL(( SELECT count( 0 ) FROM `orhon_fgqy` WHERE dzzlx = dd.dict_value GROUP BY dzzlx ),0
)
VALUE
VALUE
FROM
FROM
sys_dict_data dd
sys_dict_data dd
...
...
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