给进销存统计报表另外增加查询接口

This commit is contained in:
jishenghua
2024-07-14 23:14:13 +08:00
parent 3533736aa8
commit b0380732ae
4 changed files with 165 additions and 13 deletions

View File

@@ -301,20 +301,20 @@ public class DepotItemService {
return list;
}
public List<DepotItemVo4WithInfoEx> findByAll(String materialParam, List<Long> categoryIdList, String endTime, Integer offset, Integer rows)throws Exception {
public List<DepotItemVo4WithInfoEx> getInOutStock(String materialParam, List<Long> categoryIdList, String endTime, Integer offset, Integer rows)throws Exception {
List<DepotItemVo4WithInfoEx> list =null;
try{
list = depotItemMapperEx.findByAll(materialParam, categoryIdList, endTime, offset, rows);
list = depotItemMapperEx.getInOutStock(materialParam, categoryIdList, endTime, offset, rows);
}catch(Exception e){
JshException.readFail(logger, e);
}
return list;
}
public int findByAllCount(String materialParam, List<Long> categoryIdList, String endTime)throws Exception {
public int getInOutStockCount(String materialParam, List<Long> categoryIdList, String endTime)throws Exception {
int result=0;
try{
result = depotItemMapperEx.findByAllCount(materialParam, categoryIdList, endTime);
result = depotItemMapperEx.getInOutStockCount(materialParam, categoryIdList, endTime);
}catch(Exception e){
JshException.readFail(logger, e);
}