浏览代码

订单导出

zouxuan 3 年之前
父节点
当前提交
25959477d2
共有 1 个文件被更改,包括 1 次插入6 次删除
  1. 1 6
      mec-biz/src/main/resources/config/mybatis/StudentPaymentOrderMapper.xml

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

@@ -353,12 +353,7 @@
                 AND DATE_FORMAT(spo.create_time_,'%Y-%m-%d') <= #{orderEndDate}
                 AND DATE_FORMAT(spo.create_time_,'%Y-%m-%d') <= #{orderEndDate}
             </if>
             </if>
             <if test="paymentType != null">
             <if test="paymentType != null">
-                <if test="paymentType == 'OUTORDER'">
-                    AND spo.group_type_ = #{paymentType}
-                </if>
-                <if test="paymentType != 'OUTORDER'">
-                    AND spo.type_ = #{paymentType}
-                </if>
+                AND spo.type_ = #{paymentType}
             </if>
             </if>
             <if test="remark != null">
             <if test="remark != null">
                 AND spo.memo_ LIKE CONCAT('%',#{remark},'%')
                 AND spo.memo_ LIKE CONCAT('%',#{remark},'%')