|
|
@@ -380,6 +380,7 @@ public class ClockRecordServiceImpl implements IClockRecordService {
|
|
|
if (ObjectUtil.isNotNull(existing)) {
|
|
|
// 今天已打卡 → 更新打卡记录
|
|
|
existing.setScreenshot(bo.getScreenshot());
|
|
|
+ existing.setStatus(ClockStatusEnum.NORMAL.getCode());
|
|
|
existing.setClockDate(bo.getClockDate() != null ? bo.getClockDate() : new Date());
|
|
|
baseMapper.updateById(existing);
|
|
|
recordId = existing.getRecordId();
|