From cb933de9554b9b86f87983137733f27e5bdca156 Mon Sep 17 00:00:00 2001 From: yang_shj <1069818635@QQ.com> Date: Mon, 18 Nov 2024 13:45:35 +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 --- .../hzinfo/inspect/ai/vo/ClockInResponseDTO.java | 9 ++++++++ .../hzinfo/inspect/task/mapper/ClockInMapper.java | 3 +++ .../hzinfo/inspect/task/mapper/ClockInMapper.xml | 23 +++++++++++++++++++ .../task/service/impl/ClockInServiceImpl.java | 26 +++++++++------------- 4 files changed, 45 insertions(+), 16 deletions(-) diff --git a/hzims-service-api/inspect-api/src/main/java/com/hnac/hzinfo/inspect/ai/vo/ClockInResponseDTO.java b/hzims-service-api/inspect-api/src/main/java/com/hnac/hzinfo/inspect/ai/vo/ClockInResponseDTO.java index 204e17d..9d8e758 100644 --- a/hzims-service-api/inspect-api/src/main/java/com/hnac/hzinfo/inspect/ai/vo/ClockInResponseDTO.java +++ b/hzims-service-api/inspect-api/src/main/java/com/hnac/hzinfo/inspect/ai/vo/ClockInResponseDTO.java @@ -2,6 +2,7 @@ package com.hnac.hzinfo.inspect.ai.vo; import com.hnac.hzinfo.inspect.task.entity.ClockInEntity; import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; @@ -16,4 +17,12 @@ public class ClockInResponseDTO extends ClockInEntity { private static final long serialVersionUID = 8445346022067680992L; + @ApiModelProperty(value = "打卡人名称") + private String clockPersonName; + + @ApiModelProperty(value = "巡检任务名称") + private String taskName; + + @ApiModelProperty(value = "巡检对象名称") + private String objectName; } \ No newline at end of file diff --git a/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/mapper/ClockInMapper.java b/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/mapper/ClockInMapper.java index fa5dbb1..b06d541 100644 --- a/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/mapper/ClockInMapper.java +++ b/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/mapper/ClockInMapper.java @@ -16,5 +16,8 @@ import org.apache.ibatis.annotations.Param; @Mapper public interface ClockInMapper extends BaseMapper { + IPage pageCondition(@Param("param") ClockInRequestDTO param, IPage page); + IPage statistics(@Param("param") ClockInRequestDTO param, IPage page); + } \ No newline at end of file diff --git a/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/mapper/ClockInMapper.xml b/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/mapper/ClockInMapper.xml index a864e37..e2878ae 100644 --- a/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/mapper/ClockInMapper.xml +++ b/hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/task/mapper/ClockInMapper.xml @@ -2,6 +2,29 @@ + + +