|
@@ -55,7 +55,7 @@ public class SapCheckReportService extends BaseService {
|
|
|
return (List<Map<String, Object>>) findList("SapCheckReportMapper.findUserReports", pd);
|
|
|
}
|
|
|
|
|
|
- public List<Map<String, Object>> selectReportDayList(String startDate, String endDate, String departId,List<Long> departIds, String name)
|
|
|
+ public List<Map<String, Object>> selectReportDayList(String startDate, String endDate, String departId, String name)
|
|
|
throws Exception {
|
|
|
if (StringUtils.isNotBlank(departId) && departId.endsWith(",")) {
|
|
|
departId = departId.substring(0, departId.length() - 1);
|
|
@@ -64,7 +64,7 @@ public class SapCheckReportService extends BaseService {
|
|
|
pd.put("startDate", startDate);
|
|
|
pd.put("endDate", endDate);
|
|
|
// pd.put("departId", departId);
|
|
|
- pd.put("departIds",departIds);
|
|
|
+ pd.put("departIds",StringUtils.isNotBlank(departId)?departId.split(","):null);
|
|
|
pd.put("name", name);
|
|
|
|
|
|
List<String> days = DateUtil.getSubDateList(startDate, endDate);
|