Commit c1679bff authored by 廖旭伟's avatar 廖旭伟

申请事项分组查询接口增加条件

parent 40fa64c6
...@@ -11,12 +11,18 @@ ...@@ -11,12 +11,18 @@
deptName, deptName,
count(id) AS `count` count(id) AS `count`
FROM FROM
mortals_sys_matter_apply mortals_sys_matter_apply a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
GROUP BY GROUP BY
deptId deptId
ORDER BY ORDER BY
deptId deptId
) as a ) as t
</select> </select>
...@@ -31,12 +37,18 @@ ...@@ -31,12 +37,18 @@
deptName, deptName,
count(id) AS `count` count(id) AS `count`
FROM FROM
mortals_sys_matter_apply mortals_sys_matter_apply a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
GROUP BY GROUP BY
deptId deptId
ORDER BY ORDER BY
deptId deptId
) as a ) as t
</select> </select>
...@@ -49,12 +61,18 @@ ...@@ -49,12 +61,18 @@
themeName, themeName,
count(id) AS `count` count(id) AS `count`
FROM FROM
mortals_sys_matter_apply mortals_sys_matter_apply a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
GROUP BY GROUP BY
themeCode themeCode
ORDER BY ORDER BY
themeCode themeCode
) as a ) as t
</select> </select>
...@@ -69,11 +87,17 @@ ...@@ -69,11 +87,17 @@
themeName, themeName,
count(id) AS `count` count(id) AS `count`
FROM FROM
mortals_sys_matter_apply mortals_sys_matter_apply a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
GROUP BY GROUP BY
themeCode themeCode
ORDER BY ORDER BY
themeCode themeCode
) as a ) as t
</select> </select>
</mapper> </mapper>
\ No newline at end of file
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