|
@@ -894,6 +894,9 @@ sb.check_type
|
|
|
</update>
|
|
|
|
|
|
<select id="countNum" parameterType="com.platform.dao.dto.sb.SbInfoDTO" resultType="java.lang.Integer">
|
|
|
+ <if test="typeFlag != null">
|
|
|
+ select count(1) from (
|
|
|
+ </if>
|
|
|
select count(1) from t_sb_info
|
|
|
<where>
|
|
|
<if test="positionId != null and positionId != ''">
|
|
@@ -926,7 +929,7 @@ sb.check_type
|
|
|
</choose>
|
|
|
</where>
|
|
|
<if test="typeFlag != null">
|
|
|
- group by type_id
|
|
|
+ group by type_id ) t
|
|
|
</if>
|
|
|
</select>
|
|
|
|