瀏覽代碼

Merge remote-tracking branch 'origin/test' into test

Qchen 1 年之前
父節點
當前提交
6d4f30c1ee
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/main/resources/mapper/modules/order/InsOrdersMapper.xml

+ 3 - 0
src/main/resources/mapper/modules/order/InsOrdersMapper.xml

@@ -785,6 +785,7 @@
         </if>
 
         <where>
+
             <if test="orderQueryVo.orderNo != null and orderQueryVo.orderNo != ''">
                 and io.orderno = #{orderQueryVo.orderNo}
             </if>
@@ -816,6 +817,8 @@
             <if test="orderQueryVo.userId != null and orderQueryVo.userId != ''">
                 and io.userid = #{orderQueryVo.userId}
             </if>
+            and (io.del_flag IS NULL
+            or io.del_flag = 1)
         </where>
         group by io.orderno
         <if test="orderQueryVo.orderStatus != null and orderQueryVo.orderStatus == 3">