From 8ab31157536e116dba27e942a05a20e3caaa4812 Mon Sep 17 00:00:00 2001 From: liukangdong <898885815@qq.com> Date: 星期三, 28 八月 2024 09:22:52 +0800 Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/dmvisit --- server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformGroupService.java | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 113 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..5f98d89 --- /dev/null +++ b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/PlatformGroupService.java @@ -0,0 +1,113 @@ +package com.doumee.service.business; + +import com.doumee.core.model.LoginUserInfo; +import com.doumee.core.model.PageData; +import com.doumee.core.model.PageWrap; +import com.doumee.dao.business.model.PlatformGroup; +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 queryType + * @param loginUserInfo + * @return + */ + List<PlatformGroup> getAllPlatformGroup(Integer queryType, LoginUserInfo loginUserInfo); + + + + + +} -- Gitblit v1.9.3