Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
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
platform
hg-smart
Commits
3c17b7f9
Commit
3c17b7f9
authored
Oct 10, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.项目类型取自项目主表用于统计
parent
5a7f90cb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
HGWD001.xml
src/main/java/com/baosight/hggp/hg/wd/sql/HGWD001.xml
+6
-5
No files found.
src/main/java/com/baosight/hggp/hg/wd/sql/HGWD001.xml
View file @
3c17b7f9
...
@@ -159,12 +159,13 @@
...
@@ -159,12 +159,13 @@
<!-- 更具父级节点统计 -->
<!-- 更具父级节点统计 -->
<select
id=
"countByType"
resultClass=
"java.util.HashMap"
>
<select
id=
"countByType"
resultClass=
"java.util.HashMap"
>
SELECT PROJ_TYPE, COUNT(1) AS CNT
SELECT
B.
PROJ_TYPE, COUNT(1) AS CNT
FROM ${hggpSchema}.HGWD001
FROM ${hggpSchema}.HGWD001
A, ${hggpSchema}.HGSC001 B
WHERE 1=1
WHERE 1=1
AND DELETE_FLAG = 0
AND A.PROJ_CODE = B.PROJ_CODE
AND PROJ_TYPE IN
<iterate
close=
")"
open=
"("
conjunction=
","
property=
"projTypes"
>
#projTypes[]#
</iterate>
AND A.DELETE_FLAG = 0
GROUP BY PROJ_TYPE
AND B.PROJ_TYPE IN
<iterate
close=
")"
open=
"("
conjunction=
","
property=
"projTypes"
>
#projTypes[]#
</iterate>
GROUP BY B.PROJ_TYPE
</select>
</select>
<!-- 搜索树节点 -->
<!-- 搜索树节点 -->
...
...
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