소스 검색

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