|
|
@@ -17,9 +17,9 @@ class SuggestedPickLotController( |
|
|
|
val pickOrderLineService: PurchaseOrderLineService, |
|
|
|
val pickOrderRepository: PickOrderRepository |
|
|
|
) { |
|
|
|
@GetMapping("/test/{conso}") |
|
|
|
fun test(@PathVariable conso: String): Any { |
|
|
|
val test1 = pickOrderRepository.findAllByConsoCode(conso).flatMap { it.pickOrderLines } |
|
|
|
return suggestedPickLotService.suggestionForPickOrderLines(test1) |
|
|
|
} |
|
|
|
// @GetMapping("/test/{conso}") |
|
|
|
// fun test(@PathVariable conso: String): Any { |
|
|
|
// val test1 = pickOrderRepository.findAllByConsoCode(conso).flatMap { it.pickOrderLines } |
|
|
|
// return suggestedPickLotService.suggestionForPickOrderLines(test1) |
|
|
|
// } |
|
|
|
} |