jiangping
2024-06-20 09da100729793848bc01b51f7b05ca3f1e7ec64f
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;
/**
 * ä¿é™©æ–¹æ¡ˆä¿¡æ¯è¡¨(基表)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);
}