TASK:male sketch style逻辑添加;

This commit is contained in:
shahaibo
2024-10-04 10:40:32 +08:00
parent 6f98f111dd
commit fd12b9e571
5 changed files with 123 additions and 61 deletions

View File

@@ -32,9 +32,7 @@
<if test="style != null">
AND style = #{style}
</if>
<if test="isFemaleTable">
AND deprecated = 0
</if>
AND deprecated = 0
</trim>
ORDER BY
RAND()
@@ -50,9 +48,7 @@
<if test="style != null">
AND style = #{style}
</if>
<if test="isFemaleTable">
AND deprecated = 0
</if>
AND deprecated = 0
</trim>
ORDER BY
RAND()
@@ -77,9 +73,7 @@
<if test="style != null">
AND style = #{style}
</if>
<if test="isFemaleTable">
AND deprecated = 0
</if>
AND deprecated = 0
</trim>
ORDER BY
RAND()
@@ -106,6 +100,6 @@
SET
style = #{style}
WHERE
image_name = #{fileName}
img_name = #{fileName}
</update>
</mapper>