Bläddra i källkod

订单查询修改

hyq 6 år sedan
förälder
incheckning
6b98b4bd00
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      kmall-api/src/main/resources/mybatis/mapper/ApiOrderMapper.xml

+ 1 - 1
kmall-api/src/main/resources/mybatis/mapper/ApiOrderMapper.xml

@@ -101,7 +101,7 @@
             <if test="shipping_status != null">
                 and a.shipping_status = #{shipping_status}
             </if>
-            <if test="order_status != null and order_status = 0">
+            <if test="order_status != null and order_status != 0">
                 and a.order_status = #{order_status}
             </if>
             <if test="order_status == 0 ">