datalist.setDescription(dlist.getName());
datalist.setJson(PropertyUtil.propertiesJsonStoreProcessing(datalist.getJson(), json));
boolean success = datalistDefinitionDao.update(datalist);
JSONObject jsonObject = new JSONObject();
jsonObject.accumulate("success", success);
jsonObject.write(writer);
}
@RequestMapping(value = {"/console/app/(*:appId)/(~:appVersion)/datalist/builderPreview/(*:id)", "/client/app/(*:appId)/(*:appVersion)/datalist/(*:id)"})
public String preview(ModelMap map, HttpServletRequest request, @RequestParam("appId") String appId, @RequestParam(value = "appVersion", required = false) String appVersion, @RequestParam("id") String id, @RequestParam(required = false) String json) throws Exception {