StockController.java
StockDto.java
StockMapper.xml
StockMapper.java
StockService.java
This commit is contained in:
sungsu
2024-01-05 15:11:31 +09:00
parent e8962a3f5e
commit f34cccef35
5 changed files with 115 additions and 21 deletions

View File

@@ -1,22 +1,13 @@
package com.no1.wms.category;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.no1.wms.excel.ExcelUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.*;
import com.no1.wms.excel.ExcelUtils;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

View File

@@ -26,7 +26,7 @@ public class StockController {
int startRow = (page - 1) * perPage;
//스톡서비스로 재고 리스트 출력 메서트 작성
List<StockDto> dto = service.stockList(searchn, search, perPage);
List<StockDto> dto = service.list(searchn, search, perPage);
m.addAttribute("list", dto);
int pageNum = 4;//보여질 페이지 번호 수

View File

@@ -23,7 +23,7 @@ public class StockService {
}
public List<StockDto> stockList(int searchn, String search, int start){
public List<StockDto> list(int searchn, String search, int start){
System.out.println(searchn+search);