
	SELECT 
		oo.payTime,
		oo.totalTee,
		oo.openId,
		lc.nick,
		lc.mobile,
		ood.goodsName,
		ood.partNumber
	FROM ord_order oo 
		LEFT JOIN lpk_customer lc ON lc.sid = oo.userSid 	
		LEFT JOIN ord_order_detail ood ON ood.orderSid=oo.sid 	
		LEFT JOIN lpk_goods e ON e.sid = ood.goodsSid  	
	WHERE oo.payStatus=4
	
	
	
		SELECT 
		   oo.outTradeNo 订单编号,
			oo.payTime 支付时间,
			oo.totalTee 金额,
			oo.openId 支付人微信,
			lc.nick 支付人昵称,
			lc.mobile 支付人电话
		FROM ord_order oo 
			LEFT JOIN lpk_customer lc ON lc.sid = oo.userSid 	
		WHERE oo.payStatus=4
		ORDER BY oo.payTime