Browse Source

收票BUG修复

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

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

@@ -700,9 +700,9 @@
 	a.reject_reason as  rejectReason,a.status from t_order_invoice a left join t_order_new b 
 	on a.order_no=b.order_no where a.status !=4
 	<if test="orderNo !=null">
-	and order_no = #{orderNo,jdbcType=VARCHAR}
+	and a.order_no = #{orderNo,jdbcType=VARCHAR}
 	</if>
-	order by create_time desc
+	order by a.create_time desc
 	<if test="page_sql!=null">
 			${page_sql}
 	</if>