From b7e492c4368c534639387329ce24f2c7821b5ef8 Mon Sep 17 00:00:00 2001 From: yang_shj <1069818635@QQ.com> Date: Thu, 21 Nov 2024 09:13:02 +0800 Subject: [PATCH] =?UTF-8?q?#=E6=89=93=E5=8D=A1=E5=B7=A1=E6=A3=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/hnac/hzinfo/inspect/task/entity/ClockInEntity.java | 11 +++++++++++ .../hzinfo/inspect/task/service/impl/ClockInServiceImpl.java | 3 --- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/hzims-service-api/inspect-api/src/main/java/com/hnac/hzinfo/inspect/task/entity/ClockInEntity.java b/hzims-service-api/inspect-api/src/main/java/com/hnac/hzinfo/inspect/task/entity/ClockInEntity.java index c631789..5331dcd 100644 --- a/hzims-service-api/inspect-api/src/main/java/com/hnac/hzinfo/inspect/task/entity/ClockInEntity.java +++ b/hzims-service-api/inspect-api/src/main/java/com/hnac/hzinfo/inspect/task/entity/ClockInEntity.java @@ -27,9 +27,11 @@ public class ClockInEntity extends TenantEntity { @ApiModelProperty(value = "巡检任务ID") private Long taskId; + @ApiModelProperty(value = "巡检对象Id") private Long objectId; + @ApiModelProperty(value = "计划打卡开始时间") @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" @@ -39,6 +41,8 @@ public class ClockInEntity extends TenantEntity { ) private LocalDateTime planStartTime; + + @ApiModelProperty(value = "计划打卡结束时间") @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" @@ -48,9 +52,13 @@ public class ClockInEntity extends TenantEntity { ) private LocalDateTime planEndTime; + + @ApiModelProperty(value = "打卡人") private Long clockPerson; + + @ApiModelProperty(value = "打卡时间") @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" @@ -59,4 +67,7 @@ public class ClockInEntity extends TenantEntity { pattern = "yyyy-MM-dd HH:mm:ss" ) private LocalDateTime clockTime; + + + } \ No newline at end of file diff --git a/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/service/impl/ClockInServiceImpl.java b/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/service/impl/ClockInServiceImpl.java index ef1d871..c0d94f2 100644 --- a/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/service/impl/ClockInServiceImpl.java +++ b/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/service/impl/ClockInServiceImpl.java @@ -1,10 +1,8 @@ package com.hnac.hzinfo.inspect.task.service.impl; -import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import com.hnac.hzims.common.logs.utils.StringUtils; import com.hnac.hzinfo.inspect.ai.vo.ClockInRequestDTO; import com.hnac.hzinfo.inspect.ai.vo.ClockInResponseDTO; import com.hnac.hzinfo.inspect.ai.vo.ClockInStatisticsResponseDTO; @@ -13,7 +11,6 @@ import com.hnac.hzinfo.inspect.task.entity.TaskObjectEntity; import com.hnac.hzinfo.inspect.task.mapper.ClockInMapper; import com.hnac.hzinfo.inspect.task.service.IClockInService; import com.hnac.hzinfo.inspect.task.service.ITaskObjectService; -import com.hnac.hzinfo.inspect.task.wrapper.ClockInWrapper; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springblade.core.mp.support.Condition;