|
@@ -236,7 +236,7 @@ public class ReportServiceImpl extends ServiceImpl<ReportMapper, Report> impleme
|
|
|
|
|
|
//新增或编辑报告
|
|
|
@Override
|
|
|
- public HttpRespMsg editReport(Integer[] projectIds, List<Report> reportList, String date) {
|
|
|
+ public HttpRespMsg editReport(Integer[] ids, List<Report> reportList, String date) {
|
|
|
HttpRespMsg httpRespMsg = new HttpRespMsg();
|
|
|
for (Report report : reportList) {
|
|
|
//获取一下信息
|
|
@@ -258,7 +258,7 @@ public class ReportServiceImpl extends ServiceImpl<ReportMapper, Report> impleme
|
|
|
}
|
|
|
if (reportList.size() > 0 && date != null) {
|
|
|
List<Integer> idList = new ArrayList<>();
|
|
|
- for (Integer id : projectIds) {
|
|
|
+ for (Integer id : ids) {
|
|
|
if (id != -1) {
|
|
|
idList.add(id);
|
|
|
}
|