From 17efddc6a667670dca682bf36b51a43e99615e6d Mon Sep 17 00:00:00 2001 From: k94314517 <8417338+k94314517@user.noreply.gitee.com> Date: 星期三, 16 十月 2024 15:59:38 +0800 Subject: [PATCH] 代码初始化 --- server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformInterfaceLogService.java | 99 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 99 insertions(+), 0 deletions(-) diff --git a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformInterfaceLogService.java b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformInterfaceLogService.java new file mode 100644 index 0000000..1dddc75 --- /dev/null +++ b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformInterfaceLogService.java @@ -0,0 +1,99 @@ +package com.doumee.service.business; + +import com.doumee.core.model.PageData; +import com.doumee.core.model.PageWrap; +import com.doumee.dao.business.model.PlatformInterfaceLog; +import java.util.List; + +/** + * 浣滀笟璋冨害骞冲彴鎺ュ彛浜や簰璁板綍Service瀹氫箟 + * @author 姹熻箘韫� + * @date 2024/06/28 10:03 + */ +public interface PlatformInterfaceLogService { + + /** + * 鍒涘缓 + * + * @param platformInterfaceLog 瀹炰綋瀵硅薄 + * @return Integer + */ + Integer create(PlatformInterfaceLog platformInterfaceLog); + + /** + * 涓婚敭鍒犻櫎 + * + * @param id 涓婚敭 + */ + void deleteById(Integer id); + + /** + * 鍒犻櫎 + * + * @param platformInterfaceLog 瀹炰綋瀵硅薄 + */ + void delete(PlatformInterfaceLog platformInterfaceLog); + + /** + * 鎵归噺涓婚敭鍒犻櫎 + * + * @param ids 涓婚敭闆� + */ + void deleteByIdInBatch(List<Integer> ids); + + /** + * 涓婚敭鏇存柊 + * + * @param platformInterfaceLog 瀹炰綋瀵硅薄 + */ + void updateById(PlatformInterfaceLog platformInterfaceLog); + + /** + * 鎵归噺涓婚敭鏇存柊 + * + * @param platformInterfaceLogs 瀹炰綋闆� + */ + void updateByIdInBatch(List<PlatformInterfaceLog> platformInterfaceLogs); + + /** + * 涓婚敭鏌ヨ + * + * @param id 涓婚敭 + * @return PlatformInterfaceLog + */ + PlatformInterfaceLog findById(Integer id); + + /** + * 鏉′欢鏌ヨ鍗曟潯璁板綍 + * + * @param platformInterfaceLog 瀹炰綋瀵硅薄 + * @return PlatformInterfaceLog + */ + PlatformInterfaceLog findOne(PlatformInterfaceLog platformInterfaceLog); + + /** + * 鏉′欢鏌ヨ + * + * @param platformInterfaceLog 瀹炰綋瀵硅薄 + * @return List<PlatformInterfaceLog> + */ + List<PlatformInterfaceLog> findList(PlatformInterfaceLog platformInterfaceLog); + + /** + * 鍒嗛〉鏌ヨ + * + * @param pageWrap 鍒嗛〉瀵硅薄 + * @return PageData<PlatformInterfaceLog> + */ + PageData<PlatformInterfaceLog> findPage(PageWrap<PlatformInterfaceLog> pageWrap); + + /** + * 鏉′欢缁熻 + * + * @param platformInterfaceLog 瀹炰綋瀵硅薄 + * @return long + */ + long count(PlatformInterfaceLog platformInterfaceLog); + + void clearThreeMonthLog(); +} -- Gitblit v1.9.3