<?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>
|