package com.dg.core.service;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.dg.core.db.gen.entity.AutomessagePolicyDocuments;
|
import com.dg.core.db.gen.entity.SysUser;
|
import org.springframework.data.repository.query.Param;
|
|
import java.util.List;
|
|
public interface IAutomessagePolicyDocumentsService {
|
|
/**
|
* 获取法律法规政策文件 (分页)
|
* @param page
|
* @param state
|
* @return
|
*/
|
List<AutomessagePolicyDocuments> selectConfigList(IPage<AutomessagePolicyDocuments> page, Integer state, String name, String type, SysUser sysUser,Integer departmentId, List<String> ids);
|
|
/**
|
* 获取法律法规政策文件 (不分页)
|
* @param name 名称
|
* @param type 类型
|
* @return
|
*/
|
List<AutomessagePolicyDocuments> selectConfigList(String name, String type,Integer departmentId, List<String> ids);
|
|
|
/**
|
* 新增法律法规政策文件
|
* @return
|
*/
|
int add(AutomessagePolicyDocuments automessagePolicyDocuments);
|
|
/**
|
* 修改法律法规政策文件
|
* @return
|
*/
|
int update(AutomessagePolicyDocuments automessagePolicyDocuments);
|
|
/**
|
* 删除法律法规政策文件
|
* @return
|
*/
|
int delete(Integer id);
|
|
/**
|
* 根据id获取法律法规政策文件数据
|
* @return
|
*/
|
AutomessagePolicyDocuments selectAutomessagePolicyDocumentById(Integer id);
|
|
/**
|
* 获取法律法规政策文件 (统计)
|
* @return
|
*/
|
Integer selectCountList(String name,String type,Integer departmentId,List<String> ids);
|
}
|