zhijiezhao 1 year ago
parent
commit
9c90f30773
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/main/resources/mappings/modules/order/ShopOrderMapper.xml

+ 3 - 1
src/main/resources/mappings/modules/order/ShopOrderMapper.xml

@@ -2424,7 +2424,9 @@
         </if>
         LEFT JOIN user u ON u.userID = cso.userID
         <where>
-            cso.orderType != 2
+            cso.delFlag = 0
+            and co.delflag = 0
+            and cso.orderType != 2
             <if test="serviceProviderId != null and serviceProviderId != 0">
                 and cso.orderType = 0
                 and co.spID = #{serviceProviderId}