src/main/java/org/springblade/modules/discuss/mapper/TopicsMapper.xml @@ -45,6 +45,7 @@ <include refid="selectTopics"/> <where> <if test="id != null "> parent_id = #{id}</if> and delete_flag = 0 </where> </select>