统计接口提交

main
zhangyu 2023-02-21 10:06:04 +08:00
parent 0e80d87d82
commit 067431c254
1 changed files with 1 additions and 4 deletions

View File

@ -26,9 +26,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectEnterpriseInformationList" parameterType="com.hbt.safety.supervision.pojo.EnterpriseInformation" resultMap="EnterpriseInformationResult">
<include refid="selectEnterpriseInformationVo"/>
<where>
<if test="id != null "> and id = #{id}</if>
</where>
</select>
<select id="selectEnterpriseInformationById" parameterType="Integer" resultMap="EnterpriseInformationResult">
@ -105,7 +102,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<select id="enterpriseStatistics" resultType="java.util.Map">
select type as type, count(id) as num from enterprise_information group by type
select type as classify, count(id) as count from enterprise_information group by type
</select>
<select id="getEnterpriseCount" resultType="Integer">