|
@@ -95,7 +95,7 @@ public class AreaByLevelController {
|
|
return service.update(one);
|
|
return service.update(one);
|
|
}
|
|
}
|
|
|
|
|
|
- @PostMapping("/update_batch") // test my git
|
|
|
|
|
|
+ @PostMapping("/update_batch")
|
|
public Result updateArea(@RequestBody List<AreaAll> records) {
|
|
public Result updateArea(@RequestBody List<AreaAll> records) {
|
|
ArrayList<String> errId = new ArrayList<>();
|
|
ArrayList<String> errId = new ArrayList<>();
|
|
for (AreaAll one: records) if (AreaUtil.isError(one)) errId.add(one.getId());
|
|
for (AreaAll one: records) if (AreaUtil.isError(one)) errId.add(one.getId());
|