|
@@ -11,6 +11,7 @@ import org.springframework.data.domain.PageRequest |
|
|
import org.springframework.data.domain.Pageable |
|
|
import org.springframework.data.domain.Pageable |
|
|
import org.springframework.web.bind.annotation.GetMapping |
|
|
import org.springframework.web.bind.annotation.GetMapping |
|
|
import org.springframework.web.bind.annotation.ModelAttribute |
|
|
import org.springframework.web.bind.annotation.ModelAttribute |
|
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping |
|
|
import org.springframework.web.bind.annotation.RequestMapping |
|
|
import org.springframework.web.bind.annotation.RequestMapping |
|
|
import org.springframework.web.bind.annotation.RequestParam |
|
|
import org.springframework.web.bind.annotation.RequestParam |
|
|
import org.springframework.web.bind.annotation.RestController |
|
|
import org.springframework.web.bind.annotation.RestController |
|
@@ -30,7 +31,7 @@ class PickOrderController( |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@GetMapping("/getRecordByPage") |
|
|
@GetMapping("/getRecordByPage") |
|
|
fun test(@ModelAttribute request: SearchPickOrderRequest): RecordsRes<PickOrderInfo> { |
|
|
|
|
|
|
|
|
fun allPickOrdersByPage(@ModelAttribute request: SearchPickOrderRequest): RecordsRes<PickOrderInfo> { |
|
|
return pickOrderService.allPickOrdersByPage(request); |
|
|
return pickOrderService.allPickOrdersByPage(request); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |