|
|
@ -17,16 +17,24 @@ |
|
|
<result column="is_show" jdbcType="CHAR" property="isShow" /> |
|
|
<result column="is_show" jdbcType="CHAR" property="isShow" /> |
|
|
<result column="source" jdbcType="CHAR" property="source" /> |
|
|
<result column="source" jdbcType="CHAR" property="source" /> |
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|
|
|
|
|
<result column="negative_prompt" jdbcType="VARCHAR" property="negativePrompt" /> |
|
|
|
|
|
<result column="steps" jdbcType="INTEGER" property="steps" /> |
|
|
|
|
|
<result column="seed" jdbcType="INTEGER" property="seed" /> |
|
|
|
|
|
<result column="batch_size" jdbcType="INTEGER" property="batchSize" /> |
|
|
|
|
|
<result column="cfg_scale" jdbcType="DOUBLE" property="cfgScale" /> |
|
|
|
|
|
<result column="eta" jdbcType="DOUBLE" property="eta" /> |
|
|
|
|
|
<result column="sampler_index" jdbcType="VARCHAR" property="samplerIndex" /> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
<sql id="Base_Column_List"> |
|
|
<sql id="Base_Column_List"> |
|
|
<!--@mbg.generated--> |
|
|
<!--@mbg.generated--> |
|
|
id, paint_id, painter_id, painter_name, img_url, prompt, model,style_name, height, width, is_show, |
|
|
id, paint_id, painter_id, painter_name, img_url, prompt, model,style_name, height, width, is_show, |
|
|
`source`, create_time |
|
|
`source`, create_time,negative_prompt,steps,seed,batch_size,cfg_scale,eta,sampler_index |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
<select id="queryPage" resultType="com.bnyer.img.vo.AiPaintVo"> |
|
|
<select id="queryPage" resultType="com.bnyer.img.vo.AiPaintVo"> |
|
|
select |
|
|
select |
|
|
id, paint_id,painter_name,img_url, prompt, style_name,height, width,create_time,source |
|
|
id, paint_id,painter_name,img_url, prompt, style_name,height, width,create_time,source, |
|
|
|
|
|
negative_prompt,steps,seed,batch_size,cfg_scale,eta,sampler_index |
|
|
from img_ai_paint |
|
|
from img_ai_paint |
|
|
where is_show = '1' and source = #{source} and painter_id = #{painterId} |
|
|
where is_show = '1' and source = #{source} and painter_id = #{painterId} |
|
|
order by create_time desc |
|
|
order by create_time desc |
|
|
@ -34,7 +42,8 @@ |
|
|
|
|
|
|
|
|
<select id="queryDetails" resultType="com.bnyer.img.vo.AiPaintVo"> |
|
|
<select id="queryDetails" resultType="com.bnyer.img.vo.AiPaintVo"> |
|
|
select |
|
|
select |
|
|
id, paint_id,painter_name,img_url, prompt, style_name,height, width,create_time,source |
|
|
id, paint_id,painter_name,img_url, prompt, style_name,height, width,create_time,source, |
|
|
|
|
|
negative_prompt,steps,seed,batch_size,cfg_scale,eta,sampler_index |
|
|
from img_ai_paint where id = #{id} |
|
|
from img_ai_paint where id = #{id} |
|
|
</select> |
|
|
</select> |
|
|
</mapper> |
|
|
</mapper> |