|
@@ -89,8 +89,9 @@ public class OutStoreFormServiceImpl extends BaseServiceImpl<OutStoreFormMapper,
|
|
dto.setSearchTimeEnd(searchEndTime);
|
|
dto.setSearchTimeEnd(searchEndTime);
|
|
List<OutStoreFormVO> list = mapper.selectList(dto);
|
|
List<OutStoreFormVO> list = mapper.selectList(dto);
|
|
List<OutStoreFormReportVO> result = new ArrayList();
|
|
List<OutStoreFormReportVO> result = new ArrayList();
|
|
- int i = 0;
|
|
|
|
|
|
+
|
|
for (Map<String, LocalDateTime> map : monthStartAndEndList) {
|
|
for (Map<String, LocalDateTime> map : monthStartAndEndList) {
|
|
|
|
+ int i = 0;
|
|
OutStoreFormReportVO vo = new OutStoreFormReportVO();
|
|
OutStoreFormReportVO vo = new OutStoreFormReportVO();
|
|
List<OutStoreFormVO> detailList = new ArrayList();
|
|
List<OutStoreFormVO> detailList = new ArrayList();
|
|
vo.setYear(map.get("searchStartTimeMonth").getYear());
|
|
vo.setYear(map.get("searchStartTimeMonth").getYear());
|
|
@@ -99,7 +100,7 @@ public class OutStoreFormServiceImpl extends BaseServiceImpl<OutStoreFormMapper,
|
|
|
|
|
|
|
|
|
|
if (outStoreFormVO.getCreatedTime().isAfter(map.get("searchStartTimeMonth")) && outStoreFormVO.getCreatedTime().isBefore(map.get("searchEndTimeMonth"))) {
|
|
if (outStoreFormVO.getCreatedTime().isAfter(map.get("searchStartTimeMonth")) && outStoreFormVO.getCreatedTime().isBefore(map.get("searchEndTimeMonth"))) {
|
|
- i++;
|
|
|
|
|
|
+ i+=(outStoreFormVO.getOutNum()==null?0:outStoreFormVO.getOutNum());
|
|
detailList.add(outStoreFormVO);
|
|
detailList.add(outStoreFormVO);
|
|
}
|
|
}
|
|
}
|
|
}
|