Explorar o código

消费订单接口

dengsixing %!s(int64=3) %!d(string=hai) anos
pai
achega
70af777d2e

+ 4 - 2
4dkankan-center-platform/src/main/resources/mapper/order/VirtualOrderMapper.xml

@@ -26,8 +26,10 @@
     </select>
 
     <select id="getChargeListByParam" resultType="com.fdkankan.platform.user.vo.ResponseVirtualOrder">
-        SELECT o.id, o.order_sn, o.points, c.child_name, o.pay_type, o.body, o.trade_time, o.status from t_virtual_order o
-        LEFT JOIN t_camera c on o.camera_id = c.id  WHERE o.rec_status = 'A' and o.pay_status = 1   and o.pay_type = 0
+        SELECT o.id, o.order_sn, o.points, c.child_name, o.pay_type, o.body, o.trade_time, o.status
+        from t_virtual_order o
+        LEFT JOIN t_camera c on o.camera_id = c.id
+        WHERE o.tb_status = 0 and o.pay_status = 1   and o.pay_type = 0
         <if test=" param.userId != null and param.userId !='' " >
             and o.user_id = ${param.userId}
         </if>