|
@@ -1343,7 +1343,7 @@ public class WxCorpInfoServiceImpl extends ServiceImpl<WxCorpInfoMapper, WxCorpI
|
|
|
ct.setOutdoorTime(0.0);
|
|
|
if (isCrossDay) {
|
|
|
//直接用cardTime作为工作时长
|
|
|
- ct.setWorkHours(ct.getCardTime());
|
|
|
+ ct.setWorkHours(DateTimeUtil.getHoursFromDouble(ct.getCardTime()));
|
|
|
}
|
|
|
//工作日或者非工作日有打卡,需要校正请假,外出的时长数据
|
|
|
else if (timeTypeService.isWorkDay(corpInfo.getCompanyId(), localDate, timeType) || sTime > 0 || eTime > 0) {
|