Parcourir la source

省外开票查询部门筛选BUG修复

anderx il y a 2 ans
Parent
commit
0156be60c8

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

@@ -383,7 +383,7 @@
 	<if test="type !=null">
 	<if test="type !=null">
 	and a.`type`= #{type,jdbcType=INTEGER}
 	and a.`type`= #{type,jdbcType=INTEGER}
 	</if>
 	</if>
-    <if test="type == 1">
+    <if test="status == 1">
       and a.status=1
       and a.status=1
     </if>
     </if>
 
 
@@ -433,7 +433,7 @@
 	<if test="type !=null">
 	<if test="type !=null">
 	and a.`type`= #{type,jdbcType=INTEGER}
 	and a.`type`= #{type,jdbcType=INTEGER}
 	</if>
 	</if>
-    <if test="type == 1">
+    <if test="status == 1">
       and a.status=1
       and a.status=1
     </if>
     </if>
 	<if test="orderNo !=null">
 	<if test="orderNo !=null">