@@ -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}