From 11fe8227844e61e4b3d7723b4628d1b3d53fe91f Mon Sep 17 00:00:00 2001
From: 许鹏程 <1821349743@qq.com>
Date: 星期四, 02 一月 2025 10:39:45 +0800
Subject: [PATCH] fix:del onlinedocument redis key

---
 src/main/java/com/product/administration/service/PunchRecordService.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/product/administration/service/PunchRecordService.java b/src/main/java/com/product/administration/service/PunchRecordService.java
index 33adaad..48fe93b 100644
--- a/src/main/java/com/product/administration/service/PunchRecordService.java
+++ b/src/main/java/com/product/administration/service/PunchRecordService.java
@@ -194,7 +194,7 @@
 						lateSb.append("涓婄彮鏈墦鍗�");
 					}
 
-					if(ObjectUtil.isNotEmpty(fieldSetEntity.getValue("punch_time_four"))){
+					if(ObjectUtil.isNotEmpty(fieldSetEntity.getValue("punch_time_four"))&&ObjectUtil.isNotEmpty(fieldSetEntity.getValue("punch_range_four"))){
 						String punch_time_four = dateFormatHHmmss.format(fieldSetEntity.getValue("punch_time_four"));
 						punch_time_four_date = DateUtil.parse(punch_time_four);
 						if(punch_time_four_date.before(afternoon_work_off_date)){

--
Gitblit v1.9.2