From 24e65b1e9c6aa65f7784ff5b4cb3a47d6d73af89 Mon Sep 17 00:00:00 2001
From: letsgocoding <sdxt_0802@163.com>
Date: 星期三, 12 三月 2025 17:39:14 +0800
Subject: [PATCH] !108 !107 网关标识 Merge pull request !108 from letsgocoding/develop1.0
---
zhitan-system/src/main/resources/mapper/saving/PoliciesRegulationsManagementMapper.xml | 25 ++++++++++++++-----------
1 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/zhitan-system/src/main/resources/mapper/saving/PoliciesRegulationsManagementMapper.xml b/zhitan-system/src/main/resources/mapper/saving/PoliciesRegulationsManagementMapper.xml
index 90a9c2f..55755f7 100644
--- a/zhitan-system/src/main/resources/mapper/saving/PoliciesRegulationsManagementMapper.xml
+++ b/zhitan-system/src/main/resources/mapper/saving/PoliciesRegulationsManagementMapper.xml
@@ -4,23 +4,26 @@
"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 id,
- title,
- type,
- dept,
- issuing_time,
- address
- from policies_regulations_management
+ 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>
- del_flag = 0
+ prm.del_flag = 0
<if test="dto.type != null">
- and type = #{dto.type}
+ and prm.type = #{dto.type}
</if>
<if test="dto.title != null and dto.title != ''">
- and title like concat('%',#{dto.title},'%')
+ and prm.title like concat('%',#{dto.title},'%')
</if>
</where>
- order by issuing_time desc
+ order by prm.issuing_time desc
</select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.3