hql="select t.id,t.name,p.lname,t.beizhu,t.human,t.city,t.lrr,t.lrtime,t.modtime,t.address from CrmCustomer t, CrmCustomerLxr p where t.tend='已成单' and p.lname like '%" + lname + "%' and t.id=p.customerid ";
String hql="from CrmCustomer t where 1=1 and tend='已成单'";
额第一段代码是第一张图片的查询,第二段代码是第二张图片查询,
问题是为什么第一张图片查询,没有字段名,只有数字显示?
比如本来应该显示(address:"天津"),但是显示的却是(1:"天津")
是我的代码有问题?谢谢各位了