修改getParameters方法分支判断

This commit is contained in:
zengfantian 2015-01-21 20:36:34 +08:00
parent 116d6a6ffe
commit db8beed6a5
1 changed files with 4 additions and 1 deletions

View File

@ -94,8 +94,11 @@ public class Operation {
DTO parms = getParameters(); DTO parms = getParameters();
if(null != parms){ if(null != parms){
return parms.get(key); return parms.get(key);
}else{
parms = new DTO();
parms.put(key, mContext.getIntent().getExtras().get(key));
} }
return null; return parms;
} }
/** /**