错误提示: could not resolve property:
确定有相关属性时,记得使用
criteria.createAlias
@ManyToOne 若可能为null
要加上
@NotFound(action = NotFoundAction.IGNORE)