<iftest="complaintNoticeCode != null and complaintNoticeCode != ''"> and complaint_notice_code = #{complaintNoticeCode}</if>
<iftest="makeNo != null and makeNo != ''"> and make_no = #{makeNo}</if>
<iftest="emergencyDegree != null and emergencyDegree != ''"> and emergency_degree = #{emergencyDegree}</if>
<iftest="closingProcedures != null and closingProcedures != ''"> and closing_procedures = #{closingProcedures}</if>
<iftest="materialNo != null and materialNo != ''"> and material_no = #{materialNo}</if>
<iftest="materialName != null and materialName != ''"> and material_name like concat('%', #{materialName}, '%')</if>
<iftest="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>