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 |  117 +++++++---------------------------------------------------
 1 files changed, 14 insertions(+), 103 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 0499a8e..2447260 100644
--- a/src/main/java/com/moon/server/mapper/data/PublishMapper.java
+++ b/src/main/java/com/moon/server/mapper/data/PublishMapper.java
@@ -1,141 +1,52 @@
 package com.moon.server.mapper.data;
 
 import com.moon.server.entity.data.MetaEntity;
+import com.moon.server.entity.data.MetaPubEntity;
 import com.moon.server.entity.data.PublishEntity;
 import org.apache.ibatis.annotations.Mapper;
 import org.springframework.stereotype.Repository;
 
 import java.util.List;
 
-/**
- * 鏁版嵁鍙戝竷
- * @author WWW
- */
 @Mapper
 @Repository
+@SuppressWarnings("ALL")
 public interface PublishMapper {
-    /**
-     * 鏌ヨ璁板綍鏁�
-     *
-     * @param name 鍚嶇О
-     * @return 璁板綍鏁�
-     */
-    public Integer selectCount(String name);
+    public Integer selectCount(String name, String dircode, String type);
 
-    /**
-     * 鍒嗛〉鏌ヨ
-     *
-     * @param name   鍚嶇О
-     * @param limit  璁板綍鏁�
-     * @param offset 鍋忕Щ閲�
-     * @return 鍒楄〃
-     */
-    public List<PublishEntity> selectByPage(String name, Integer limit, Integer offset);
+    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);
 
-    /**
-     * 鎻掑叆涓�鏉�
-     *
-     * @param entity
-     * @return
-     */
+    public List<MetaEntity> selectMetasByPubid(Integer pubid);
+
+    public List<PublishEntity> selectRaster();
+
+    public PublishEntity selectByLayerId(Integer layerId);
+
+    public List<String> selectCodesForDir(String dircode, Integer isDom);
+
     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 id
-     * @return
-     */
+    public Integer insertMetaPub(MetaPubEntity mp);
+
     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