1. 再使用hql语句进行查询设置上去
return ht.find("select new com.tintop.fbtag.vo.WxAccountVo(robot.robotCode,account.wxAccount,account.nickName,account.createTime,account.remark)
from WxRobot asrobot,WxAccount as account
whereaccount.roboId=robot.id");
1. 再使用hql语句进行查询设置上去
return ht.find("select new com.tintop.fbtag.vo.WxAccountVo(robot.robotCode,account.wxAccount,account.nickName,account.createTime,account.remark)
from WxRobot asrobot,WxAccount as account
whereaccount.roboId=robot.id");