From f2972aa8de54d8763bfa3fcc9d72962f82d20009 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期五, 11 十月 2024 14:49:19 +0800
Subject: [PATCH] 代码初始化
---
server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformGroupService.java | 121 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 121 insertions(+), 0 deletions(-)
diff --git a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformGroupService.java b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformGroupService.java
new file mode 100644
index 0000000..f558b09
--- /dev/null
+++ b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformGroupService.java
@@ -0,0 +1,121 @@
+package com.doumee.service.business;
+
+import com.doumee.core.model.LoginUserInfo;
+import com.doumee.core.model.PageData;
+import com.doumee.core.model.PageWrap;
+import com.doumee.dao.business.model.PlatformGroup;
+import com.doumee.dao.web.reqeust.PlatformDataDTO;
+import com.doumee.dao.web.response.PlatformGroupWorkVO;
+import com.doumee.dao.web.response.PlatformWorkVO;
+
+import java.util.List;
+
+/**
+ * 鏈堝彴_鍒嗙粍淇℃伅琛⊿ervice瀹氫箟
+ * @author 姹熻箘韫�
+ * @date 2024/06/28 10:03
+ */
+public interface PlatformGroupService {
+
+ /**
+ * 鍒涘缓
+ *
+ * @param platformGroup 瀹炰綋瀵硅薄
+ * @return Integer
+ */
+ Integer create(PlatformGroup platformGroup);
+
+ /**
+ * 涓婚敭鍒犻櫎
+ *
+ * @param id 涓婚敭
+ */
+ void deleteById(Integer id);
+ void deleteById(Integer id,LoginUserInfo user);
+
+ /**
+ * 鍒犻櫎
+ *
+ * @param platformGroup 瀹炰綋瀵硅薄
+ */
+ void delete(PlatformGroup platformGroup);
+
+ /**
+ * 鎵归噺涓婚敭鍒犻櫎
+ *
+ * @param ids 涓婚敭闆�
+ */
+ void deleteByIdInBatch(List<Integer> ids);
+ void deleteByIdInBatch(List<Integer> ids,LoginUserInfo user);
+
+ /**
+ * 涓婚敭鏇存柊
+ *
+ * @param platformGroup 瀹炰綋瀵硅薄
+ */
+ void updateById(PlatformGroup platformGroup);
+
+ /**
+ * 鎵归噺涓婚敭鏇存柊
+ *
+ * @param platformGroups 瀹炰綋闆�
+ */
+ void updateByIdInBatch(List<PlatformGroup> platformGroups);
+
+ /**
+ * 涓婚敭鏌ヨ
+ *
+ * @param id 涓婚敭
+ * @return PlatformGroup
+ */
+ PlatformGroup findById(Integer id);
+
+ /**
+ * 鏉′欢鏌ヨ鍗曟潯璁板綍
+ *
+ * @param platformGroup 瀹炰綋瀵硅薄
+ * @return PlatformGroup
+ */
+ PlatformGroup findOne(PlatformGroup platformGroup);
+
+ /**
+ * 鏉′欢鏌ヨ
+ *
+ * @param platformGroup 瀹炰綋瀵硅薄
+ * @return List<PlatformGroup>
+ */
+ List<PlatformGroup> findList(PlatformGroup platformGroup);
+
+ /**
+ * 鍒嗛〉鏌ヨ
+ *
+ * @param pageWrap 鍒嗛〉瀵硅薄
+ * @return PageData<PlatformGroup>
+ */
+ PageData<PlatformGroup> findPage(PageWrap<PlatformGroup> pageWrap);
+
+ /**
+ * 鏉′欢缁熻
+ *
+ * @param platformGroup 瀹炰綋瀵硅薄
+ * @return long
+ */
+ long count(PlatformGroup platformGroup);
+
+ /**
+ * 鑾峰彇鏈堝彴缁勪俊鎭�
+ * @param platformDataDTO
+ * @param loginUserInfo
+ * @return
+ */
+ List<PlatformGroup> getAllPlatformGroup(PlatformDataDTO platformDataDTO, LoginUserInfo loginUserInfo);
+
+
+ /**
+ * 鑾峰彇鏈堝彴缁� 绛夊緟涓庡紓甯告暟鎹�
+ * @param platformGroupId
+ * @return
+ */
+ PlatformGroupWorkVO getPlatformGroupWork(Integer platformGroupId);
+
+}
--
Gitblit v1.9.3