Browse Source

修改部门统计

anderx 3 years ago
parent
commit
38482b1750

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

@@ -652,7 +652,7 @@
         </if>
         group by a.aid ) y on x.aid=y.aid)b on a.id=b.aid
         left join department d on a.department_id=d.id
-        where  a.status='正常'  and a.type=1
+        where  1=1
         <if test="adminName !=null">
 	and a.name  like concat('%',#{adminName},'%')
 	</if>
@@ -660,6 +660,5 @@
 	and d.id= #{depId}
 	</if>
 	</select>
-    <select id="selectByAidGetDep"></select>
 
 </mapper>