Ver código fonte

userId参数

hr~ 3 semanas atrás
pai
commit
a5af7320f4

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

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