code: @RequestMapping(value = "/setLayersForMap.action", method = RequestMethod.POST)
      public @ResponseBody
      java.util.Map<String, Object> setLayersForMap(
          @RequestParam("mapModuleId") Integer mapModuleId,
          @RequestParam("layerIds") List<Integer> layerIds) {
          try {
              if (mapModuleId == null || layerIds == null || layerIds.isEmpty()) {
                  throw new Exception();
              }
              List<Layer> layers = this.service.setLayersForMap(mapModuleId, layerIds);
              return ResultSet.success(layers);
          } catch (Exception e) {
              return ResultSet.error(COULD_NOT_SET_ERROR_MSG);
          }
      }
docs: Set layers for map
  
  @param mapModuleId The map module id
  @param layerIds The list of layer ids
  @return