浏览代码

userId参数

hr~ 3 周之前
父节点
当前提交
a5af7320f4
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      py-order/src/main/resources/mapper/LotOrderMapper.xml

+ 3 - 0
py-order/src/main/resources/mapper/LotOrderMapper.xml

@@ -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>