|
@@ -34,17 +34,10 @@ public class PointGenerateController {
|
|
|
|
|
|
|
|
|
@PostMapping(value = "/add")
|
|
|
- public R addGeneratePoint(
|
|
|
- @RequestParam(value = "regioncompanyid", required = false) String regioncompanyid,
|
|
|
- @RequestParam(value = "id", required = false) String id,
|
|
|
- @RequestParam(value = "stationId", required = false) String stationId,
|
|
|
- @RequestParam(value = "projectId", required = false) String projectId,
|
|
|
- @RequestParam(value = "lineId", required = false) String lineId,
|
|
|
- @RequestParam(value = "pointList", required = false) List<Standardpoint> pointList,
|
|
|
- @RequestParam(value = "type", required = false) String type){
|
|
|
+ public R addGeneratePoint( @RequestParam(value = "pointList", required = false) String[] points){
|
|
|
|
|
|
|
|
|
- pointGenerateService.addGeneratePoint(pointList);
|
|
|
+ pointGenerateService.addGeneratePoint(points);
|
|
|
|
|
|
|
|
|
|