|
@@ -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>
|