From 8b02c916fec8819f4f1b27b21a26cca6c41b5f5d Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期一, 14 七月 2025 09:54:05 +0800 Subject: [PATCH] add:定时任务配置,热门城市 --- src/main/resources/mapper/film/AiContentTaskConfigMapper.xml | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/film/AiContentTaskConfigMapper.xml b/src/main/resources/mapper/film/AiContentTaskConfigMapper.xml new file mode 100644 index 0000000..0ada459 --- /dev/null +++ b/src/main/resources/mapper/film/AiContentTaskConfigMapper.xml @@ -0,0 +1,20 @@ +<?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> -- Gitblit v1.9.3