From a7e51f7d5d77a0019723c5dcf1a65599a4bf2b7b Mon Sep 17 00:00:00 2001 From: yanghui <2536613402@qq.com> Date: 星期四, 17 十一月 2022 11:23:29 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/haucheng_panzhihua' into haucheng_panzhihua --- flower_city/src/main/java/com/dg/core/db/gen/mapper/AutomessagePolicyDocumentsMapper.java | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 53 insertions(+), 0 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 new file mode 100644 index 0000000..9fac7d8 --- /dev/null +++ b/flower_city/src/main/java/com/dg/core/db/gen/mapper/AutomessagePolicyDocumentsMapper.java @@ -0,0 +1,53 @@ +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; + +/** + * <p> + * Mapper 接口 + * </p> + * + * @author fengjin + * @since 2022-11-10 + */ +public interface AutomessagePolicyDocumentsMapper extends BaseMapper<AutomessagePolicyDocuments> { + + /** + * 获取法律法规政策文件 (分页) + * @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 name 名称 + * @param type 类型 + * @return + */ + List<AutomessagePolicyDocuments> selectConfigList(@Param("name") String name, @Param("type") String type, @Param("departmentId") Integer departmentId); + + + /** + * 根据id获取法律法规政策文件数据 + * @return + */ + AutomessagePolicyDocuments selectAutomessagePolicyDocumentById(Integer id); + + /** + * 获取法律法规政策文件 (统计) + * @return + */ + Integer selectCountList(@Param("name") String name, @Param("type") String type,@Param("departmentId") Integer departmentId); + +} -- Gitblit v1.7.1