@@ -39,7 +39,9 @@
<if test="param.name != null and param.name != ''">
AND bcf.name like concat('%',#{param.name},'%')
</if>
- AND bcf.state = #{param.state}
+ <if test="param.state != null and param.state != ''">
+ AND bcf.state = #{param.state}
+ </if>
</where>
order by bcf.create_time desc
</select>