我在执行此代码时遇到问题 org.hibernate.QueryException: could not resolve property
def show = {
def results = PM.createCriteria().list() {
eq("id_car_info", params.id.toLong())
}
def vehicleInfoInstance = VehicleInfo.get(params.id)
if (!vehicleInfoInstance) {
flash.message = "${message(code: 'default.not.found.message', args: [message(code: 'vehicleInfo.label', default: 'VehicleInfo'), params.id])}"
redirect(action: "list")
} else {
[vehicleInfoInstance: vehicleInfoInstance, results:results]
}
}