From 50fb58286ed3b718c39a97e0987ee7561a295651 Mon Sep 17 00:00:00 2001 From: k94314517 <8417338+k94314517@user.noreply.gitee.com> Date: 星期五, 04 七月 2025 17:56:41 +0800 Subject: [PATCH] git ch --- server/service/src/main/java/com/doumee/service/business/SolutionsBaseService.java | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 105 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..5cb8515 --- /dev/null +++ b/server/service/src/main/java/com/doumee/service/business/SolutionsBaseService.java @@ -0,0 +1,105 @@ +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/10/28 19:16 + */ +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); + + void saveSolutionsRisk(SolutionsBase solutionsBase); + /** + * 鎵归噺涓婚敭鏇存柊 + * + * @param solutionsBases 瀹炰綋闆� + */ + void updateByIdInBatch(List<SolutionsBase> solutionsBases); + + + void updateStatus(SolutionsBase solutionsBase); + + /** + * 涓婚敭鏌ヨ + * + * @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); + + + void createSolutionBase(Integer solutionId); +} -- Gitblit v1.9.3