bug
This commit is contained in:
@@ -184,4 +184,16 @@ public class PointController {
|
||||
return R.ok().put("tgdz",stringStringMap);
|
||||
}
|
||||
|
||||
|
||||
@RequestMapping("/WYLQForYear")
|
||||
public R WYLQForYear(@RequestBody Map<String,Object> map) throws ParseException {
|
||||
String date = map.get("date").toString();
|
||||
SimpleDateFormat simpleDateFormat = new SimpleDateFormat();
|
||||
simpleDateFormat.applyPattern("yyyy-MM-dd hh:mm:ss");
|
||||
Date parse = simpleDateFormat.parse(date);
|
||||
|
||||
Map<String, Object> stringStringMap = pointService.WYLQForDate(parse);
|
||||
return R.ok().put("wylq",stringStringMap);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user