|
@@ -161,11 +161,22 @@
|
|
|
AND a.payType = #{payType}
|
|
|
</if>
|
|
|
<if test="receiptType != null and receiptType != ''">
|
|
|
- AND a.receiptType = #{receiptType}
|
|
|
+ <if test="receiptType==2">
|
|
|
+ AND (a.receiptType = 2 or a.receiptType = 9)
|
|
|
+ </if>
|
|
|
+ <if test="receiptType!=2">
|
|
|
+ AND a.receiptType = #{receiptType}
|
|
|
+ </if>
|
|
|
+ </if>
|
|
|
+ <if test="newReceiptType !=null">
|
|
|
+ <if test="newReceiptType==3">
|
|
|
+ AND a.newReceiptType is null
|
|
|
+ </if>
|
|
|
+ <if test="newReceiptType!=3">
|
|
|
+ and a.newReceiptType=#{newReceiptType}
|
|
|
</if>
|
|
|
- <if test="newReceiptType !=null and newReceiptType !=''">
|
|
|
- and newReceiptType=#{newReceiptType}
|
|
|
</if>
|
|
|
+
|
|
|
<if test="receiptStatus != null and receiptStatus != ''">
|
|
|
AND a.receiptStatus = #{receiptStatus}
|
|
|
</if>
|