智慧保安后台管理-外网
Administrator
2021-12-10 00754b2fb8e71be738e6c312e11d62e64a4e82c3
src/main/java/org/springblade/modules/information/mapper/InformationMapper.java
@@ -21,6 +21,7 @@
import org.apache.ibatis.annotations.Param;
import org.springblade.modules.information.entity.Information;
import org.springblade.modules.information.vo.InformationVO;
import org.springblade.modules.system.entity.Dept;
import java.util.List;
import java.util.Map;
@@ -68,4 +69,33 @@
    * @param deptId
    */
    void deleteUserByDeptId(@Param("deptId") String deptId);
   String selJurchilder(String id);
   /**
    * 查询当前单位是否有子级单位
    * @param informationVO
    * @return
    */
   List<Dept> getDeptHashChildren(@Param("information") InformationVO informationVO);
   /**
    * 查询单位的人数
    * @param dept
    * @return
    */
   int selectInformationUserNumCount(@Param("dept")Dept dept);
   /**
    * 查询单位的已派遣人数
    * @param dept
    * @return
    */
   int selectInformationDispatcherNumCount(@Param("dept")Dept dept);
   /**
    * 查询单位持证的人数
    * @param dept
    * @return
    */
   int selectInformationHoldNumCount(@Param("dept")Dept dept);
}