forked from xxhjsb/wit-park-backend
统计接口提交
parent
0e80d87d82
commit
067431c254
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue