String PermissionObject = model.getPermissionObject();
if(StringUtils.isNotBlank(PermissionObject)){
JSONObject myJson = JSONObject.fromObject(PermissionObject);
Map map = myJson;
String PomRefund = (String)map.get("POM_REFUND");//退款权限
String PomBalance = (String)map.get("POM_BALANCE");//结算管理权限
String PomReport = (String)map.get("POM_REPORT");//数据报表统计权限
if(StringUtil.isNotEmpty(PomRefund)){
model.setPomRefund(PomRefund);
}else{
model.setPomRefund("0");
}
string-json
最新推荐文章于 2024-08-13 09:42:30 发布