stock/list.jps
WarehouseController.java
WarehouseMapper.xml

#insert
warehouse/read.jsp
This commit is contained in:
sungsu
2024-01-09 20:31:51 +09:00
parent ae2ac39d94
commit 26e538fc06
4 changed files with 82 additions and 11 deletions

View File

@@ -49,8 +49,8 @@ public class WarehouseController {
// 재고 상세페이지
@PostMapping("warehouse/read/{id}")
public String read(@PathVariable String id, Model m) {
@PostMapping("warehouse/read")
public String read(String id, Model m) {
//스톡서비스로 재고 상세페이지 출력 메서드 작성
WarehouseDto dto = service.warehouseOne(id);
m.addAttribute("dto", dto);