|
@@ -94,33 +94,11 @@ public class StoreReportController {
|
|
ExcelUtil.exportResponseDict(response, ExportOutStoreDetailVO.class, BeanConverterUtil.copyListProperties(detailList, ExportOutStoreDetailVO.class), fileName);
|
|
ExcelUtil.exportResponseDict(response, ExportOutStoreDetailVO.class, BeanConverterUtil.copyListProperties(detailList, ExportOutStoreDetailVO.class), fileName);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-// @GetMapping("/export/out/month")
|
|
|
|
-// @SysLog("仓库每月出库明细导出")
|
|
|
|
-// public void exportOut(HttpServletResponse response, InStoreFormDTO dto, @RequestParam(required = false) Integer year,
|
|
|
|
-// @RequestParam(required = false) LocalDate startMonth, @RequestParam(required = false) LocalDate endMonth,
|
|
|
|
-// @RequestParam(required = false) Integer month) {
|
|
|
|
-// List<StoreInAndOutReportVO> list = storeMonthReportService.getMonthReport(dto, year, startMonth, endMonth);
|
|
|
|
-// String fileName = "";
|
|
|
|
-// fileName = year + "-" + month + "-出库数据统计明细";
|
|
|
|
-// if (CollectionUtil.isNotEmpty(list)) {
|
|
|
|
-// for (StoreInAndOutReportVO vo : list) {
|
|
|
|
-// if (vo.getMonth() == month) {
|
|
|
|
-// List<OutStoreDetailVO> detailList = vo.getOutDetailList();
|
|
|
|
-// if (CollectionUtil.isNotEmpty(detailList)) {
|
|
|
|
-// ExcelUtil.exportResponseDict(response, ExportOutStoreDetailVO.class, BeanConverterUtil.copyListProperties(detailList, ExportOutStoreDetailVO.class), fileName);
|
|
|
|
-// }
|
|
|
|
-// }
|
|
|
|
-// }
|
|
|
|
-// }
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-
|
|
|
|
/**
|
|
/**
|
|
* 仓库每月入库总数量以及金额报表
|
|
* 仓库每月入库总数量以及金额报表
|
|
*
|
|
*
|