cloudroam
2025-05-26 ce1dc7a19d10c6564ff5e3ef72d30a773fa99ead
src/main/resources/mapper/film/FilmWorksMapper.xml
@@ -1,8 +1,8 @@
<?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.filmwork.FilmWorksMapper">
<mapper namespace="com.mzl.flower.mapper.film.FilmWorksMapper">
    <select id="queryPage" resultType="com.mzl.flower.dto.response.filmwork.FilmWorksVO">
    <select id="queryPage" resultType="com.mzl.flower.dto.response.film.FilmWorksVO">
        select t.* from film_works t where t.deleted= 0
        <if test="dto.nameCn != null and dto.nameCn != ''">
            and t.name_cn like concat('%', #{dto.nameCn}, '%')
@@ -13,6 +13,9 @@
        <if test="dto.type != null and dto.type != ''">
            and t.type = #{dto.type}
        </if>
        <if test="dto.classify != null and dto.classify != ''">
            and t.classify = #{dto.classify}
        </if>
        <if test="dto.createDateBegin!=null ">
            <![CDATA[
               AND t.create_time >= #{dto.createDateBegin}