|
|
|
@@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.* |
|
|
|
class PickOrderLifecycleController( |
|
|
|
private val lifecycleService: PickOrderLifecycleService, |
|
|
|
) { |
|
|
|
/** FP-MTMS Version Checklist | Functions Ref. No. 10 | v1.0.1 | 2026-07-14 */ |
|
|
|
/** FP-MTMS Version Checklist | Functions Ref. No. 11 | v1.0.0 | 2026-07-17 */ |
|
|
|
@GetMapping("/{id}/lifecycle") |
|
|
|
fun getLifecycle(@PathVariable id: Long): ResponseEntity<PickOrderLifecycleResponse> { |
|
|
|
val result = lifecycleService.getLifecycle(id) |
|
|
|
@@ -18,7 +18,7 @@ class PickOrderLifecycleController( |
|
|
|
else ResponseEntity.notFound().build() |
|
|
|
} |
|
|
|
|
|
|
|
/** FP-MTMS Version Checklist | Functions Ref. No. 10 | v1.0.1 | 2026-07-14 */ |
|
|
|
/** FP-MTMS Version Checklist | Functions Ref. No. 11 | v1.0.0 | 2026-07-17 */ |
|
|
|
@GetMapping("/lifecycle/by-code") |
|
|
|
fun getLifecycleByCode(@RequestParam code: String): ResponseEntity<PickOrderLifecycleResponse> { |
|
|
|
val result = lifecycleService.getLifecycleByCode(code) |
|
|
|
|