|
@@ -10,7 +10,13 @@
|
|
|
WHERE delete_flag = '0'
|
|
|
<if test="searchType != null and searchType != ''">
|
|
|
<if test="searchType == 2">
|
|
|
- AND amount_ing_payable-amount_ed_payable>0
|
|
|
+ AND status='待结算'
|
|
|
+ </if>
|
|
|
+ <if test="searchType == 3">
|
|
|
+ AND actual_collectionment-amount_ed_collectionable>0
|
|
|
+ </if>
|
|
|
+ <if test="searchType == 4">
|
|
|
+ AND actual_collectionment-amount_ed_collectionable=0
|
|
|
</if>
|
|
|
</if>
|
|
|
<if test="warehouseName != null and warehouseName != ''">
|
|
@@ -88,7 +94,13 @@
|
|
|
WHERE delete_flag = '0'
|
|
|
<if test="searchType != null and searchType != ''">
|
|
|
<if test="searchType == 2">
|
|
|
- AND amount_ing_payable-amount_ed_payable>0
|
|
|
+ AND status='待结算'
|
|
|
+ </if>
|
|
|
+ <if test="searchType == 3">
|
|
|
+ AND actual_collectionment-amount_ed_collectionable>0
|
|
|
+ </if>
|
|
|
+ <if test="searchType == 4">
|
|
|
+ AND actual_collectionment-amount_ed_collectionable=0
|
|
|
</if>
|
|
|
</if>
|
|
|
<if test="managementType != null and managementType != ''">
|