Browse Source

筛选BUG修复

anderx 7 years ago
parent
commit
9d13a12d61
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/main/java/com/goafanti/common/mapper/TOrderMapper.xml

+ 4 - 1
src/main/java/com/goafanti/common/mapper/TOrderMapper.xml

@@ -1169,9 +1169,12 @@
 		<if test="orderChannel != null">
 			and a.order_channel =#{orderChannel,jdbcType=INTEGER}
 		</if>
-		<if test="approval != null">
+		<if test="approval != null and approval !=4">
 			and a.approval = #{approval,jdbcType=INTEGER}
 		</if>
+		<if test="approval ==4">
+			and a.approval != 0
+		</if>
 		<if test="buyerName != null and buyerName != ''">
 			and b.nickname like concat('%', #{buyerName},'%')
 		</if>