@@ -119,6 +119,7 @@
a.type = #{leadType}
<if test="dictType != null and dictType != ''">AND a.post = #{dictType}</if>
<if test="name != null and name != ''">AND a.name like concat('%', #{name}, '%')</if>
+ <if test="level != null and level != ''">AND a.lin_level = #{level}</if>
<choose>
<when test="deptId != null and deptId != ''">and FIND_IN_SET( #{deptId}, CONCAT(d.ancestors,',',d.dept_id) )</when>
<otherwise>${params.dataScope}</otherwise>