mirror of
https://github.com/suhf/No1WMS.git
synced 2026-02-05 12:13:33 +09:00
#수정
This commit is contained in:
@@ -235,6 +235,17 @@ public class StockController {
|
||||
|
||||
};
|
||||
|
||||
@GetMapping("/downloadExcelList2")
|
||||
public void downlodeExcelList2(HttpServletResponse response) {
|
||||
List<Map<String, Object>> dto = service.selectAll2();
|
||||
System.out.println("엑셀 출력 확인 : : " + dto);
|
||||
String excelFileName = "부족한 재고 파일";
|
||||
String sheetName = "부족한 재고";
|
||||
String[] columnName = {"제품명","카테고리","창고","재고수"};
|
||||
excelDownlodeUtils.downloadStockExcelFile(excelFileName, response, sheetName, columnName, dto);
|
||||
|
||||
};
|
||||
|
||||
//서식 다운로드
|
||||
@GetMapping("/downloadStockForm")
|
||||
public void downlodeStockForm (HttpServletResponse response) throws IOException {
|
||||
|
||||
@@ -10,6 +10,8 @@ import java.util.Map;
|
||||
@Mapper
|
||||
public interface StockMapper {
|
||||
List<Map<String, Object>> selectAll();
|
||||
|
||||
List<Map<String, Object>> selectAll2();
|
||||
|
||||
int count(Map<String, Object> m);//검색 글 갯수
|
||||
|
||||
|
||||
@@ -146,6 +146,10 @@ public class StockService {
|
||||
return mapper.selectAll();
|
||||
}
|
||||
|
||||
public List<Map<String, Object>> selectAll2() {
|
||||
return mapper.selectAll2();
|
||||
}
|
||||
|
||||
|
||||
//createProcess
|
||||
public int checkandUpdateOrCreateProcess(StockDto dto){
|
||||
|
||||
Reference in New Issue
Block a user