瀏覽代碼

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

anderx 2 年之前
父節點
當前提交
8321149e72
共有 1 個文件被更改,包括 6 次插入0 次删除
  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>