TASK:male sketch style逻辑添加;
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user