¶Ô±ÈÐÂÎļþ |
| | |
| | | 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; |
| | | |
| | | /** |
| | | * ä¿é©æ¹æ¡ä¿¡æ¯è¡¨(åºè¡¨ï¼Serviceå®ä¹ |
| | | * @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); |
| | | } |