소스 검색

订单查询修改

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