package com.doumee.service.business;
|
|
import com.doumee.dao.business.model.DdNoticeConfig;
|
import com.doumee.service.business.third.model.PageData;
|
import com.doumee.service.business.third.model.PageWrap;
|
|
import java.util.List;
|
|
/**
|
* 钉钉公众号通知配置Service定义
|
* @author 江蹄蹄
|
* @date 2025/10/14 15:11
|
*/
|
public interface DdNoticeConfigService {
|
|
/**
|
* 创建
|
*
|
* @param ddNoticeConfig 实体对象
|
* @return Integer
|
*/
|
Integer create(DdNoticeConfig ddNoticeConfig);
|
|
/**
|
* 主键删除
|
*
|
* @param id 主键
|
*/
|
void deleteById(Integer id);
|
|
/**
|
* 删除
|
*
|
* @param ddNoticeConfig 实体对象
|
*/
|
void delete(DdNoticeConfig ddNoticeConfig);
|
|
/**
|
* 批量主键删除
|
*
|
* @param ids 主键集
|
*/
|
void deleteByIdInBatch(List<Integer> ids);
|
|
/**
|
* 主键更新
|
*
|
* @param ddNoticeConfig 实体对象
|
*/
|
void updateById(DdNoticeConfig ddNoticeConfig);
|
|
/**
|
* 批量主键更新
|
*
|
* @param ddNoticeConfigs 实体集
|
*/
|
void updateByIdInBatch(List<DdNoticeConfig> ddNoticeConfigs);
|
|
/**
|
* 主键查询
|
*
|
* @param id 主键
|
* @return DdNoticeConfig
|
*/
|
DdNoticeConfig findById(Integer id);
|
|
/**
|
* 条件查询单条记录
|
*
|
* @param ddNoticeConfig 实体对象
|
* @return DdNoticeConfig
|
*/
|
DdNoticeConfig findOne(DdNoticeConfig ddNoticeConfig);
|
|
/**
|
* 条件查询
|
*
|
* @param ddNoticeConfig 实体对象
|
* @return List<DdNoticeConfig>
|
*/
|
List<DdNoticeConfig> findList(DdNoticeConfig ddNoticeConfig);
|
|
/**
|
* 分页查询
|
*
|
* @param pageWrap 分页对象
|
* @return PageData<DdNoticeConfig>
|
*/
|
PageData<DdNoticeConfig> findPage(PageWrap<DdNoticeConfig> pageWrap);
|
|
/**
|
* 条件统计
|
*
|
* @param ddNoticeConfig 实体对象
|
* @return long
|
*/
|
long count(DdNoticeConfig ddNoticeConfig);
|
|
void updateStatusByIdInBatch(List<Integer> ids,Integer status);
|
}
|