怎么输入变量这个位置

提问 1 494
版本:renren-security 开发环境:
Page<PatientEntity> page = this.selectPage( new Query<PatientEntity>(params).getPage(), new EntityWrapper<PatientEntity>().like("pname","#{pname}") ); 要实现搜索功能,里面的"#{pname}"这个位置怎么能设置成变量,能搜索用
回帖