From 9068efe724da8faed9387615c6c8f425767bac97 Mon Sep 17 00:00:00 2001
From: "382696293@qq.com" <382696293@qq.com>
Date: Fri, 23 Feb 2024 14:37:56 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BB=AA=E5=99=A8=E5=BA=8F=E5=88=97=E5=8F=B7?=
=?UTF-8?q?=E5=85=B3=E8=81=94=E5=8E=BB=E9=99=A4=E4=BB=AA=E5=99=A8=E5=90=8D?=
=?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=86=97=E4=BD=99?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../domain/entity/WxInstrumentSerial.java | 22 +++----------------
.../mapper/WxInstrumentSerialMapper.xml | 8 +------
.../impl/WxInstrumentSerialServiceImpl.java | 17 ++++++++++----
.../impl/WxUserInstrumentServiceImpl.java | 5 ++++-
4 files changed, 21 insertions(+), 31 deletions(-)
diff --git a/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/domain/entity/WxInstrumentSerial.java b/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/domain/entity/WxInstrumentSerial.java
index 6206a2a..14bad3b 100644
--- a/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/domain/entity/WxInstrumentSerial.java
+++ b/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/domain/entity/WxInstrumentSerial.java
@@ -25,10 +25,6 @@ public class WxInstrumentSerial extends BaseEntity
@Excel(name = "仪器id")
private Long instrumentId;
- /** 仪器名称 */
- @Excel(name = "仪器名称")
- private String instrumentName;
-
/** 来源 */
@Excel(name = "来源")
private String source;
@@ -55,6 +51,9 @@ public class WxInstrumentSerial extends BaseEntity
private String queryInstrumentIds;
+ /** 仪器名称 */
+ private String instrumentName;
+
/**
* 自定导出字段
*/
@@ -166,19 +165,4 @@ public class WxInstrumentSerial extends BaseEntity
this.instrumentSerialIdList = instrumentSerialIdList;
}
- @Override
- public String toString() {
- return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
- .append("id", getId())
- .append("instrumentId", getInstrumentId())
- .append("instrumentName", getInstrumentName())
- .append("serial", getSerial())
- .append("bindingStatus", getBindingStatus())
- .append("validStatus", getValidStatus())
- .append("status", getStatus())
- .append("createBy", getCreateBy())
- .append("createTime", getCreateTime())
- .append("remark", getRemark())
- .toString();
- }
}
diff --git a/flossom-common/flossom-common-core/src/main/resources/mapper/WxInstrumentSerialMapper.xml b/flossom-common/flossom-common-core/src/main/resources/mapper/WxInstrumentSerialMapper.xml
index 7d39cf5..7f27e46 100644
--- a/flossom-common/flossom-common-core/src/main/resources/mapper/WxInstrumentSerialMapper.xml
+++ b/flossom-common/flossom-common-core/src/main/resources/mapper/WxInstrumentSerialMapper.xml
@@ -7,7 +7,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
-
@@ -19,14 +18,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
- select id, source,instrument_id, instrument_name, serial, binding_status, valid_status, status, create_by, create_time, remark from wx_instrument_serial
+ select id, source,instrument_id, serial, binding_status, valid_status, status, create_by, create_time, remark from wx_instrument_serial