From 3bd60f203289a39d97ad2e109b1e83a714eca8e0 Mon Sep 17 00:00:00 2001 From: DYL0109 <1332079466@qq.com> Date: 星期四, 06 二月 2025 18:33:44 +0800 Subject: [PATCH] !43 !42 Merge remote-tracking branch 'origin/develop1.0' into develop_alioo Merge pull request !43 from DYL0109/develop1.0 --- 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