@@ -112,6 +112,9 @@
<if test="lotOrder.merchantId != null">
and lo.merchant_id = #{lotOrder.merchantId}
</if>
+ <if test="lotOrder.userId != null">
+ and lo.user_id= #{lotOrder.userId}
+ </if>
</where>
order by lo.create_time desc
</select>