linwe
2024-08-09 8b7258c9427882bb1798f1502eaa35184c6e374e
src/main/java/org/springblade/modules/grid/mapper/GridmanMapper.java
@@ -17,6 +17,7 @@
package org.springblade.modules.grid.mapper;
import org.apache.ibatis.annotations.Param;
import org.flowable.idm.engine.impl.persistence.entity.UserEntity;
import org.springblade.modules.grid.entity.GridmanEntity;
import org.springblade.modules.grid.vo.GridmanVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
@@ -39,7 +40,10 @@
    * @param gridman
    * @return
    */
   List<GridmanVO> selectGridmanPage(IPage page,@Param("gridman") GridmanVO gridman);
   List<GridmanVO> selectGridmanPage(IPage page,
                             @Param("gridman") GridmanVO gridman,
                             @Param("regionChildCodesList") List<String> regionChildCodesList,
                             @Param("isAdministrator") Integer isAdministrator);
   /**
    * 网格员查询
@@ -48,14 +52,23 @@
    */
    List<GridmanVO> getGridmanList(@Param("gridman") GridmanVO gridman);
   Integer getGridStatistics(String code, Long userId, String roleType);
   Integer getGridStatistics(List<String> communityCodeList, Long userId, String roleType);
   Integer getCompanyStatistics(String code, Long userId, String roleType);
   Integer getCompanyStatistics(List<String> communityCodeList , Long userId, String roleType);
   Integer getOwnersCommitteeStatistics(String code, Long userId, String roleType);
   Integer getOwnersCommitteeStatistics(List<String> communityCodeList, Long userId, String roleType);
   /**
    * 网格员表 自定义详情
    */
    GridmanVO getDetail(@Param("gridman") GridmanEntity gridman);
   /**
    * 查询网格id
    * @param userId
    * @return
    */
    Integer getGridIdByUserId(@Param("userId") Long userId);
    List<UserEntity> getGridManByCode(String houseCode);
}