select new map(o.customer.name as customerName, o.tradedate as tradedate, o.status as status, o.amount as amount ) from OrderForm o where o.tradedate between '2015-05-01' and '2015-06-01' and (o.status='已付款' or o.status='已发货') and o.amount>1000 order by o.status asc, o.tradedate desc, o.amount desc
最赞回答 / 三爷333
this和super不能同时出现在一个构造函数里面,因为this必然会调用其它的构造函数,其它的构造函数必然也会有super语句的存在,所以在同一个构造函数里面有相同的语句,就失去了语句的意义,编译器也不会通过。去掉super试试
2016-06-24