renqianlong há 1 ano atrás
pai
commit
55c3e3226c

+ 3 - 3
zhongzheng-system/src/main/resources/mapper/modules/order/OrderInvoiceMapper.xml

@@ -202,12 +202,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="educationTypeId != null and educationTypeId != ''">
             AND oh.education_type_id = #{educationTypeId}
         </if>
+        <if test="handleOrderSn != null and handleOrderSn != ''">
+            AND oh.handle_order_sn = #{handleOrderSn}
+        </if>
         <if test="businessId != null and businessId != ''">
             AND oh.business_id = #{businessId}
         </if>
-        <if test="handleOrderSn != null and handleOrderSn != ''">
-            AND oi.order_sn = #{handleOrderSn}
-        </if>
         <if test="invoiceStatus != null and invoiceStatus == 1">
             AND oi.period_status = 1
         </if>