Pārlūkot izejas kodu

增加订单导出接口

周箭河 5 gadi atpakaļ
vecāks
revīzija
3c87ffe23a

+ 2 - 2
mec-biz/src/main/resources/config/mybatis/StudentPaymentOrderMapper.xml

@@ -206,10 +206,10 @@
             <if test="paymentChannel != null">
                 AND spo.payment_channel_ NOT IN (#{paymentChannel})
             </if>
-            <if test='orderType != null and orderType=="1"'>
+            <if test='orderType != null and orderType.toString()=="1".toString()'>
                 AND spo.comAmount > 0
             </if>
-            <if test='orderType != null and orderType=="2"'>
+            <if test='orderType != null and orderType.toString()=="2".toString()'>
                 AND spo.perAmount > 0
             </if>
         </where>