|
@@ -23,6 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="remark" column="remark" />
|
|
<result property="remark" column="remark" />
|
|
<result property="deptName" column="dept_name" />
|
|
<result property="deptName" column="dept_name" />
|
|
<result property="dictLabel" column="dict_label" />
|
|
<result property="dictLabel" column="dict_label" />
|
|
|
|
+ <result property="num" column="num" />
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectBmProjectVo">
|
|
<sql id="selectBmProjectVo">
|
|
@@ -260,4 +261,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<include refid="selectBmProjectVo"></include>
|
|
<include refid="selectBmProjectVo"></include>
|
|
where project_status = 1 and is_del = 0 group by dept_id
|
|
where project_status = 1 and is_del = 0 group by dept_id
|
|
</select>
|
|
</select>
|
|
|
|
+
|
|
|
|
+ <select id="indexInfo" resultMap="BmProjectResult">
|
|
|
|
+ select count(id) as num,project_status from bm_project where is_del = '0' group by project_status
|
|
|
|
+ </select>
|
|
</mapper>
|
|
</mapper>
|