mirror of
https://github.com/suhf/No1WMS.git
synced 2026-02-05 12:13:33 +09:00
#update
This commit is contained in:
@@ -26,4 +26,6 @@ public class ProductOutDto {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.no1.wms.out;
|
||||
|
||||
import com.no1.wms.stock.StockDto;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import java.util.List;
|
||||
@@ -43,6 +44,7 @@ public interface ProductOutMapper {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.no1.wms.out;
|
||||
|
||||
import com.no1.wms.stock.StockDto;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
@@ -73,11 +74,10 @@ public class ProductOutService {
|
||||
return mapper.updateWarehouseDeleteStock(dto);
|
||||
}
|
||||
|
||||
public int stockQuantityUpdate(ProductOutDto dto){
|
||||
public int stockQuantityUpdate(ProductOutDto dto) {
|
||||
return mapper.stockQuantityUpdate(dto);
|
||||
}
|
||||
|
||||
|
||||
public int deleteOut(ProductOutDto dto) {
|
||||
return mapper.deleteOut(dto);
|
||||
}
|
||||
@@ -108,6 +108,5 @@ public class ProductOutService {
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -68,9 +68,6 @@ public class WarehouseController {
|
||||
WarehouseDto One = service.One(id);
|
||||
m.addAttribute("One", One);
|
||||
|
||||
|
||||
|
||||
|
||||
int perPage = 5; // 한 페이지에 보일 글의 갯수
|
||||
int startRow = (page - 1) * perPage;
|
||||
m.addAttribute("start", startRow + 1);
|
||||
@@ -78,8 +75,8 @@ public class WarehouseController {
|
||||
int warehouseOneCount = service.warehouseOneCount(searchn, search, id);
|
||||
List<Map<String, Object>> dto = service.warehouseOne(searchn, search, id, startRow, perPage);
|
||||
m.addAttribute("wlist", dto);
|
||||
System.out.println("list ::" + dto);
|
||||
|
||||
System.out.println("list ::" + dto);
|
||||
log.debug("dto테스트 :: " + dto);
|
||||
|
||||
int pageNum = 5;//보여질 페이지 번호 수
|
||||
|
||||
Reference in New Issue
Block a user