From ce4a770744d7a0b4e4ea3b5101556b94e72bdf1c Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期二, 14 十一月 2023 17:49:20 +0800 Subject: [PATCH] 修改打卡 --- flower_city/src/main/java/com/dg/core/db/gen/mapper/AutomessagePolicyDocumentsMapper.java | 35 ++++++++++++++++++++++++++++++++++- 1 files changed, 34 insertions(+), 1 deletions(-) diff --git a/flower_city/src/main/java/com/dg/core/db/gen/mapper/AutomessagePolicyDocumentsMapper.java b/flower_city/src/main/java/com/dg/core/db/gen/mapper/AutomessagePolicyDocumentsMapper.java index 10b268d..6722750 100644 --- a/flower_city/src/main/java/com/dg/core/db/gen/mapper/AutomessagePolicyDocumentsMapper.java +++ b/flower_city/src/main/java/com/dg/core/db/gen/mapper/AutomessagePolicyDocumentsMapper.java @@ -1,7 +1,10 @@ package com.dg.core.db.gen.mapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.dg.core.db.gen.entity.AutomessageCommonProblem; import com.dg.core.db.gen.entity.AutomessagePolicyDocuments; import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.springframework.data.repository.query.Param; import java.util.List; @@ -15,6 +18,36 @@ */ public interface AutomessagePolicyDocumentsMapper extends BaseMapper<AutomessagePolicyDocuments> { - List<AutomessagePolicyDocuments> selectConfigList(); + /** + * 获取法律法规政策文件 (分页) + * @param page + * @param state + * @param name 名称 + * @param type 类型 + * @return + */ + List<AutomessagePolicyDocuments> selectConfigList(IPage<AutomessagePolicyDocuments> page, Integer state, @Param("name") String name, @Param("type") String type, @Param("departmentId") Integer departmentId, @Param("ids") List<String> ids); + + + /** + * 获取法律法规政策文件 (不分页) + * @param name 名称 + * @param type 类型 + * @return + */ + List<AutomessagePolicyDocuments> selectConfigList(@Param("name") String name, @Param("type") String type, @Param("departmentId") Integer departmentId, @Param("ids") List<String> ids); + + + /** + * 根据id获取法律法规政策文件数据 + * @return + */ + AutomessagePolicyDocuments selectAutomessagePolicyDocumentById(Integer id); + + /** + * 获取法律法规政策文件 (统计) + * @return + */ + Integer selectCountList(@Param("name") String name, @Param("type") String type,@Param("departmentId") Integer departmentId, @Param("ids") List<String> ids); } -- Gitblit v1.7.1