package com.oying.modules.pc.store.service;
|
|
import com.oying.modules.pc.store.domain.StoreAudit;
|
import com.oying.modules.pc.store.domain.dto.StoreAuditQueryCriteria;
|
|
import java.util.List;
|
import java.io.IOException;
|
import javax.servlet.http.HttpServletResponse;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.oying.utils.PageResult;
|
|
/**
|
* @description 服务接口
|
* @author lzp
|
* @date 2025-07-01
|
**/
|
public interface StoreAuditService extends IService<StoreAudit> {
|
|
/**
|
* 查询数据分页
|
* @param criteria 条件
|
* @param page 分页参数
|
* @return PageResult
|
*/
|
PageResult<StoreAudit> queryAll(StoreAuditQueryCriteria criteria, Page<Object> page);
|
|
/**
|
* 查询所有数据不分页
|
* @param criteria 条件参数
|
* @return List<StoreRevisionDto>
|
*/
|
List<StoreAudit> queryAll(StoreAuditQueryCriteria criteria);
|
|
/**
|
* 店铺ID查询修订数据,
|
*
|
* @param storeId 必须的参数,不能为null
|
* @return 查询到的结果
|
*/
|
StoreAudit getByStoreId(Long storeId);
|
|
/**
|
* 是否有待审记录
|
*
|
* @param storeId 必须的参数,不能为null
|
* @return 查询到的结果
|
*/
|
boolean hasPendingByStoreId(Long storeId);
|
|
/**
|
* 创建
|
* @param resources /
|
*/
|
void create(StoreAudit resources);
|
|
/**
|
* 编辑
|
* @param resources /
|
*/
|
void update(StoreAudit resources, boolean isDirectUpdate);
|
|
/**
|
* 多选删除
|
* @param ids /
|
*/
|
void deleteAll(List<Long> ids);
|
|
/**
|
* 导出数据
|
* @param all 待导出的数据
|
* @param response /
|
* @throws IOException /
|
*/
|
void download(List<StoreAudit> all, HttpServletResponse response) throws IOException;
|
|
void processVerdict(StoreAudit resources);
|
}
|