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/PlatformWaterGasService.java | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 115 insertions(+), 0 deletions(-)
diff --git a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformWaterGasService.java b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformWaterGasService.java
new file mode 100644
index 0000000..a73288f
--- /dev/null
+++ b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformWaterGasService.java
@@ -0,0 +1,115 @@
+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.PlatformWaterGas;
+import com.doumee.dao.openapi.request.GasByMonthRequest;
+import com.doumee.dao.openapi.request.WaterByMonthRequest;
+import com.doumee.dao.openapi.response.GasByMonthResponse;
+import com.doumee.dao.openapi.response.PlatformLastMonthListResponse;
+import com.doumee.dao.openapi.response.WaterByMonthResponse;
+import org.springframework.web.multipart.MultipartFile;
+
+import java.util.List;
+
+/**
+ * 鏈堝彴_鐢ㄦ按鐢ㄦ皵淇℃伅璁板綍琛⊿ervice瀹氫箟
+ * @author 姹熻箘韫�
+ * @date 2024/08/26 16:22
+ */
+public interface PlatformWaterGasService {
+
+ /**
+ * 鍒涘缓
+ *
+ * @param platformWaterGas 瀹炰綋瀵硅薄
+ * @return Integer
+ */
+ Integer create(PlatformWaterGas platformWaterGas);
+
+ /**
+ * 涓婚敭鍒犻櫎
+ *
+ * @param id 涓婚敭
+ */
+ void deleteById(Integer id);
+
+ /**
+ * 鍒犻櫎
+ *
+ * @param platformWaterGas 瀹炰綋瀵硅薄
+ */
+ void delete(PlatformWaterGas platformWaterGas);
+ void deleteById(Integer id, LoginUserInfo user);
+
+ /**
+ * 鎵归噺涓婚敭鍒犻櫎
+ *
+ * @param ids 涓婚敭闆�
+ */
+ void deleteByIdInBatch(List<Integer> ids);
+ void deleteByIdInBatch(List<Integer> ids, LoginUserInfo user);
+
+ /**
+ * 涓婚敭鏇存柊
+ *
+ * @param platformWaterGas 瀹炰綋瀵硅薄
+ */
+ void updateById(PlatformWaterGas platformWaterGas);
+
+ /**
+ * 鎵归噺涓婚敭鏇存柊
+ *
+ * @param platformWaterGass 瀹炰綋闆�
+ */
+ void updateByIdInBatch(List<PlatformWaterGas> platformWaterGass);
+
+ /**
+ * 涓婚敭鏌ヨ
+ *
+ * @param id 涓婚敭
+ * @return PlatformWaterGas
+ */
+ PlatformWaterGas findById(Integer id);
+
+ /**
+ * 鏉′欢鏌ヨ鍗曟潯璁板綍
+ *
+ * @param platformWaterGas 瀹炰綋瀵硅薄
+ * @return PlatformWaterGas
+ */
+ PlatformWaterGas findOne(PlatformWaterGas platformWaterGas);
+
+ /**
+ * 鏉′欢鏌ヨ
+ *
+ * @param platformWaterGas 瀹炰綋瀵硅薄
+ * @return List<PlatformWaterGas>
+ */
+ List<PlatformWaterGas> findList(PlatformWaterGas platformWaterGas);
+
+ /**
+ * 鍒嗛〉鏌ヨ
+ *
+ * @param pageWrap 鍒嗛〉瀵硅薄
+ * @return PageData<PlatformWaterGas>
+ */
+ PageData<PlatformWaterGas> findPage(PageWrap<PlatformWaterGas> pageWrap);
+
+ /**
+ * 鏉′欢缁熻
+ *
+ * @param platformWaterGas 瀹炰綋瀵硅薄
+ * @return long
+ */
+ long count(PlatformWaterGas platformWaterGas);
+
+ WaterByMonthResponse waterDataByMonth(WaterByMonthRequest param);
+
+ GasByMonthResponse gasDataByMonth(GasByMonthRequest param);
+
+ List<PlatformLastMonthListResponse> getPlatformLastMonthListResponse(Integer type);
+
+ String importBatch(MultipartFile file, LoginUserInfo loginUserInfo);
+}
--
Gitblit v1.9.3