From 1c20c8231980a8d4b91688ff8641a06d3b2f68ab Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期二, 14 十月 2025 16:34:22 +0800
Subject: [PATCH] 改bug

---
 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..4c5888b
--- /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.service.business.third.model.LoginUserInfo;
+import com.doumee.service.business.third.model.PageData;
+import com.doumee.service.business.third.model.PageWrap;
+import com.doumee.dao.business.model.PlatformGroup;
+import com.doumee.dao.web.reqeust.PlatformDataDTO;
+import com.doumee.dao.web.response.PlatformGroupWorkVO;
+
+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);
+
+    void updateAutoCallById(PlatformGroup platform);
+}

--
Gitblit v1.9.3