| | |
| | | |
| | | |
| | | <!-- 统计项目类型 1 --> |
| | | <select id="countProjectType1" resultType="java.util.Map"> |
| | | <select id="selectProjectType1" resultType="java.util.Map"> |
| | | select (select string_agg(code, ',') from lf.sys_dir where name = a.name) "key", name "value" from lf.sys_dir a |
| | | where name in ('测量(ESV)', '勘察(EGE)', '地灾(EGD)', '洞库(EGD)') group by name order by name; |
| | | </select> |
| | | |
| | | <!-- 统计项目类型 2 --> |
| | | <select id="countProjectType2" resultType="java.util.Map"> |
| | | <select id="selectProjectType2" resultType="java.util.Map"> |
| | | select modular1,count(*) from lf.sys_operate group by modular1 order by modular1; |
| | | </select> |
| | | |