解决进销存统计日期参数的bug
This commit is contained in:
@@ -492,6 +492,8 @@ public class DepotItemController {
|
|||||||
if(categoryId != null){
|
if(categoryId != null){
|
||||||
categoryIdList = materialService.getListByParentId(categoryId);
|
categoryIdList = materialService.getListByParentId(categoryId);
|
||||||
}
|
}
|
||||||
|
beginTime = Tools.parseDayToTime(beginTime, BusinessConstants.DAY_FIRST_TIME);
|
||||||
|
endTime = Tools.parseDayToTime(endTime,BusinessConstants.DAY_LAST_TIME);
|
||||||
List<Long> depotList = parseListByDepotIds(depotIds);
|
List<Long> depotList = parseListByDepotIds(depotIds);
|
||||||
List<DepotItemVo4WithInfoEx> dataList = depotItemService.getInOutStock(StringUtil.toNull(materialParam),
|
List<DepotItemVo4WithInfoEx> dataList = depotItemService.getInOutStock(StringUtil.toNull(materialParam),
|
||||||
categoryIdList, endTime,(currentPage-1)*pageSize, pageSize);
|
categoryIdList, endTime,(currentPage-1)*pageSize, pageSize);
|
||||||
@@ -575,6 +577,7 @@ public class DepotItemController {
|
|||||||
if(categoryId != null){
|
if(categoryId != null){
|
||||||
categoryIdList = materialService.getListByParentId(categoryId);
|
categoryIdList = materialService.getListByParentId(categoryId);
|
||||||
}
|
}
|
||||||
|
endTime = Tools.parseDayToTime(endTime,BusinessConstants.DAY_LAST_TIME);
|
||||||
List<Long> depotList = parseListByDepotIds(depotIds);
|
List<Long> depotList = parseListByDepotIds(depotIds);
|
||||||
List<DepotItemVo4WithInfoEx> dataList = depotItemService.getInOutStock(StringUtil.toNull(materialParam),
|
List<DepotItemVo4WithInfoEx> dataList = depotItemService.getInOutStock(StringUtil.toNull(materialParam),
|
||||||
categoryIdList, endTime, null, null);
|
categoryIdList, endTime, null, null);
|
||||||
|
|||||||
Reference in New Issue
Block a user