<?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.AiContentTaskConfigMapper">
|
|
<select id="queryPage" resultType="com.mzl.flower.dto.response.film.AiContentTaskConfigVO">
|
select t.* from ai_content_task_config t
|
where t.deleted= 0
|
<if test="dto.taskName != null and dto.taskName != ''">
|
and t.task_name like concat('%', #{dto.taskName}, '%')
|
</if>
|
<if test="dto.type != null and dto.type != ''">
|
and t.type = #{dto.type}
|
</if>
|
<if test="dto.isEnabled!=null">
|
AND t.is_enabled = #{dto.isEnabled}
|
</if>
|
|
</select>
|
|
</mapper>
|