|
@@ -45,7 +45,7 @@
|
|
|
and status is true
|
|
and status is true
|
|
|
and (user_owns is null
|
|
and (user_owns is null
|
|
|
<if test="dsUserId != null">
|
|
<if test="dsUserId != null">
|
|
|
- or JSONS_CONTAIN(user_owns, '${dsUserId}')
|
|
|
|
|
|
|
+ or JSON_CONTAINS(user_owns, '${dsUserId}')
|
|
|
</if>) order by price limit 1
|
|
</if>) order by price limit 1
|
|
|
</select>
|
|
</select>
|
|
|
</mapper>
|
|
</mapper>
|