فهرست منبع

增加订单导出接口

周箭河 5 سال پیش
والد
کامیت
d81509d3b6

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

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

+ 2 - 0
mec-web/src/main/java/com/ym/mec/web/controller/StudentPaymentOrderController.java

@@ -102,6 +102,7 @@ public class StudentPaymentOrderController extends BaseController {
                 }
             }
         }
+        queryInfo.setOrderType("1");
 
         PageInfo<StudentPaymentOrder> studentPaymentOrderPageInfo = studentPaymentOrderService.queryPage(queryInfo);
 
@@ -137,6 +138,7 @@ public class StudentPaymentOrderController extends BaseController {
                 }
             }
         }
+        queryInfo.setOrderType("2");
 
         PageInfo<StudentPaymentOrder> studentPaymentOrderPageInfo = studentPaymentOrderService.queryPage(queryInfo);