src/main/resources/mapper/modules/ClothesSocialMapper.xml
@@ -48,6 +48,9 @@ <if test="record.categoryId != 0"> and a.category_id = #{record.categoryId} </if> <if test="record.type == 1"> and a.hot_state = #{record.type} </if> </if> </where> order by a.hot_state desc, a.created_time desc