1
zj
2026-06-03 d8d3b097d7c41b460df91d1285e32a38e5c1bbf5
src/main/resources/mapper/UserPositionMapper.xml
@@ -484,7 +484,14 @@
        and stock_spell like CONCAT('%','${stockSpell}','%')
      </if>
    </where>
    ORDER BY id DESC
    <choose>
      <when test="state == 2">
        ORDER BY sell_order_time DESC, id DESC
      </when>
      <otherwise>
        ORDER BY id DESC
      </otherwise>
    </choose>
  </select>
  <select id="findPositionByUserIdAndSellIdIsNull" parameterType="integer" resultMap="BaseResultMap">