From 22271e641e4505ba906c3770905b7e84e3ad8d85 Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期二, 02 四月 2024 17:05:57 +0800 Subject: [PATCH] mrshi --- server/service/src/main/java/com/doumee/service/business/SolutionsBaseService.java | 97 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 97 insertions(+), 0 deletions(-) diff --git a/server/service/src/main/java/com/doumee/service/business/SolutionsBaseService.java b/server/service/src/main/java/com/doumee/service/business/SolutionsBaseService.java new file mode 100644 index 0000000..90d1a7d --- /dev/null +++ b/server/service/src/main/java/com/doumee/service/business/SolutionsBaseService.java @@ -0,0 +1,97 @@ +package com.doumee.service.business; + +import com.doumee.core.model.PageData; +import com.doumee.core.model.PageWrap; +import com.doumee.dao.business.model.SolutionsBase; +import java.util.List; + +/** + * 淇濋櫓鏂规淇℃伅琛�(鍩鸿〃锛塖ervice瀹氫箟 + * @author 姹熻箘韫� + * @date 2024/01/16 10:03 + */ +public interface SolutionsBaseService { + + /** + * 鍒涘缓 + * + * @param solutionsBase 瀹炰綋瀵硅薄 + * @return Integer + */ + Integer create(SolutionsBase solutionsBase); + + /** + * 涓婚敭鍒犻櫎 + * + * @param id 涓婚敭 + */ + void deleteById(Integer id); + + /** + * 鍒犻櫎 + * + * @param solutionsBase 瀹炰綋瀵硅薄 + */ + void delete(SolutionsBase solutionsBase); + + /** + * 鎵归噺涓婚敭鍒犻櫎 + * + * @param ids 涓婚敭闆� + */ + void deleteByIdInBatch(List<Integer> ids); + + /** + * 涓婚敭鏇存柊 + * + * @param solutionsBase 瀹炰綋瀵硅薄 + */ + void updateById(SolutionsBase solutionsBase); + + /** + * 鎵归噺涓婚敭鏇存柊 + * + * @param solutionsBases 瀹炰綋闆� + */ + void updateByIdInBatch(List<SolutionsBase> solutionsBases); + + /** + * 涓婚敭鏌ヨ + * + * @param id 涓婚敭 + * @return SolutionsBase + */ + SolutionsBase findById(Integer id); + + /** + * 鏉′欢鏌ヨ鍗曟潯璁板綍 + * + * @param solutionsBase 瀹炰綋瀵硅薄 + * @return SolutionsBase + */ + SolutionsBase findOne(SolutionsBase solutionsBase); + + /** + * 鏉′欢鏌ヨ + * + * @param solutionsBase 瀹炰綋瀵硅薄 + * @return List<SolutionsBase> + */ + List<SolutionsBase> findList(SolutionsBase solutionsBase); + + /** + * 鍒嗛〉鏌ヨ + * + * @param pageWrap 鍒嗛〉瀵硅薄 + * @return PageData<SolutionsBase> + */ + PageData<SolutionsBase> findPage(PageWrap<SolutionsBase> pageWrap); + + /** + * 鏉′欢缁熻 + * + * @param solutionsBase 瀹炰綋瀵硅薄 + * @return long + */ + long count(SolutionsBase solutionsBase); +} -- Gitblit v1.9.3