GrowthRateController

@RestController
@RequestMapping(value = ["/growth-rate"])
class GrowthRateController(growthRateService: GrowthRateService)

成长速率控制器

Constructors

Link copied to clipboard
constructor(growthRateService: GrowthRateService)

Functions

Link copied to clipboard
@DeleteMapping(value = ["/{id:\d+}"])
fun deleteById(@PathVariable id: Long)

按 ID 删除成长速率

Link copied to clipboard
@GetMapping(value = ["/list"])
fun listGrowthRates(@ModelAttribute specification: GrowthRateSpecification): List<GrowthRateView>

查询成长速率列表

Link copied to clipboard
@PostMapping
fun save(@Valid @RequestBody command: SaveGrowthRateInput): GrowthRateView

保存成长速率

Link copied to clipboard
@PutMapping
fun update(@Valid @RequestBody command: UpdateGrowthRateInput): GrowthRateView

更新成长速率