修改综合监测信息库
This commit is contained in:
parent
b01380adc3
commit
820cb51b32
|
|
@ -49,7 +49,7 @@ public class GardsNuclearReactorsController {
|
|||
@PostMapping("/create")
|
||||
@Operation(summary = "新增核设施信息")
|
||||
public Result<?> create(@RequestBody GardsNuclearReactors gardsNuclearReactors) {
|
||||
gardsNuclearReactorsService.save(gardsNuclearReactors);
|
||||
gardsNuclearReactorsService.create(gardsNuclearReactors);
|
||||
return Result.OK("新增成功!");
|
||||
}
|
||||
|
||||
|
|
@ -62,7 +62,7 @@ public class GardsNuclearReactorsController {
|
|||
@DeleteMapping("/delete")
|
||||
@Operation(summary = "删除核设施信息数据")
|
||||
public Result<?> delete(@RequestParam Integer id) {
|
||||
gardsNuclearReactorsService.removeById(id);
|
||||
gardsNuclearReactorsService.delete(id);
|
||||
return Result.OK("删除成功!");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ public class GardsNuclearReleaseController {
|
|||
@PostMapping("/create")
|
||||
@Operation(summary = "新增加核设施放射性排放记录信息")
|
||||
public Result<?> create(@RequestBody GardsNuclearReleaseRecords gardsNuclearReleaseRecords) {
|
||||
gardsNuclearReleaseService.save(gardsNuclearReleaseRecords);
|
||||
gardsNuclearReleaseService.create(gardsNuclearReleaseRecords);
|
||||
return Result.OK("新增成功!");
|
||||
}
|
||||
|
||||
|
|
@ -52,7 +52,7 @@ public class GardsNuclearReleaseController {
|
|||
@DeleteMapping("/delete")
|
||||
@Operation(summary = "删除核设施放射性排放记录信息")
|
||||
public Result<?> deleteById(@RequestParam Integer id) {
|
||||
gardsNuclearReleaseService.removeById(id);
|
||||
gardsNuclearReleaseService.deleteById(id);
|
||||
return Result.OK("删除成功!");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ public class GardsNuclearTestingPlantController {
|
|||
@PostMapping("/create")
|
||||
@Operation(summary = "新增核试验信息")
|
||||
public Result<?> create(@RequestBody GardsNuclearTestingPlant gardsNuclearTestingPlant) {
|
||||
gardsNuclearTestingPlantService.save(gardsNuclearTestingPlant);
|
||||
gardsNuclearTestingPlantService.create(gardsNuclearTestingPlant);
|
||||
return Result.OK("新增成功!");
|
||||
}
|
||||
|
||||
|
|
@ -55,7 +55,7 @@ public class GardsNuclearTestingPlantController {
|
|||
@DeleteMapping("/delete")
|
||||
@Operation(summary = "删除核试验信息")
|
||||
public Result<?> deleteById(@RequestParam Integer id) {
|
||||
gardsNuclearTestingPlantService.removeById(id);
|
||||
gardsNuclearTestingPlantService.deleteById(id);
|
||||
return Result.OK("删除成功!");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ public class GardsNuclideDecayController {
|
|||
@PostMapping("/create")
|
||||
@Operation(summary = "新增信息")
|
||||
public Result<?> create(@RequestBody GardsNuclideDecay gardsNuclideDecay) {
|
||||
gardsNuclideDecayService.save(gardsNuclideDecay);
|
||||
gardsNuclideDecayService.create(gardsNuclideDecay);
|
||||
return Result.OK("新增成功!");
|
||||
}
|
||||
|
||||
|
|
@ -52,7 +52,7 @@ public class GardsNuclideDecayController {
|
|||
@DeleteMapping("/delete")
|
||||
@Operation(summary = "删除信息")
|
||||
public Result<?> deleteById(Integer id) {
|
||||
gardsNuclideDecayService.removeById(id);
|
||||
gardsNuclideDecayService.deleteById(id);
|
||||
return Result.OK("删除成功!");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ public class GardsResearchReactorsController {
|
|||
@PostMapping("/create")
|
||||
@Operation(summary = "新增反应堆信息")
|
||||
public Result<?> create(@RequestBody GardsResearchReactors gardsResearchReactors) {
|
||||
gardsResearchReactorsService.save(gardsResearchReactors);
|
||||
gardsResearchReactorsService.create(gardsResearchReactors);
|
||||
return Result.OK("新增成功!");
|
||||
}
|
||||
|
||||
|
|
@ -52,7 +52,7 @@ public class GardsResearchReactorsController {
|
|||
@DeleteMapping("/delete")
|
||||
@Operation(summary = "删除反应堆信息")
|
||||
public Result<?> deleteById(@RequestParam Integer id) {
|
||||
gardsResearchReactorsService.removeById(id);
|
||||
gardsResearchReactorsService.deleteById(id);
|
||||
return Result.OK("删除成功!");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ public class GardsStationsController {
|
|||
@PostMapping("/create")
|
||||
@Operation(summary = "新增台站信息")
|
||||
public Result<?> create(@RequestBody GardsStations gardsStations) {
|
||||
gardsStationsService.save(gardsStations);
|
||||
gardsStationsService.create(gardsStations);
|
||||
return Result.OK("新增成功!");
|
||||
}
|
||||
|
||||
|
|
@ -51,7 +51,7 @@ public class GardsStationsController {
|
|||
@DeleteMapping("/delete")
|
||||
@Operation(summary = "删除台站信息")
|
||||
public Result<?> deleteById(@RequestParam Integer stationId) {
|
||||
gardsStationsService.removeById(stationId);
|
||||
gardsStationsService.deleteById(stationId);
|
||||
return Result.OK("删除成功!");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user