| | |
| | | <if test='neighborCircleAdminDTO.releaseContent != null and neighborCircleAdminDTO.releaseContent != ""'> |
| | | and nc.release_content like concat('%',#{neighborCircleAdminDTO.releaseContent},'%') |
| | | </if> |
| | | <if test='neighborCircleAdminDTO.topicId != null '> |
| | | and canc.topic_id = #{neighborCircleAdminDTO.topicId} |
| | | </if> |
| | | <if test='neighborCircleAdminDTO.topicName != null and neighborCircleAdminDTO.topicName != ""'> |
| | | and canct.`name` = #{neighborCircleAdminDTO.topicName} |
| | | </if> |
| | |
| | | <if test='neighborCircleAdminDTO.status != null '> |
| | | and nc.status = #{neighborCircleAdminDTO.status} |
| | | </if> |
| | | <if test='neighborCircleAdminDTO.belongType != null '> |
| | | and nc.belong_type = #{neighborCircleAdminDTO.belongType} |
| | | </if> |
| | | <if test="neighborCircleAdminDTO.solveStatus !=null"> |
| | | <if test="neighborCircleAdminDTO.solveStatus ==1"> |
| | | and nc.solve_status in (0,1) |
| | | </if> |
| | | <if test="neighborCircleAdminDTO.solveStatus ==2"> |
| | | and nc.solve_status =2 |
| | | </if> |
| | | <if test="neighborCircleAdminDTO.solveStatus ==3"> |
| | | and nc.solve_status in(3,4) |
| | | </if> |
| | | </if> |
| | | </where> |
| | | order by |
| | | case when nc.`status`=1 then 0 else 1 end, |