From 06d3d15a5a08637041cc601101c063b11b07a346 Mon Sep 17 00:00:00 2001
From: net <net@netdeMBP.lan>
Date: 星期五, 14 二月 2025 17:25:21 +0800
Subject: [PATCH]  合并理去杀杀人

---
 zhitan-system/src/main/resources/mapper/saving/PoliciesRegulationsManagementMapper.xml |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/zhitan-system/src/main/resources/mapper/saving/PoliciesRegulationsManagementMapper.xml b/zhitan-system/src/main/resources/mapper/saving/PoliciesRegulationsManagementMapper.xml
new file mode 100644
index 0000000..55755f7
--- /dev/null
+++ b/zhitan-system/src/main/resources/mapper/saving/PoliciesRegulationsManagementMapper.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.zhitan.saving.mapper.PoliciesRegulationsManagementMapper">
+    <select id="getPageList" resultType="com.zhitan.saving.domain.vo.PoliciesRegulationsManagementPageVO">
+        select
+        prm.id,
+        prm.title,
+        prm.type,
+        prm.dept,
+        prm.issuing_time,
+        prm.url,
+        sdd.dict_label as typeName
+        from policies_regulations_management AS prm
+        left join sys_dict_data AS sdd on prm.type = sdd.dict_value
+        <where>
+            prm.del_flag = 0
+            <if test="dto.type != null">
+                and prm.type = #{dto.type}
+            </if>
+            <if test="dto.title != null and dto.title != ''">
+                and prm.title like concat('%',#{dto.title},'%')
+            </if>
+        </where>
+        order by prm.issuing_time desc
+    </select>
+
+</mapper>
\ No newline at end of file

--
Gitblit v1.9.3