83 lines
1.8 KiB
Java
83 lines
1.8 KiB
Java
package com.rzdata.web.service;
|
|
|
|
import com.rzdata.web.domain.Document;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* 【请填写功能名称】Service接口
|
|
*
|
|
* @author ja
|
|
* @date 2024-07-09
|
|
*/
|
|
public interface IDocumentService
|
|
{
|
|
/**
|
|
* 查询【请填写功能名称】
|
|
*
|
|
* @param docId 【请填写功能名称】主键
|
|
* @return 【请填写功能名称】
|
|
*/
|
|
public Document selectDocumentById(String docId);
|
|
|
|
/**
|
|
* 查询【请填写功能名称】列表
|
|
*
|
|
* @param document 【请填写功能名称】
|
|
* @return 【请填写功能名称】集合
|
|
*/
|
|
public List<Document> selectDocumentList(Document document);
|
|
|
|
|
|
public List<Document> selectDocumentListAll(Document document);
|
|
|
|
/**
|
|
* 新增【请填写功能名称】
|
|
*
|
|
* @param document 【请填写功能名称】
|
|
* @return 结果
|
|
*/
|
|
public int insertDocument(Document document);
|
|
|
|
|
|
public String saveDocument(Document document);
|
|
|
|
/**
|
|
* 修改【请填写功能名称】
|
|
*
|
|
* @param document 【请填写功能名称】
|
|
* @return 结果
|
|
*/
|
|
public int updateDocument(Document document);
|
|
|
|
/**
|
|
* 批量删除【请填写功能名称】
|
|
*
|
|
* @param ids 需要删除的【请填写功能名称】主键集合
|
|
* @return 结果
|
|
*/
|
|
public int deleteDocumentByIds(String[] ids);
|
|
|
|
/**
|
|
* 删除【请填写功能名称】信息
|
|
*
|
|
* @param id 【请填写功能名称】主键
|
|
* @return 结果
|
|
*/
|
|
public int deleteDocumentById(String id);
|
|
|
|
/**
|
|
* 发布文档
|
|
* @param ids
|
|
* @return
|
|
*/
|
|
int pushDoc(String[] ids);
|
|
|
|
public int batchDeleteById(List<String> docIds);
|
|
|
|
Map<String, Object> statistics();
|
|
|
|
List<Document> selectAllList(Document document);
|
|
}
|