From a7501803a3ca43310e57a5dd912e5047919c2e43 Mon Sep 17 00:00:00 2001
From: 彭雪彬 <1724387007@qq.com>
Date: Tue, 15 Jul 2025 15:26:55 +0800
Subject: [PATCH] Merge branch 'xin' into pxb

---
 oying-system/src/main/java/com/oying/modules/pc/store/service/StoreAuditService.java |   78 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 78 insertions(+), 0 deletions(-)

diff --git a/oying-system/src/main/java/com/oying/modules/pc/store/service/StoreAuditService.java b/oying-system/src/main/java/com/oying/modules/pc/store/service/StoreAuditService.java
new file mode 100644
index 0000000..180c43a
--- /dev/null
+++ b/oying-system/src/main/java/com/oying/modules/pc/store/service/StoreAuditService.java
@@ -0,0 +1,78 @@
+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);
+}

--
Gitblit v1.9.3