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/PublishMapper.java | 136 --------------------------------------------- 1 files changed, 1 insertions(+), 135 deletions(-) diff --git a/src/main/java/com/moon/server/mapper/data/PublishMapper.java b/src/main/java/com/moon/server/mapper/data/PublishMapper.java index 0408083..2447260 100644 --- a/src/main/java/com/moon/server/mapper/data/PublishMapper.java +++ b/src/main/java/com/moon/server/mapper/data/PublishMapper.java @@ -8,179 +8,45 @@ import java.util.List; -/** - * 鏁版嵁鍙戝竷 - * @author WWW - */ @Mapper @Repository +@SuppressWarnings("ALL") public interface PublishMapper { - /** - * 鏌ヨ璁板綍鏁� - * - * @param name 鍚嶇О - * @param dircode 鐩綍缂栫爜 - * @param type 绫诲埆 - * @return 璁板綍鏁� - */ public Integer selectCount(String name, String dircode, String type); - /** - * 鍒嗛〉鏌ヨ - * - * @param name 鍚嶇О - * @param dircode 鐩綍缂栫爜 - * @param type 绫诲埆 - * @param limit 璁板綍鏁� - * @param offset 鍋忕Щ閲� - * @return 鍒楄〃 - */ public List<PublishEntity> selectByPage(String name, String dircode, String type, Integer limit, Integer offset); - /** - * 鏌ヨ鎵�鏈� - * - * @return - */ public List<PublishEntity> selectAll(); - /** - * 鏍规嵁ID鏌ヨ - * - * @param id - * @return - */ public PublishEntity selectById(int id); - /** - * 鏍规嵁ID瀛楃涓叉煡璇� - * - * @param ids ID瀛楃涓� - * @return 璁板綍闆嗗悎 - */ public List<PublishEntity> selectByIds(String ids); - /** - * 鏍规嵁鍙戝竷ID鏌ヨ鍏冩暟鎹� - * - * @param pubid 鍙戝竷ID - * @return 鍏冩暟鎹泦鍚� - */ public List<MetaEntity> selectMetasByPubid(Integer pubid); - /** - * 鏌ヨ鏍呮牸鏁版嵁鍙戝竷 - * - * @return 鍙戝竷瀹炰綋绫� - */ public List<PublishEntity> selectRaster(); - /** - * 鏍规嵁鍥惧眰ID鏌ヨ - * - * @param layerId 鍥惧眰ID - * @return 鍙戝竷瀹炰綋绫� - */ public PublishEntity selectByLayerId(Integer layerId); - /** - * 鏍规嵁鐩綍鏌ヨDOM鍜孌EM鐨勭紪鐮� - * - * @param dircode 鐩綍 - * @param isDom 1-DOM锛�0-DEM - * @return - */ public List<String> selectCodesForDir(String dircode, Integer isDom); - /** - * 鎻掑叆涓�鏉� - * - * @param entity - * @return - */ public Integer insert(PublishEntity entity); - /** - * 鎻掑叆澶氭潯 - * - * @param list - * @return - */ public Integer inserts(List<PublishEntity> list); - /** - * 鎻掑叆鏁版嵁鍙戝竷-涓嬭浇琛� - * - * @param pubid - * @param downid - * @param createUser - * @return - */ public Integer insertPubDown(Integer pubid, Integer downid, Integer createUser); - /** - * 鎻掑叆鍏冩暟鎹彂甯冪被 - * - * @param mp 鍏冩暟鎹彂甯冪被 - * @return 褰卞搷琛屾暟 - */ public Integer insertMetaPub(MetaPubEntity mp); - /** - * 鍒犻櫎涓�鏉� - * - * @param id - * @return - */ public Integer delete(int id); - /** - * 鍒犻櫎澶氭潯 - * - * @param ids - * @return - */ public Integer deletes(String ids); - /** - * 鏇存柊涓�鏉� - * - * @param entity - * @return - */ public Integer update(PublishEntity entity); - /** - * 鏇存柊澶氭潯 - * - * @param list - * @return - */ public Integer updates(List<PublishEntity> list); - /** - * 鏌ヨ鍏冩暟鎹褰曟暟 - * - * @param depcode 鍗曚綅缂栫爜 - * @param dircode 鐩綍缂栫爜 - * @param verid 鐗堟湰ID - * @param types 绫诲埆 - * @param name 鍚嶇О - * @return 璁板綍鏁� - */ public Integer selectMetasByCount(String depcode, String dircode, Integer verid, String types, String name); - /** - * 鍒嗛〉鏌ヨ - * - * @param depcode 鍗曚綅缂栫爜 - * @param dircode 鐩綍缂栫爜 - * @param verid 鐗堟湰ID - * @param types 绫诲埆 - * @param name 鍚嶇О - * @param limit 璁板綍鏁� - * @param offset 鍋忕Щ閲� - * @return 鍒楄〃 - */ public List<MetaEntity> selectMetasByPage(String depcode, String dircode, Integer verid, String types, String name, Integer limit, Integer offset); } -- Gitblit v1.9.3