From 2885ced2c79558bec87571dbfc7383c406cb3d44 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期二, 25 五月 2021 14:02:50 +0800
Subject: [PATCH] add 增加验证码开关
---
ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysUserPostMapper.java | 37 +++----------------------------------
1 files changed, 3 insertions(+), 34 deletions(-)
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysUserPostMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysUserPostMapper.java
index e08991d..c17dfd5 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysUserPostMapper.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysUserPostMapper.java
@@ -1,44 +1,13 @@
package com.ruoyi.system.mapper;
-import java.util.List;
+import com.ruoyi.common.core.page.BaseMapperPlus;
import com.ruoyi.system.domain.SysUserPost;
/**
* 鐢ㄦ埛涓庡矖浣嶅叧鑱旇〃 鏁版嵁灞�
- *
+ *
* @author ruoyi
*/
-public interface SysUserPostMapper
-{
- /**
- * 閫氳繃鐢ㄦ埛ID鍒犻櫎鐢ㄦ埛鍜屽矖浣嶅叧鑱�
- *
- * @param userId 鐢ㄦ埛ID
- * @return 缁撴灉
- */
- public int deleteUserPostByUserId(Long userId);
+public interface SysUserPostMapper extends BaseMapperPlus<SysUserPost> {
- /**
- * 閫氳繃宀椾綅ID鏌ヨ宀椾綅浣跨敤鏁伴噺
- *
- * @param postId 宀椾綅ID
- * @return 缁撴灉
- */
- public int countUserPostById(Long postId);
-
- /**
- * 鎵归噺鍒犻櫎鐢ㄦ埛鍜屽矖浣嶅叧鑱�
- *
- * @param ids 闇�瑕佸垹闄ょ殑鏁版嵁ID
- * @return 缁撴灉
- */
- public int deleteUserPost(Long[] ids);
-
- /**
- * 鎵归噺鏂板鐢ㄦ埛宀椾綅淇℃伅
- *
- * @param userPostList 鐢ㄦ埛瑙掕壊鍒楄〃
- * @return 缁撴灉
- */
- public int batchUserPost(List<SysUserPost> userPostList);
}
--
Gitblit v1.9.3