|
@@ -931,15 +931,6 @@
|
|
|
<if test="shopOrderNo != null and shopOrderNo != ''">
|
|
|
AND a.shopOrderNo like concat('%', #{shopOrderNo} ,'%')
|
|
|
</if>
|
|
|
- <if test="operatingMode != null and operatingMode == '1'.toString()">
|
|
|
- and a.payStatus != 3 and co.status NOT IN (6,7)
|
|
|
- </if>
|
|
|
- <if test="operatingMode != null and operatingMode == '2'.toString()">
|
|
|
- and a.payStatus != 1 and co.status != 6
|
|
|
- </if>
|
|
|
- <if test="operatingMode != null and operatingMode == '3'.toString()">
|
|
|
- and a.payStatus = 3 and co.status NOT IN (6,7)
|
|
|
- </if>
|
|
|
and co.delFlag = 0
|
|
|
-- and not (co.secondHandOrderFlag=1 AND co.rebateFlag=1)
|
|
|
and a.delFlag = 0
|