From ad2ec97fe0c60eee4bb7c8cdacff7c876f280ea7 Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Mon, 08 Jan 2024 11:30:18 +0800
Subject: [PATCH] 公安安全监管

---
 src/main/java/org/springblade/modules/grid/mapper/GridmanMapper.java |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/springblade/modules/grid/mapper/GridmanMapper.java b/src/main/java/org/springblade/modules/grid/mapper/GridmanMapper.java
index b658a9d..b8fe153 100644
--- a/src/main/java/org/springblade/modules/grid/mapper/GridmanMapper.java
+++ b/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;
@@ -48,12 +49,23 @@
 	 */
     List<GridmanVO> getGridmanList(@Param("gridman") GridmanVO gridman);
 
-	Integer getGridStatistics(String code, Long userId);
+	Integer getGridStatistics(String code, Long userId, String roleType);
 
-	Integer getCompanyStatistics(String code, Long userId);
+	Integer getCompanyStatistics(String code, Long userId, String roleType);
+
+	Integer getOwnersCommitteeStatistics(String code, 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);
 }

--
Gitblit v1.9.3