Commit 916b7bf6 by 宋祥

Merge branch 'dev-sx' of http://git.pseer.com:8800/platform/hg-smart into dev

parents 00bb5a8c 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>
<!-- 搜索树节点 --> <!-- 搜索树节点 -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment