From f51c9e1bc0e82cbebd0e05130fb9a754317cbfa2 Mon Sep 17 00:00:00 2001
From: rk <94314517@qq.com>
Date: 星期二, 21 十月 2025 15:37:44 +0800
Subject: [PATCH] 月台自动叫号处理问题
---
server/system_service/src/main/java/com/doumee/service/system/SystemPermissionService.java | 80 +++++++++++++++++++++++++--------------
1 files changed, 51 insertions(+), 29 deletions(-)
diff --git a/server/system_service/src/main/java/com/doumee/service/system/SystemPermissionService.java b/server/system_service/src/main/java/com/doumee/service/system/SystemPermissionService.java
index 6b01389..8c5f07a 100644
--- a/server/system_service/src/main/java/com/doumee/service/system/SystemPermissionService.java
+++ b/server/system_service/src/main/java/com/doumee/service/system/SystemPermissionService.java
@@ -1,7 +1,8 @@
package com.doumee.service.system;
-import com.doumee.core.model.PageData;
-import com.doumee.core.model.PageWrap;
+import com.doumee.dao.system.dto.DeleteSystemPermissionDTO;
+import com.doumee.service.business.third.model.PageData;
+import com.doumee.service.business.third.model.PageWrap;
import com.doumee.dao.system.dto.QuerySystemPermissionDTO;
import com.doumee.dao.system.model.SystemPermission;
import com.doumee.dao.system.vo.SystemPermissionListVO;
@@ -17,85 +18,106 @@
/**
* 鍒涘缓
- * @author Eva.Caesar Liu
- * @date 2023/03/21 14:49
+ *
+ * @param systemPermission 瀹炰綋
+ * @return Integer
*/
Integer create(SystemPermission systemPermission);
/**
* 涓婚敭鍒犻櫎
- * @author Eva.Caesar Liu
- * @date 2023/03/21 14:49
+ *
+ * @param id 涓婚敭
*/
void deleteById(Integer id);
/**
* 鎵归噺涓婚敭鍒犻櫎
- * @author Eva.Caesar Liu
- * @date 2023/03/21 14:49
+ *
+ * @param ids 涓婚敭鍒楄〃
*/
void deleteByIdInBatch(List<Integer> ids);
/**
+ * 鍒犻櫎
+ *
+ * @param dto 鍒犻櫎鏉′欢
+ */
+ void delete (DeleteSystemPermissionDTO dto);
+
+ /**
+ * 鎵归噺鍒犻櫎
+ *
+ * @param dtos 鍒犻櫎鏉′欢鍒楄〃
+ */
+ void deleteInBatch(List<DeleteSystemPermissionDTO> dtos);
+
+ /**
* 涓婚敭鏇存柊
- * @author Eva.Caesar Liu
- * @date 2023/03/21 14:49
+ *
+ * @param systemPermission 瀹炰綋
*/
void updateById(SystemPermission systemPermission);
/**
* 鎵归噺涓婚敭鏇存柊
- * @author Eva.Caesar Liu
- * @date 2023/03/21 14:49
+ *
+ * @param systemPermissions 瀹炰綋鍒楄〃
*/
void updateByIdInBatch(List<SystemPermission> systemPermissions);
/**
* 涓婚敭鏌ヨ
- * @author Eva.Caesar Liu
- * @date 2023/03/21 14:49
+ *
+ * @param id 涓婚敭
+ * @return SystemPermission
*/
SystemPermission findById(Integer id);
/**
* 鏍规嵁鐢ㄦ埛ID鏌ヨ
- * @author Eva.Caesar Liu
- * @date 2023/03/21 14:49
+ *
+ * @param userId 鐢ㄦ埛ID
+ * @return List<SystemPermission>
*/
List<SystemPermission> findByUserId(Integer userId);
/**
* 鏍规嵁瑙掕壊ID鏌ヨ
- * @author Eva.Caesar Liu
- * @date 2023/03/21 14:49
+ *
+ * @param roleId 瑙掕壊ID
+ * @return List<SystemPermission>
*/
List<SystemPermission> findByRoleId(Integer roleId);
/**
* 鏉′欢鏌ヨ鍗曟潯璁板綍
- * @author Eva.Caesar Liu
- * @date 2023/03/21 14:49
+ *
+ * @param systemPermission 鏌ヨ鏉′欢
+ * @return SystemPermission
*/
SystemPermission findOne(SystemPermission systemPermission);
/**
* 鏉′欢鏌ヨ
- * @author Eva.Caesar Liu
- * @date 2023/03/21 14:49
+ *
+ * @param systemPermission 鏌ヨ鏉′欢
+ * @return List<SystemPermission>
*/
List<SystemPermission> findList(SystemPermission systemPermission);
-
+
/**
- * 鍒嗛〉鏌ヨ
- * @author Eva.Caesar Liu
- * @date 2023/03/21 14:49
+ * 鏌ヨ绠$悊鍒楄〃
+ *
+ * @return List<SystemPermissionListVO>
*/
- PageData<SystemPermissionListVO> findPage(PageWrap<QuerySystemPermissionDTO> pageWrap);
+ List<SystemPermissionListVO> findTree();
/**
* 鏉′欢缁熻
- * @author Eva.Caesar Liu
- * @date 2023/03/21 14:49
+ *
+ * @param systemPermission 缁熻鏉′欢
+ * @return long
*/
long count(SystemPermission systemPermission);
}
--
Gitblit v1.9.3