Ver código fonte

订单查询修改

hyq 6 anos atrás
pai
commit
6b98b4bd00

+ 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 ">