2019-03-07 11:10
Set> _getAttrsEntrySet = user._getAttrsEntrySet();
String password = user.getPassword();
if(null==password) {
Iterator> iterator = _getAttrsEntrySet.iterator();
while(iterator.hasNext()) {
Entry next = iterator.next();
String key = next.getKey();
if("password".equals(key)) {
password=(String) next.getValue();
break;
}
}
}
要这样写才可以吗?
2018-06-06 11:34
@JFinal list的格式是这种[[name=null],[name=null]],但是通过Map map = com.jfinal.plugin.activerecord.CPI.getAttrs(repair);可以获取