|
@@ -1346,6 +1346,8 @@
|
|
|
AND (s.name LIKE CONCAT('%', #{shopName}, '%') or cso.shopOrderId = #{shopName})
|
|
|
</if>
|
|
|
AND cso.delFlag = '0'
|
|
|
+ AND cso.orderTime > '2023-01-01'
|
|
|
+ AND CSO.shopStatus NOT IN (0, 3, 4)
|
|
|
and cso.organizeID = 0
|
|
|
AND (cdr.payWay != 1 OR cdr.payWay IS NULL)
|
|
|
AND (cdr.receiptStatus IS NULL OR cdr.receiptStatus = 1)
|