Map
转Java Bean
:
public ResponseResult addDataTable(Map<String, Object> params) {
String jsonString = JSON.toJSONString(params);
DmDataTable dataTable = JSON.parseObject(jsonString, DmDataTable.class);
DmApprovalInfo approvalInfo = JSON.parseObject(jsonString, DmApprovalInfo.class);
return new ResponseResult(insertSelective(dataTable.setTableId(UUIDUtil.uuid())));
}
Java Bean
转Map
:
OrganStaffDto staffDto = queryStaffDtoByOrganId(user2.get("organId"));
String jsonStr = JSON.toJSONString(staffDto);
Map<String,String> staffMap = (Map)JSON.parseObject(jsonStr);
References
最新评论
One Drive提取密码?
大佬请问每次都需要在plugins中启动tiktok吗,还是直接启动app
不是个人的吧,华为应用商店里有公司名称,可以搜到的
怎么获取下载密码不对啊?