mirror of
https://github.com/suhf/No1WMS.git
synced 2026-02-05 04:03:45 +09:00
stock 쪽 해결
This commit is contained in:
@@ -11,7 +11,7 @@ public interface StockMapper {
|
||||
|
||||
int count(Map<String, Object> m);//검색 글 갯수
|
||||
|
||||
List<StockDto> stockList(Map<String, Object> m);
|
||||
List<StockDto> list(Map<String, Object> m);
|
||||
|
||||
int updateStock(StockDto dto);
|
||||
|
||||
|
||||
@@ -19,6 +19,8 @@ public class StockService {
|
||||
Map<String,Object> m = new HashMap<String, Object>();
|
||||
m.put("searchn",searchn);
|
||||
m.put("search", search);
|
||||
m.put("start", 0);
|
||||
m.put("perPage", 10000);
|
||||
return mapper.count(m);
|
||||
}
|
||||
|
||||
@@ -31,9 +33,8 @@ public class StockService {
|
||||
m.put("searchn",searchn);
|
||||
m.put("search", search);
|
||||
m.put("start", start);
|
||||
m.put("count", 10);
|
||||
|
||||
return mapper.stockList(m);
|
||||
m.put("perPage", 10);
|
||||
return mapper.list(m);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user