@@ -46,7 +46,7 @@
select count(id)
from report_num
<where>
- create_by = #{userId} and state = '0'
+ create_by = #{userId} and state = '0' and parent_id =0
</where>
</select>