From e0652e168a1ad4a831d59d54363d3fa5582903d2 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期三, 22 三月 2023 18:26:29 +0800
Subject: [PATCH] 修改用户服务相关内容,增加密码策略

---
 Source/BladeX/blade-service/blade-system/src/main/java/org/springblade/system/service/IStrategyService.java |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/Source/BladeX/blade-service/blade-system/src/main/java/org/springblade/system/service/IStrategyService.java b/Source/BladeX/blade-service/blade-system/src/main/java/org/springblade/system/service/IStrategyService.java
index 10129d5..00e002d 100644
--- a/Source/BladeX/blade-service/blade-system/src/main/java/org/springblade/system/service/IStrategyService.java
+++ b/Source/BladeX/blade-service/blade-system/src/main/java/org/springblade/system/service/IStrategyService.java
@@ -1,9 +1,9 @@
 package org.springblade.system.service;
 
 import com.baomidou.mybatisplus.extension.service.IService;
+import org.springblade.core.mp.support.Query;
 import org.springblade.system.entity.Strategy;
-import org.springframework.data.domain.Page;
-import org.springframework.data.domain.PageRequest;
+import org.springframework.data.domain.PageImpl;
 
 import java.util.List;
 
@@ -26,11 +26,10 @@
 	/**
 	 * 鍒嗛〉鏌ヨ
 	 *
-	 * @param strategy 绛涢�夋潯浠�
-	 * @param pageRequest   鍒嗛〉瀵硅薄
+	 * @param query 鍒嗛〉瀵硅薄
 	 * @return 鏌ヨ缁撴灉
 	 */
-	Page<Strategy> queryAllByPage(Strategy strategy, PageRequest pageRequest);
+	PageImpl<Strategy> queryAllByPage(Query query);
 
 	/**
 	 * 鏂板鏁版嵁鎴栦慨鏀规暟鎹�
@@ -48,4 +47,10 @@
 	 */
 	boolean deleteByIds(List<String> ids);
 
+	/**
+	 * 鏌ヨ榛樿瀵嗙爜绛栫暐
+	 * @return
+	 */
+	Long queryByIsDefault();
+
 }

--
Gitblit v1.9.3