diff --git a/ruoyi-admin/src/main/resources/templates/trx2Energy/tenant/add.html b/ruoyi-admin/src/main/resources/templates/trx2Energy/tenant/add.html index c42b4d10e..37f9219ec 100644 --- a/ruoyi-admin/src/main/resources/templates/trx2Energy/tenant/add.html +++ b/ruoyi-admin/src/main/resources/templates/trx2Energy/tenant/add.html @@ -68,6 +68,13 @@ +
+ +
+ +
+
+ diff --git a/ruoyi-admin/src/main/resources/templates/trx2Energy/tenant/edit.html b/ruoyi-admin/src/main/resources/templates/trx2Energy/tenant/edit.html index f4894db41..a2bc6b89e 100644 --- a/ruoyi-admin/src/main/resources/templates/trx2Energy/tenant/edit.html +++ b/ruoyi-admin/src/main/resources/templates/trx2Energy/tenant/edit.html @@ -67,6 +67,13 @@ +
+ +
+ +
+
+ diff --git a/ruoyi-admin/src/main/resources/templates/trx2Energy/tenant/tenant.html b/ruoyi-admin/src/main/resources/templates/trx2Energy/tenant/tenant.html index b3af4d0b8..5085d7ae9 100644 --- a/ruoyi-admin/src/main/resources/templates/trx2Energy/tenant/tenant.html +++ b/ruoyi-admin/src/main/resources/templates/trx2Energy/tenant/tenant.html @@ -188,6 +188,9 @@ formatter: function(value, row, index) { return $.table.selectDictLabel(calcRuleDatas, value); } + }, { + field: 'remark', + title: '备注' }, { field: 'fcd', diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/TenantInfo.java b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/TenantInfo.java index 497208387..932ee7f0e 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/TenantInfo.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/TenantInfo.java @@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; import lombok.Data; +import lombok.EqualsAndHashCode; import java.util.Date; @@ -14,6 +15,7 @@ import java.util.Date; * @date 2024-04-14 */ @Data +@EqualsAndHashCode(callSuper = true) public class TenantInfo extends BaseEntity { private static final long serialVersionUID = 1L; diff --git a/ruoyi-system/src/main/resources/mapper/account/TenantInfoMapper.xml b/ruoyi-system/src/main/resources/mapper/account/TenantInfoMapper.xml index 476021403..b4b473b97 100644 --- a/ruoyi-system/src/main/resources/mapper/account/TenantInfoMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/account/TenantInfoMapper.xml @@ -21,6 +21,7 @@ + @@ -28,7 +29,7 @@ - select id_tenant_info, receiver_address, monitor_address, energy_busi_type,price, transfer_count, exchange_unit, tx_id, exchange_amount, is_paid, period, t.user_id, t.status, delegated_days, total_count_used, calc_rule, fcd, fcu, lcd, lcu from tenant_info t + select id_tenant_info, receiver_address, monitor_address, energy_busi_type,price, transfer_count, exchange_unit, tx_id, exchange_amount, is_paid, period, t.user_id, t.status, delegated_days, total_count_used, calc_rule, t.remark,fcd, fcu, lcd, lcu from tenant_info t