From dc998c9c02140cffdf39a2e814693f253b9a6b32 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期日, 12 十一月 2023 16:32:18 +0800
Subject: [PATCH] 1、对象转map改用org.apache.dubbo(阿里开发) 2、实现用户管理UserCtrl,及其分页查询数据功能

---
 pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaDistrictMapper.java |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaDistrictMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaDistrictMapper.java
index 9e342c8..07963e0 100644
--- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaDistrictMapper.java
+++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaDistrictMapper.java
@@ -5,6 +5,8 @@
 import com.dy.pipIrrGlobal.pojoBa.BaPrivilege;
 import org.apache.ibatis.annotations.Mapper;
 
+import java.util.List;
+
 @Mapper
 public interface BaDistrictMapper extends BaseMapper<BaPrivilege> {
     /**
@@ -13,6 +15,13 @@
      * @return deleteCount
      */
     int deleteByPrimaryKey(Long id);
+
+    /**
+     * 閫昏緫鍒犻櫎
+     * @param id primaryKey
+     * @return update count
+     */
+    int deleteLogicById(Long id);
 
     /**
      * insert record to table
@@ -36,6 +45,20 @@
     BaDistrict selectByPrimaryKey(Long id);
 
     /**
+     * 鏌ヨ鏌愪竴琛屾斂绾у埆鐨勮鏀垮尯鍒�
+     * @param level 琛屾斂鍖哄垝绾у埆
+     * @return 鏌愪竴琛屾斂绾у埆鐨勮鏀垮尯鍒�
+     */
+    List<BaDistrict> selectByLevel(byte level) ;
+
+    /**
+     * 鏌ヨ鏌愪竴琛屾斂绾у埆鐨勪笅绾ц鏀垮尯
+     * @param supperId 涓婄骇琛屾斂鍖篒D
+     * @return 鏌愪竴琛屾斂绾у埆鐨勪笅绾ц鏀垮尯
+     */
+    List<BaDistrict> selectBySupperId(Long supperId) ;
+
+    /**
      * update record selective
      * @param record the updated record
      * @return update count

--
Gitblit v1.8.0