From 024e90554d19c2342f27a26f91bbea378f84da82 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 13 十一月 2024 17:25:18 +0800 Subject: [PATCH] 1 --- src/main/java/com/moon/server/mapper/data/DownloadMapper.java | 90 -------------------------------------------- 1 files changed, 1 insertions(+), 89 deletions(-) diff --git a/src/main/java/com/moon/server/mapper/data/DownloadMapper.java b/src/main/java/com/moon/server/mapper/data/DownloadMapper.java index bdcdd3b..5d5c796 100644 --- a/src/main/java/com/moon/server/mapper/data/DownloadMapper.java +++ b/src/main/java/com/moon/server/mapper/data/DownloadMapper.java @@ -6,121 +6,33 @@ import java.util.List; -/** - * 涓嬭浇璁板綍 - * @author WWW - */ @Mapper @Repository +@SuppressWarnings("ALL") public interface DownloadMapper { - /** - * 鏌ヨ璁板綍鏁� - * - * @param name 鍚嶇О - * @return 璁板綍鏁� - */ public Integer selectCount(String name); - /** - * 鍒嗛〉鏌ヨ - * - * @param name 鍚嶇О - * @param limit 璁板綍鏁� - * @param offset 鍋忕Щ閲� - * @return 鍒楄〃 - */ public List<DownloadEntity> selectByPage(String name, Integer limit, Integer offset); - /** - * 鏍规嵁鐢ㄦ埛ID鏌ヨ璁板綍鏁帮紙鍦ㄧ嚎鍒跺浘锛� - * - * @param createUser 鐢ㄦ埛ID - * @param types 绫诲埆 - * @param name 鍚嶇О - * @return 璁板綍鏁� - */ public Integer selectCountForUser(Integer createUser, String types, String name); - /** - * 鏍规嵁鐢ㄦ埛ID鍒嗛〉鏌ヨ锛堝湪绾垮埗鍥撅級 - * - * @param createUser 鐢ㄦ埛ID - * @param types 绫诲埆 - * @param name 鍚嶇О - * @param limit 璁板綍鏁� - * @param offset 鍋忕Щ閲� - * @return 鍒楄〃 - */ public List<DownloadEntity> selectByPageForUser(Integer createUser, String types, String name, Integer limit, Integer offset); - /** - * 鏌ヨ鎵�鏈� - * - * @return - */ public List<DownloadEntity> selectAll(); - /** - * 鏍规嵁ID鏌ヨ - * - * @param id - * @return - */ public DownloadEntity selectById(int id); - /** - * 鏍规嵁Guid鏌ヨ - * - * @param guid - * @return - */ public DownloadEntity selectByGuid(String guid); - /** - * 鎻掑叆涓�鏉� - * - * @param entity - * @return - */ public Integer insert(DownloadEntity entity); - /** - * 鎻掑叆澶氭潯 - * - * @param list - * @return - */ public Integer inserts(List<DownloadEntity> list); - /** - * 鍒犻櫎涓�鏉� - * - * @param id - * @return - */ public Integer delete(int id); - /** - * 鍒犻櫎澶氭潯 - * - * @param ids - * @return - */ public Integer deletes(List<Integer> ids); - /** - * 鏇存柊涓�鏉� - * - * @param entity - * @return - */ public Integer update(DownloadEntity entity); - /** - * 鏇存柊澶氭潯 - * - * @param list - * @return - */ public Integer updates(List<DownloadEntity> list); } -- Gitblit v1.9.3