|
|
|
@ -38,6 +38,7 @@ import javax.servlet.http.HttpServletRequest;
|
|
|
|
|
import java.io.IOException;
|
|
|
|
|
import java.io.InputStream;
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
import java.text.SimpleDateFormat;
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
import java.util.*;
|
|
|
|
|
import java.util.stream.Collectors;
|
|
|
|
@ -107,6 +108,9 @@ public class SfcDispatchServiceImpl extends ServiceImpl<SfcDispatchMapper, SfcDi
|
|
|
|
|
if (Constants.USER_GROUP_ADMINISTRATOR.equals(userGroup)) {
|
|
|
|
|
role = Constants.USER_GROUP_ADMINISTRATOR;
|
|
|
|
|
break;
|
|
|
|
|
} else if (Constants.USER_GROUP_WX_USER.equals(userGroup)) {
|
|
|
|
|
role = Constants.USER_GROUP_WX_USER;
|
|
|
|
|
break;
|
|
|
|
|
} else if (Constants.USER_GROUP_CJDD.equals(userGroup)) {
|
|
|
|
|
role = Constants.USER_GROUP_CJDD;
|
|
|
|
|
break;
|
|
|
|
@ -300,8 +304,8 @@ public class SfcDispatchServiceImpl extends ServiceImpl<SfcDispatchMapper, SfcDi
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Date startFromDate = (Date) paramMap.get("startFromDate");
|
|
|
|
|
Date StartToDate = (Date) paramMap.get("StartToDate");
|
|
|
|
|
Date startFromDate = DateUtil.parseDate((String)paramMap.get("startFromDate"));
|
|
|
|
|
Date StartToDate = DateUtil.parseDate((String)paramMap.get("StartToDate"));
|
|
|
|
|
Map<String, Map<String, List<WorkCenterWorkTimeDTO>>> processedMap = this.processWorkCenterWorkTimes(site, workCenterList, startFromDate, StartToDate);
|
|
|
|
|
map.put("workCenterWorkTimes", processedMap);
|
|
|
|
|
|
|
|
|
|