Browse Source

修改团队不显示解散团队

anderx 1 year ago
parent
commit
ca0b39a1c1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/com/goafanti/common/mapper/SalesTeamMapper.xml

+ 2 - 2
src/main/java/com/goafanti/common/mapper/SalesTeamMapper.xml

@@ -192,11 +192,11 @@
         b.name adminName,c.name depName,d.name superName
         from sales_team a left join admin b on a.aid=b.id left join department c on a.dep_id=c.id
         left join sales_team d on a.super_id=d.id
-        <where>
+        where a.status=0
             <if test="lvl != null">
                 and a.lvl = #{lvl}
             </if>
-        </where>
+
 
     </select>
     <select id="queryByAid" resultMap="SalesTeamMap">