第二题:
String hql="select new list(o.customer.name,o.tradeDate,o.status,o.amount) from Order o "
+"where o.tradeDate between '2015-05-01' and '2015-06-01' and o.status in('已发货','已付款') and o.amount>1000 "
+"order by o.status asc,o.tradeDate desc,o.amount desc";
String hql="select new list(o.customer.name,o.tradeDate,o.status,o.amount) from Order o "
+"where o.tradeDate between '2015-05-01' and '2015-06-01' and o.status in('已发货','已付款') and o.amount>1000 "
+"order by o.status asc,o.tradeDate desc,o.amount desc";
最新回答 / 慕妹0327896
http://tags.tech.sina.com.cn/%E5 ... 8%34%32%30%38%38%39http://tags.tech.sina.com.cn/%E5 ... 8%34%32%30%38%38%39http://tags.tech.sina.com.cn/%E5 ... 8%34%32%30%38%38%39http://tags.tech.sina.com.cn/%E5 ... 8%34%32%30%38%38%39http://tags.tech.sina.com.cn/%E...
2018-04-06