From 8862f60ea38898163e9693ce389132b69be28ba3 Mon Sep 17 00:00:00 2001 From: zhouhy Date: Wed, 27 Dec 2023 14:07:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=83=BD=E6=BA=90=E7=AE=A1=E7=90=86=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E5=90=8E=E7=AB=AF2.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hw-modules/hw-ems/pom.xml | 4 ++++ .../java/com/hw/ems/base/mapper/BaseLineLossMapper.java | 4 +++- .../com/hw/ems/base/service/IBaseLineLossService.java | 4 +++- .../java/com/hw/ems/record/domain/RecordAlarmData.java | 9 ++++----- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/hw-modules/hw-ems/pom.xml b/hw-modules/hw-ems/pom.xml index 3c39ceb..ecc6e08 100644 --- a/hw-modules/hw-ems/pom.xml +++ b/hw-modules/hw-ems/pom.xml @@ -77,6 +77,10 @@ com.hw hw-common-swagger + + com.hw + hw-api-tdengine + diff --git a/hw-modules/hw-ems/src/main/java/com/hw/ems/base/mapper/BaseLineLossMapper.java b/hw-modules/hw-ems/src/main/java/com/hw/ems/base/mapper/BaseLineLossMapper.java index 7a5be54..7b847ba 100644 --- a/hw-modules/hw-ems/src/main/java/com/hw/ems/base/mapper/BaseLineLossMapper.java +++ b/hw-modules/hw-ems/src/main/java/com/hw/ems/base/mapper/BaseLineLossMapper.java @@ -7,7 +7,7 @@ import org.apache.ibatis.annotations.Mapper; /** * 线损对象信息Mapper接口 * - * @author hw + * @author sf * @date 2023-04-20 */ @Mapper @@ -29,6 +29,8 @@ public interface BaseLineLossMapper */ public List selectBaseLineLossList(BaseLineLoss baseLineLoss); + //todo 模糊查询 + List selectBaseLineLossListLike(BaseLineLoss baseLineLoss); /** * 新增线损对象信息 * diff --git a/hw-modules/hw-ems/src/main/java/com/hw/ems/base/service/IBaseLineLossService.java b/hw-modules/hw-ems/src/main/java/com/hw/ems/base/service/IBaseLineLossService.java index 8b17058..fc5082f 100644 --- a/hw-modules/hw-ems/src/main/java/com/hw/ems/base/service/IBaseLineLossService.java +++ b/hw-modules/hw-ems/src/main/java/com/hw/ems/base/service/IBaseLineLossService.java @@ -7,7 +7,7 @@ import com.hw.ems.base.domain.BaseLineLoss; /** * 线损对象信息Service接口 * - * @author hw + * @author sf * @date 2023-04-20 */ public interface IBaseLineLossService { @@ -27,6 +27,8 @@ public interface IBaseLineLossService { */ public List selectBaseLineLossList(BaseLineLoss baseLineLoss); + //todo 模糊查询 + List selectBaseLineLossListLike(BaseLineLoss baseLineLoss); /** * 新增线损对象信息 * diff --git a/hw-modules/hw-ems/src/main/java/com/hw/ems/record/domain/RecordAlarmData.java b/hw-modules/hw-ems/src/main/java/com/hw/ems/record/domain/RecordAlarmData.java index 4744da4..ae3989b 100644 --- a/hw-modules/hw-ems/src/main/java/com/hw/ems/record/domain/RecordAlarmData.java +++ b/hw-modules/hw-ems/src/main/java/com/hw/ems/record/domain/RecordAlarmData.java @@ -1,17 +1,16 @@ package com.hw.ems.record.domain; +import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; -import com.hw.common.core.annotation.Excel; -import com.hw.common.core.web.domain.BaseEntity; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; - -import java.util.Date; +import com.hw.common.core.annotation.Excel; +import com.hw.common.core.web.domain.BaseEntity; /** * 异常数据记录对象 record_alarm_data * - * @author hw + * @author sf * @date 2023-04-21 */ public class RecordAlarmData extends BaseEntity