From 69a1b3bf45738f048361ee4ccb6bdc64fce35720 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 12 三月 2025 11:31:46 +0800
Subject: [PATCH] 更新

---
 server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformDeviceService.java |   97 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 97 insertions(+), 0 deletions(-)

diff --git a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformDeviceService.java b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformDeviceService.java
new file mode 100644
index 0000000..28dd147
--- /dev/null
+++ b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformDeviceService.java
@@ -0,0 +1,97 @@
+package com.doumee.service.business;
+
+import com.doumee.service.business.third.model.PageData;
+import com.doumee.service.business.third.model.PageWrap;
+import com.doumee.dao.business.model.PlatformDevice;
+import java.util.List;
+
+/**
+ * 鏈堝彴_鍏宠仈鐩戞帶鐐筁ED鍜屽箍鎾俊鎭〃Service瀹氫箟
+ * @author 姹熻箘韫�
+ * @date 2024/06/28 10:03
+ */
+public interface PlatformDeviceService {
+
+    /**
+     * 鍒涘缓
+     * 
+     * @param platformDevice 瀹炰綋瀵硅薄
+     * @return Integer
+     */
+    Integer create(PlatformDevice platformDevice);
+
+    /**
+     * 涓婚敭鍒犻櫎
+     *
+     * @param id 涓婚敭
+     */
+    void deleteById(Integer id);
+
+    /**
+     * 鍒犻櫎
+     *
+     * @param platformDevice 瀹炰綋瀵硅薄
+     */
+    void delete(PlatformDevice platformDevice);
+
+    /**
+     * 鎵归噺涓婚敭鍒犻櫎
+     *
+     * @param ids 涓婚敭闆�
+     */
+    void deleteByIdInBatch(List<Integer> ids);
+
+    /**
+     * 涓婚敭鏇存柊
+     *
+     * @param platformDevice 瀹炰綋瀵硅薄
+     */
+    void updateById(PlatformDevice platformDevice);
+
+    /**
+     * 鎵归噺涓婚敭鏇存柊
+     *
+     * @param platformDevices 瀹炰綋闆�
+     */
+    void updateByIdInBatch(List<PlatformDevice> platformDevices);
+
+    /**
+     * 涓婚敭鏌ヨ
+     *
+     * @param id 涓婚敭
+     * @return PlatformDevice
+     */
+    PlatformDevice findById(Integer id);
+
+    /**
+     * 鏉′欢鏌ヨ鍗曟潯璁板綍
+     *
+     * @param platformDevice 瀹炰綋瀵硅薄
+     * @return PlatformDevice
+     */
+    PlatformDevice findOne(PlatformDevice platformDevice);
+
+    /**
+     * 鏉′欢鏌ヨ
+     *
+     * @param platformDevice 瀹炰綋瀵硅薄
+     * @return List<PlatformDevice>
+     */
+    List<PlatformDevice> findList(PlatformDevice platformDevice);
+  
+    /**
+     * 鍒嗛〉鏌ヨ
+     *
+     * @param pageWrap 鍒嗛〉瀵硅薄
+     * @return PageData<PlatformDevice>
+     */
+    PageData<PlatformDevice> findPage(PageWrap<PlatformDevice> pageWrap);
+
+    /**
+     * 鏉′欢缁熻
+     *
+     * @param platformDevice 瀹炰綋瀵硅薄
+     * @return long
+     */
+    long count(PlatformDevice platformDevice);
+}

--
Gitblit v1.9.3