Browse Source

营销管理员新增限制,版本切1.2.78

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

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

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