瀏覽代碼

订单查询修改

hyq 6 年之前
父節點
當前提交
6b98b4bd00
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 ">