瀏覽代碼

增加订单导出接口

周箭河 5 年之前
父節點
當前提交
3c87ffe23a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      mec-biz/src/main/resources/config/mybatis/StudentPaymentOrderMapper.xml

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

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