Geoffrey
2025-01-13 d0d174b591e2372ef79af3e81714db8eead52187
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?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 id,
        title,
        type,
        dept,
        issuing_time,
        address
        from policies_regulations_management
        <where>
            del_flag = 0
            <if test="dto.type != null">
                and type = #{dto.type}
            </if>
            <if test="dto.title != null and dto.title != ''">
                and title like concat('%',#{dto.title},'%')
            </if>
        </where>
        order by issuing_time desc
    </select>
 
</mapper>