@RequestParam Map paramMap

@RequestParam

请求方式

url = “/edit?device=${device}&type=${type}”

Controller

@RequestMapping(value = "/sex")
@ResponseBody
public Object getSexAndAgeCharts ( @RequestParam Map paramMap ) {
Map charts = this.iFaceService.getSexAndAgeCharts(paramMap);
return charts;
}

Mapper.xml


and deviceID=#{device}

转载于:https://www.cnblogs.com/lancelee98/p/9879212.html

你可能感兴趣的:(java)