智慧保安后台管理-外网项目备份
Administrator
2021-11-23 d4ad4cd6c127aa5944685c4aa098e0015139e1a4
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;
@@ -69,4 +70,32 @@
    */
    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);
}