<!--<?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.backendsys.mapper.Ai.Aizn.AiznImageIncantationMapper">-->

<!--    &lt;!&ndash; 咒语 &ndash;&gt;-->
<!--    <sql id="includeAiznImageIncantationList">-->
<!--        id,-->
<!--        category_id,-->
<!--        category_name,-->
<!--        name-->
<!--    </sql>-->
<!--    <resultMap id="resultMapAiznImageIncantationList" type="java.util.LinkedHashMap">-->
<!--        <id property="id" column="id" jdbcType="BIGINT" />-->
<!--        <result property="category_id" column="category_id" javaType="java.lang.Integer"/>-->
<!--        <result property="category_name" column="category_name" />-->
<!--        <result property="name" column="name" />-->
<!--    </resultMap>-->
<!--    <select id="queryAiznImageIncantation" resultMap="resultMapAiznImageIncantationList">-->
<!--        SELECT <include refid="includeAiznImageIncantationList" />-->
<!--        FROM ai_zn_image_incantation-->
<!--        <where>-->
<!--            <if test="category_id != null and category_id != ''">-->
<!--                AND category_id = #{category_id}-->
<!--            </if>-->
<!--            <if test="name != null and name != ''">-->
<!--                AND name = #{name}-->
<!--            </if>-->
<!--        </where>-->
<!--    </select>-->

<!--    &lt;!&ndash; 示例 &ndash;&gt;-->
<!--    <resultMap id="resultMapAiznImageIncantationDescription" type="java.util.LinkedHashMap">-->
<!--        <id property="id" column="id" jdbcType="BIGINT" />-->
<!--        <result property="scene_description" column="scene_description" />-->
<!--    </resultMap>-->
<!--    <select id="queryAiznImageIncantationDescription" resultMap="resultMapAiznImageIncantationDescription">-->
<!--        SELECT id, scene_description FROM ai_zn_image_incantation_description-->
<!--    </select>-->


<!--</mapper>-->