@RequestMapping("/load/config")
 @ResponseBody
 public ExtData load(
     @RequestParam(value = "page", required = false, defaultValue = "1") Integer currentPage,
     @RequestParam(required = false, value = "limit", defaultValue = "10") Integer pageSize,
     HttpServletRequest request) {
   Page<SystemConfigEntity> datas =
       systemConfigDao.findAll(new ExtPageRequest(currentPage, pageSize));
   return new ExtGridData(true, datas.getTotalElements(), datas.getContent());
 }
 @RequestMapping("/loadone/config")
 @ResponseBody
 public SystemConfigEntity loadOne() {
   SystemConfigEntity entity = systemConfigDao.findOne(1L);
   if (entity != null) {
     return entity;
   } else {
     return null;
   }
 }
 @RequestMapping("/update/config")
 @ResponseBody
 public ExtData update(@RequestBody String body)
     throws JsonParseException, JsonMappingException, IOException {
   if (!body.startsWith("[")) {
     body = "[" + body + "]";
   }
   List<SystemConfigEntity> entities = objectMapper.readValue(body, VALUE_TYPE_REF);
   systemConfigDao.save(entities);
   return new ExtGridData(true, entities.size(), entities);
 }