From c32c1c3621011ed6dd55f207356aee281f62e1ae Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 23 十二月 2024 18:06:57 +0800
Subject: [PATCH] 最新版本541200007
---
server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformService.java | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 108 insertions(+), 0 deletions(-)
diff --git a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformService.java b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformService.java
new file mode 100644
index 0000000..3a82283
--- /dev/null
+++ b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformService.java
@@ -0,0 +1,108 @@
+package com.doumee.service.business;
+
+import com.doumee.core.model.PageData;
+import com.doumee.core.model.PageWrap;
+import com.doumee.dao.business.model.Platform;
+import com.doumee.dao.openapi.response.PlatformNumByStatusResponse;
+import com.doumee.dao.openapi.response.PlatformStatusListResponse;
+
+import java.util.List;
+
+/**
+ * 鏈堝彴淇℃伅琛⊿ervice瀹氫箟
+ * @author 姹熻箘韫�
+ * @date 2024/06/28 10:03
+ */
+public interface PlatformService {
+
+ /**
+ * 鍒涘缓
+ *
+ * @param platform 瀹炰綋瀵硅薄
+ * @return Integer
+ */
+ Integer create(Platform platform);
+
+ /**
+ * 涓婚敭鍒犻櫎
+ *
+ * @param id 涓婚敭
+ */
+ void deleteById(Integer id);
+
+ /**
+ * 鍒犻櫎
+ *
+ * @param platform 瀹炰綋瀵硅薄
+ */
+ void delete(Platform platform);
+
+ /**
+ * 鎵归噺涓婚敭鍒犻櫎
+ *
+ * @param ids 涓婚敭闆�
+ */
+ void deleteByIdInBatch(List<Integer> ids);
+
+ /**
+ * 涓婚敭鏇存柊
+ *
+ * @param platform 瀹炰綋瀵硅薄
+ */
+ void updateStatusById(Platform platform);
+ void updateById(Platform platform);
+
+ /**
+ * 鎵归噺涓婚敭鏇存柊
+ *
+ * @param platforms 瀹炰綋闆�
+ */
+ void updateByIdInBatch(List<Platform> platforms);
+
+ /**
+ * 涓婚敭鏌ヨ
+ *
+ * @param id 涓婚敭
+ * @return Platform
+ */
+ Platform findById(Integer id);
+
+ /**
+ * 鏉′欢鏌ヨ鍗曟潯璁板綍
+ *
+ * @param platform 瀹炰綋瀵硅薄
+ * @return Platform
+ */
+ Platform findOne(Platform platform);
+
+ /**
+ * 鏉′欢鏌ヨ
+ *
+ * @param platform 瀹炰綋瀵硅薄
+ * @return List<Platform>
+ */
+ List<Platform> findList(Platform platform);
+
+ /**
+ * 鍒嗛〉鏌ヨ
+ *
+ * @param pageWrap 鍒嗛〉瀵硅薄
+ * @return PageData<Platform>
+ */
+ PageData<Platform> findPage(PageWrap<Platform> pageWrap);
+
+ /**
+ * 鏉′欢缁熻
+ *
+ * @param platform 瀹炰綋瀵硅薄
+ * @return long
+ */
+ long count(Platform platform);
+
+
+ PlatformNumByStatusResponse getPlatformNumByStatusResponse();
+
+ List<PlatformStatusListResponse> getPlatformStatusList();
+
+ List<Platform> platformWorkReportList(Platform platform);
+}
--
Gitblit v1.9.3