Explorar o código

订单查询修改

hyq %!s(int64=6) %!d(string=hai) anos
pai
achega
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 ">