TASK:aida;

This commit is contained in:
shahaibo
2024-06-25 10:59:58 +08:00
parent ba4388b87d
commit 9b589eece6
12 changed files with 70 additions and 10 deletions

View File

@@ -65,4 +65,18 @@
RAND()
LIMIT 20
</select>
<select id="getIdByFileName" resultType="java.lang.Long">
SELECT
ID
FROM
${tableName}
WHERE img_name = #{fileName}
</select>
<update id="updateStyleById">
update ${tableName}
set style = #{style}
where ID = #{id}
</update>
</mapper>