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 @@ + + +