package cn.lili.modules.lmk.service;
|
|
import cn.lili.base.Result;
|
import cn.lili.modules.lmk.domain.entity.CustomerBlack;
|
|
import cn.lili.modules.lmk.domain.form.CustomerBlackForm;
|
import cn.lili.modules.lmk.domain.query.CustomerBlackQuery;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import java.util.List;
|
|
/**
|
* 客户黑名单 服务类
|
*
|
* @author zxl
|
* @since 2025-05-15
|
*/
|
public interface CustomerBlackService extends IService<CustomerBlack> {
|
|
/**
|
* 添加
|
* @param form
|
* @return
|
*/
|
Result add(CustomerBlackForm form);
|
|
/**
|
* 修改
|
* @param form
|
* @return
|
*/
|
Result update(CustomerBlackForm form);
|
|
/**
|
* 批量删除
|
* @param ids
|
* @return
|
*/
|
Result remove(List<String> ids);
|
|
/**
|
* id删除
|
* @param id
|
* @return
|
*/
|
Result removeById(String id);
|
|
/**
|
* 分页查询
|
* @param query
|
* @return
|
*/
|
Result page(CustomerBlackQuery query);
|
|
/**
|
* 根据id查找
|
* @param id
|
* @return
|
*/
|
Result detail(Integer id);
|
|
/**
|
* 列表
|
* @return
|
*/
|
Result all();
|
}
|