Browse Source

财务筛选修改

anderx 6 years ago
parent
commit
274998087e
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/main/java/com/goafanti/common/mapper/TOrderNewMapper.xml

+ 3 - 3
src/main/java/com/goafanti/common/mapper/TOrderNewMapper.xml

@@ -898,7 +898,7 @@
   	and o.finance_id in(null,'') 
   	</if>
   	<if test="o.processStatus == 3">
-  	and o.finance_id is not null  
+  	and o.finance_id is not null and o.finance_id != ''    
   	</if>
   	<if test="o.orderNo != null and o.orderNo != &quot;&quot;">
   	and o.order_no = #{o.orderNo,jdbcType=VARCHAR}
@@ -925,10 +925,10 @@
   	where delete_sign = 0 and order_status = 2 and approval in (0,2) and outsource=#{o.outsource,jdbcType=INTEGER}
   	and process_status &gt;= 2
   	<if test="o.processStatus == 2">
-  	and o.finance_id is null
+  	and o.finance_id in(null,'') 
   	</if>
   	<if test="o.processStatus == 3">
-  	and o.finance_id is not null
+  	and o.finance_id is not null and o.finance_id != ''    
   	</if>
   	<if test="o.orderNo != null and o.orderNo != &quot;&quot;">
   	and o.order_no = #{o.orderNo,jdbcType=VARCHAR}