|  |  |  | 
|---|
|  |  |  | @TableField(exist = false) | 
|---|
|  |  |  | private Map<String, Object> map; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public static BaseParam build(Map<String, Object> map) { | 
|---|
|  |  |  | BaseParam param = new BaseParam(); | 
|---|
|  |  |  | public void syncMap(Map<String, Object> map) { | 
|---|
|  |  |  | if (null == map) { | 
|---|
|  |  |  | return param; | 
|---|
|  |  |  | return; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (null != map.get("current")) { | 
|---|
|  |  |  | param.setCurrent(Integer.parseInt(String.valueOf(map.get("current")))); | 
|---|
|  |  |  | this.setCurrent(Integer.parseInt(String.valueOf(map.get("current")))); | 
|---|
|  |  |  | map.remove("current"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (null != map.get("pageSize")) { | 
|---|
|  |  |  | param.setPageSize(Integer.parseInt(String.valueOf(map.get("pageSize")))); | 
|---|
|  |  |  | this.setPageSize(Integer.parseInt(String.valueOf(map.get("pageSize")))); | 
|---|
|  |  |  | map.remove("pageSize"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (null != map.get("condition")) { | 
|---|
|  |  |  | param.setCondition(String.valueOf(map.get("condition"))); | 
|---|
|  |  |  | this.setCondition(String.valueOf(map.get("condition"))); | 
|---|
|  |  |  | map.remove("condition"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | param.setMap(map); | 
|---|
|  |  |  | return param; | 
|---|
|  |  |  | this.setMap(map); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|