fix: 图审相似度主图查询,排序规则改变

pull/38/head
shuliYao 1 year ago
parent 6040528bc4
commit 143922c5f9

@ -218,7 +218,7 @@
</trim>
</where>
<if test="page != null">
<if test="page.sortname != null"> order by ${page.sortname} ${page.sortorder}</if>
<if test="page.sortname != null"> order by ${page.sortname} ${page.sortorder}</if>
limit ${page.start}, ${page.Pagesize}
</if>
</sql>
@ -234,7 +234,7 @@
<if test="pictureId != null and pictureId != ''">
and t1.picture_id = #{pictureId}
</if>
ORDER BY t1.max_similarity desc, t2.create_time DESC
ORDER BY t1.max_similarity desc,t1.similarity_group_order asc, t2.create_time DESC
LIMIT 1
</select>

Loading…
Cancel
Save