|
@@ -1,5 +1,7 @@
|
|
package org.fouram.service;
|
|
package org.fouram.service;
|
|
|
|
|
|
|
|
+import java.util.ArrayList;
|
|
|
|
+import java.util.Arrays;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
|
|
|
|
@@ -64,7 +66,7 @@ public class SapCheckReportService extends BaseService {
|
|
pd.put("startDate", startDate);
|
|
pd.put("startDate", startDate);
|
|
pd.put("endDate", endDate);
|
|
pd.put("endDate", endDate);
|
|
// pd.put("departId", departId);
|
|
// pd.put("departId", departId);
|
|
- pd.put("departIds",StringUtils.isNotBlank(departId)?departId.split(","):null);
|
|
|
|
|
|
+ pd.put("departIds",StringUtils.isNotBlank(departId)? new ArrayList<>(Arrays.asList(departId.split(","))):new ArrayList<>());
|
|
pd.put("name", name);
|
|
pd.put("name", name);
|
|
|
|
|
|
List<String> days = DateUtil.getSubDateList(startDate, endDate);
|
|
List<String> days = DateUtil.getSubDateList(startDate, endDate);
|