cloudroam
12 小时以前 b0fee54f8475336b05c50ef3154c51f60ebd63aa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?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.mzl.flower.mapper.film.HomeConfigMapper">
 
    <select id="queryPage" resultType="com.mzl.flower.dto.response.film.HomeConfigVO">
        select t.* from home_config t
        where t.deleted= 0
        <if test="dto.version != null and dto.version != ''">
            and t.version like concat('%', #{dto.version}, '%')
        </if>
        <if test="dto.mainTitle != null and dto.mainTitle != ''">
            and t.main_title = #{dto.mainTitle}
        </if>
        order by t.version
    </select>
 
</mapper>