From a85061927dd835b0b6a2f4a7ef705b78588d4f61 Mon Sep 17 00:00:00 2001 From: "382696293@qq.com" <382696293@qq.com> Date: Fri, 23 Feb 2024 15:13:40 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=BB=AA=E5=99=A8=E5=85=B3?= =?UTF-8?q?=E8=81=94=E5=8E=BB=E9=99=A4=E4=BB=AA=E5=99=A8=E5=90=8D=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=86=97=E4=BD=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/domain/entity/WxUserInstrument.java | 21 +------------------ .../mapper/WxUserInstrumentMapper.xml | 7 +------ .../service/impl/WxInstrumentServiceImpl.java | 5 ++--- .../impl/WxUserInstrumentServiceImpl.java | 14 +++++++------ .../service/impl/WxUserMemberServiceImpl.java | 14 ++++++++++++- 5 files changed, 25 insertions(+), 36 deletions(-) diff --git a/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/domain/entity/WxUserInstrument.java b/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/domain/entity/WxUserInstrument.java index 2d31db2..c2d7197 100644 --- a/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/domain/entity/WxUserInstrument.java +++ b/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/domain/entity/WxUserInstrument.java @@ -316,24 +316,5 @@ public class WxUserInstrument extends BaseEntity this.queryString = queryString; } - @Override - public String toString() { - return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) - .append("id", getId()) - .append("userId", getUserId()) - .append("serial", getSerial()) - .append("instrumentId", getInstrumentId()) - .append("instrumentName", getInstrumentName()) - .append("serialImage", getSerialImage()) - .append("guarantee", getGuarantee()) - .append("guaranteeEndtime", getGuaranteeEndtime()) - .append("bindingStatus", getBindingStatus()) - .append("status", getStatus()) - .append("createBy", getCreateBy()) - .append("createTime", getCreateTime()) - .append("updateBy", getUpdateBy()) - .append("updateTime", getUpdateTime()) - .append("remark", getRemark()) - .toString(); - } + } diff --git a/flossom-common/flossom-common-core/src/main/resources/mapper/WxUserInstrumentMapper.xml b/flossom-common/flossom-common-core/src/main/resources/mapper/WxUserInstrumentMapper.xml index a3ec75a..1ac9443 100644 --- a/flossom-common/flossom-common-core/src/main/resources/mapper/WxUserInstrumentMapper.xml +++ b/flossom-common/flossom-common-core/src/main/resources/mapper/WxUserInstrumentMapper.xml @@ -9,7 +9,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - @@ -23,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - select id, user_id, serial, instrument_id, instrument_name, serial_image, guarantee, guarantee_endtime, binding_status, status, create_by, create_time, update_by, update_time, remark from wx_user_instrument + select id, user_id, serial, instrument_id, serial_image, guarantee, guarantee_endtime, binding_status, status, create_by, create_time, update_by, update_time, remark from wx_user_instrument