| package com.doumee.service.business; | 
|   | 
| import com.doumee.service.business.third.model.PageData; | 
| import com.doumee.service.business.third.model.PageWrap; | 
| import com.doumee.dao.business.model.SmsConfig; | 
| import java.util.List; | 
|   | 
| /** | 
|  * 短信业务配置Service定义 | 
|  * @author 江蹄蹄 | 
|  * @date 2024/10/09 15:41 | 
|  */ | 
| public interface SmsConfigService { | 
|   | 
|     /** | 
|      * 创建 | 
|      *  | 
|      * @param smsConfig 实体对象 | 
|      * @return Integer | 
|      */ | 
|     Integer create(SmsConfig smsConfig); | 
|   | 
|     /** | 
|      * 主键删除 | 
|      * | 
|      * @param id 主键 | 
|      */ | 
|     void deleteById(Integer id); | 
|   | 
|     /** | 
|      * 删除 | 
|      * | 
|      * @param smsConfig 实体对象 | 
|      */ | 
|     void delete(SmsConfig smsConfig); | 
|   | 
|     /** | 
|      * 批量主键删除 | 
|      * | 
|      * @param ids 主键集 | 
|      */ | 
|     void deleteByIdInBatch(List<Integer> ids); | 
|   | 
|     /** | 
|      * 主键更新 | 
|      * | 
|      * @param smsConfig 实体对象 | 
|      */ | 
|     void updateById(SmsConfig smsConfig); | 
|   | 
|     void updateStatusByIdInBatch(List<Integer> ids,Integer status); | 
|   | 
|     /** | 
|      * 批量主键更新 | 
|      * | 
|      * @param smsConfigs 实体集 | 
|      */ | 
|     void updateByIdInBatch(List<SmsConfig> smsConfigs); | 
|   | 
|     /** | 
|      * 主键查询 | 
|      * | 
|      * @param id 主键 | 
|      * @return SmsConfig | 
|      */ | 
|     SmsConfig findById(Integer id); | 
|   | 
|     /** | 
|      * 条件查询单条记录 | 
|      * | 
|      * @param smsConfig 实体对象 | 
|      * @return SmsConfig | 
|      */ | 
|     SmsConfig findOne(SmsConfig smsConfig); | 
|   | 
|     /** | 
|      * 条件查询 | 
|      * | 
|      * @param smsConfig 实体对象 | 
|      * @return List<SmsConfig> | 
|      */ | 
|     List<SmsConfig> findList(SmsConfig smsConfig); | 
|    | 
|     /** | 
|      * 分页查询 | 
|      * | 
|      * @param pageWrap 分页对象 | 
|      * @return PageData<SmsConfig> | 
|      */ | 
|     PageData<SmsConfig> findPage(PageWrap<SmsConfig> pageWrap); | 
|   | 
|     /** | 
|      * 条件统计 | 
|      * | 
|      * @param smsConfig 实体对象 | 
|      * @return long | 
|      */ | 
|     long count(SmsConfig smsConfig); | 
| } |