最新回答 / 慕妹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
第二题
String hql = "select o.customer.name, o.tradedate, o.status, o.amount " +
"from t_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, o.tradedate desc, o.amount desc";
String hql = "select o.customer.name, o.tradedate, o.status, o.amount " +
"from t_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, o.tradedate desc, o.amount desc";