Browse Source

修改财务筛选BUG

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

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

@@ -895,7 +895,7 @@
   	and approval in (0,2) and outsource=#{o.outsource,jdbcType=INTEGER}
   	and process_status >= 2
   	<if test="o.processStatus == 2">
-  	and o.finance_id in(null,'') 
+  	and (o.finance_id is null or o.finance_id='') 
   	</if>
   	<if test="o.processStatus == 3">
   	and o.finance_id is not null 
@@ -926,7 +926,7 @@
   	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 in(null,'') 
+  	and (o.finance_id is null or o.finance_id='')
   	</if>
   	<if test="o.processStatus == 3">
   	and o.finance_id is not null and o.finance_id != ''