赞
踩
GROUP BY x.CreateTime ,x.GoodsName limit 10000
select o.OrderId,o.OrderSn, FROM_UNIXTIME(o.CreateTime) as OrderTime, u.UserName, o.Consignee,
o.Mobile, o.Address, o.OrderAmount, o.ShippingFee, o.UsedMoney, o.UsedIntegral,
o.PayedAmount, o.FreeFee, pm.PayName from kps_order o
inner join kps_user u on o.UserId = u.UserId
inner join kps_payment pm on o.PayId = pm.PayId
where $condition GROUP BY o.OrderSn order by o.CreateTime limit 10000";
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。